iptables help

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

$IPTABLES -t nat -A PREROUTING -s -p tcp --dport 80 -j DNAT --to

to test my intended rule:

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

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 :-)

Reply to
John Oliver
Loading thread data ...

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.