Squid3 transparent on Debian
Micro HowTo configure a Squid3 transparent on
Debian Systems
I'm assuming
- 192.168.1.0/24 is you network your requests are comming
from.
- your squid will have to listen on 192.168.1.1:3128.
Then you'll have to "add to"/"edit in" the following Files:
- /var/lib/iptables/active:
*nat
:PREROUTING ACCEPT
:POSTROUTING ACCEPT
:OUTPUT ACCEPT
COMMIT
*filter
:INPUT ACCEPT
:FORWARD ACCEPT
:OUTPUT ACCEPT
COMMIT
- /etc/squid3/squid.conf:
http_port 192.168.1.1:3128 transparent
- /etc/sysctl.conf:
net.ipv4.conf.default.forwarding=1
|