OpenVPN_Management_GUI/Admin/Modules/Squid/startsquid

6 lines
239 B
Plaintext
Raw Normal View History

2012-07-16 21:30:19 +02:00
/home/christoph/stopsquid
#iptables -t nat -A PREROUTING -i tap0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
#iptables -t nat -A PREROUTING -i tap0 -p tcp --dport 443 -j REDIRECT --to-ports 3128
squid -D -YC -f /etc/squid3/squid.conf