You need to have at least two network interfaces. We call them eth0 and eth1.
Accept connection from inside (eth1) and forward them to (eth0)We accept to forward all already established connectionMasquerading (substitute the local source ip address to the public address)Force all connection to HTTP (80) to go to 8080, where Squid can handle the requestIf you need an IP to bypass Squid :
|
Tuesday, March 11, 2014
IPTables configuration for Transparent Proxy
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment