content top

Share my squid.conf

cache_peer jp.kiyor.me parent 45678 45678 no-query acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 acl myrule src all acl ads dstdom_regex “/etc/squid/ad_block.txt” acl custom_ads url_regex “/etc/squid/custom_ad.txt” acl no_local dstdomain .jp acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918...

Read More

Force local user use proxy

Setup local squid.conf like http_port 45678 transparent ssh to your DD-WRT router iptables -I FORWARD -p tcp -d 192.168.1.2 –dport 45678 -j ACCEPT After accept local server forward make a script like ensquid.sh #!/bin/sh iptables -t nat -I PREROUTING -p tcp -s $1 –dport 80 -j DNAT –to 192.168.1.2:45678 chmod u+x ensquid.sh ./ensquid.sh 192.168.1.x Why I do that: Sucker game console not support use proxy everywhere Like...

Read More
content top