Search squid archive

Re: Sos transparent proxy problem

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

 



On Wed, 2006-02-22 at 15:30 +0500, Muhammad Bilal Ahmad wrote:
> Dear all

[...] 

> touch /var/lock/subsys/local
> 
> ulimit -n 8192
> 
> echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> iptables -t nat -A POSTROUTING -p tcp -j MASQUERADE
> 
> iptables -t nat -A PREROUTING  -p tcp --dport 80 -i eth0 -j DNAT --to
> 192.168.0.29:3128
> 
> iptables -t nat -A POSTROUTING -p udp -j MASQUERADE

[...]

Your iptables rules are wrong, especially the DNAT one. Please check the
FAQ at
http://squidwiki.kinkie.it/SquidFaq/InterceptionProxy#head-e59e8be8079565bbfac3f978111ea65b48840ef9

	Kinkie

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux