Re: [CentOS] Unable to configure squid transparent proxy on Centos4.0

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




> Any pointers what can be the problem ?
The only difference i can see with my configuration is

iptables -A PREROUTING -t nat -s 10.1.1.0/24 -i eth1 -p tcp --dport 80
-j REDIRECT --to-port 3128
as you can see i have the -s option enabled, i just wonder if you are
creating a loop and making squid to go back to himself when "he" wants
to go for the webpage?

hey,
 
 
Thanks for the point. I had given this entry in the iptables before eliminating this entry with the entry below
 
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 5678
 
 
only difference I can see in your command is PREROUTING is coming before nat. I will try the below and let you know the results.
 
iptables -A PREROUTING -t nat -s 10.1.1.0/24 -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
 
 
Thanks & Regards
 
Ankush Grover
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux