<br><br><div><span class="gmail_quote">On 7/22/06, <b class="gmail_sendername">ankush grover</b> <<a href="mailto:ankushcentos@gmail.com">ankushcentos@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"></blockquote></div><div><span class="q"><br>> Any pointers what can be the problem ?<br>
The only difference i can see with my configuration is<br>
<br>iptables -A PREROUTING -t nat -s <a href="http://10.1.1.0/24" title="http://10.1.1.0/24" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.1.1.0/24</a> -i eth1 -p tcp --dport 80<br>-j REDIRECT --to-port 3128
<br>as you can see i have the -s option enabled, i just wonder if you are<br>creating a loop and making squid to go back to himself when "he" wants
<br>to go for the webpage?</span></div></div></blockquote><div><br>hey,<br> <br>I change the settings for iptables  below is the iptables entry<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
iptables -A PREROUTING -t nat -s <a href="http://192.168.2.0/24">192.168.2.0/24</a> -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 5678<br></blockquote></div><br><br>But still I am not able to access Internet from the <a href="http://192.168.3.0/24">
192.168.3.0/24</a> network.  Some of the logs of iptables connection ( /proc/net/ip_connectrack)<br><br>udp      17 27 src=<a href="http://192.168.2.83">192.168.2.83</a> dst=<a href="http://202.54.15.30">202.54.15.30</a> sport=32835 dport=53 packets=2 bytes=148 [UNREPLIED] src=
<a href="http://202.54.15.30">202.54.15.30</a> dst=<a href="http://192.168.2.83">192.168.2.83</a> sport=53 dport=32835 packets=0 bytes=0 use=1<br>tcp      6 431964 ESTABLISHED src=<a href="http://192.168.2.83">192.168.2.83
</a> dst=<a href="http://192.168.1.125">192.168.1.125</a> sport=32794 dport=22 packets=1110 bytes=73521 src=<a href="http://192.168.1.125">192.168.1.125</a> dst=<a href="http://192.168.2.83">192.168.2.83</a> sport=22 dport=32794 packets=940 bytes=262374 [ASSURED] use=1
<br><br>Machines Configuration are below<br><br>Centos4.0 <br>   eth0:   <a title="http://192.168.1.125/24 (http://192.168.1.125/24)" href="http://192.168.1.125/24" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.125/24</a><br>   eth1:   <a title="http://192.168.2.126/24 (http://192.168.2.126/24)" href="http://192.168.2.126/24" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.2.126/24</a><br><br>Debian:<br>   eth0:  <a title="http://192.168.2.83/24 (http://192.168.2.83/24)" href="http://192.168.2.83/24" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.2.83/24
</a>  gateway: <a title="http://192.168.2.126/24 (http://192.168.2.126/24)" href="http://192.168.2.126/24" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.2.126/24</a> (eth1 of Centos)<br><br>I am still not able to guess which transparent proxy is not working.<br><br>Any other pointers?<br><br>Thanks & Regards<br><br>Ankush Grover<br>