squid problem
Sergio Basurto Juarez
sbasurtoj at yahoo.com
Wed Feb 9 17:35:51 CET 2005
--- varun_saa at vsnl.net wrote:
> Hello,
> My iptables config file is as follows :
>
> # Generated by iptables-save v1.2.9 on Fri Jan 7
> 20:56:35 2000
> *nat
> :OUTPUT ACCEPT [0:0]
> :PREROUTING ACCEPT [0:0]
[snip]
I did not read all the rules that you have but the one
that redirects your traffic from port 80 to 3128 is as
follows:
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.
Reagrds.
=====
--
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.
http://info.mail.yahoo.com/mail_250
More information about the netfilter
mailing list