Why not run squid on port 80 and httpd on 3128?  I don't see the need for
routing.

On 11/6/06, John Oliver <[EMAIL PROTECTED]> wrote:

I want to redirect all outgoing HTTP traffic to a Squid proxy.  I tried:

$IPTABLES -t nat -A PREROUTING -s 192.168.2.192 -p tcp --dport 80 -j
DNAT --to 192.168.2.231:3128

to test my intended rule:

$IPTABLES -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to
192.168.2.231:3128

However, it doesn't work... I can no longer access web pages at all, and
Squid isn't seeing my requests at all.  iptables -L doesn't show
anything that has to do with the new rule.  So, I botched something, but
aren't sure what :-)

--
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to