iptables + squid Problem
"Omar Garcia" <[email protected]> Fri, 10 Sep 2004 15:10:35 +0200
| Newsgroups | gmane.linux.suse.proxy-suite |
|---|---|
| Message-ID | <00b101c49737$8f3c0f90$910010ac@coco> |
------=_NextPart_000_00AE_01C49748.52B1CCC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi people, I have a big problem with my Suse 9.1.=20 I am trying to configure an iptables rule to redirect all the outgoing = traffic from my computer to http port to a local proxy in the same = computer. So, i have only one interface (eth0) and a squid server installed and = listening in port 3100. I ONLY want that all traffic from MY computer = were be redirected to MY squid server BUY without reconfugure konqueror = options.=20 I have tested this option in Suse 9.0 and other linux with this rule: # iptables -F # iptables -t nat -F # iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-ports = 3100 Why it goes well in Suse 9.0 and other version of Linux and in Suse 9.1 = not. Is a bug? And , i have executed # iptables -t nat -nvL and it seem that no traffic = go through OUTPUT chain. Why????? Thanks. Regards. ------=_NextPart_000_00AE_01C49748.52B1CCC0--