Re: [squid-users] SOLUTION: iptables and transparent proxy squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 16 Apr 2004 10:31:08 +0200 (CEST)

On Thu, 15 Apr 2004, Ariel Molina Rueda wrote:

> # ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port
> 80 -j redirect --redirect-target ACCEPT
>
> // Tell iptables to redirect the packages going to 80, to its own port 3128
> # iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port
> 3128

You better exlude your own networks there in case you have local web
servers in the same lan segment..

Regards
Henrik
Received on Fri Apr 16 2004 - 02:31:18 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT