TEXT   32
Squid transparent proxy
Guest on 25th May 2023 01:04:14 AM


  1. Squid (>=v2.6): transparent proxy
  2. /etc/squid/squid.conf:
  3. first directive becomes:    http_port 3128 transparent
  4. iptables rule added:
  5.         iptables -t nat -A PREROUTING -i eth0 [ -d \! 10.0.0.1 ] -p tcp --dport 80 -j REDIRECT --to-port 3128

Raw Paste

Login or Register to edit or fork this paste. It's free.