On Tue, 18 Sep 2001, Daniel Chojecki wrote:
> Is it posible to redirect all traffic comming for 0.0/0 80 to local
> squid proxy using ipchains and ipmasqadm.
Using ipchains - yes. I'm not sure for ipmasqadm (I've never used it)
I'm using those lines for that. Of course, you have to enable 'IP
Transparent Proxy' in your kernel.
ipchains -A input -p TCP -d YOUR_IP/32 www -j ACCEPT (in case you have
your own web server)
ipchains -A input -p TCP -d 0/0 www -j REDIRECT 8080
> Conf:
> 2.2.19
> ipchains
It works for me: 2.2.18 & ipchains 1.3.9, 17-Mar-1999
Greetings