Re: squid problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- varun_saa@xxxxxxxx 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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux