Sergio Basurto Juarez
sbasurtoj at yahoo.com
Wed Feb 9 17:35:51 CET 2005
--- varun_saa at vsnl.net wrote:
> My iptables config file is as follows :
> # Generated by iptables-save v1.2.9 on Fri Jan 7
> 20:56:35 2000
> :OUTPUT ACCEPT [0:0]
> :PREROUTING ACCEPT [0:0]
I did not read all the rules that you have but the one
that redirects your traffic from port 80 to 3128 is as
iptables -t nat -A PREROUTING -i [internal interface]
-p tcp --dport 80 -j REDIRECT --to-port 3128
Also read the mini-HOWTO of transparent
proxy(tldp.org) because if you insert this rule but
don't change the configuration of squid it wont work.
Sergio Basurto J.
If I have seen further it is by standing on the
shoulders of giants. (Isaac Newton)
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
More information about the netfilter