<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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">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?<br><br>hey,</blockquote>
<div> </div>
<div> </div>
<div>Thanks for the point. I had given this entry in the iptables before eliminating this entry with the entry below</div>
<div> </div>
<div>iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 5678<br> </div>
<div> </div>
<div>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.</div>
<div> </div>iptables -A PREROUTING -t nat -s <a href="http://10.1.1.0/24">10.1.1.0/24</a> -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128<br> </div>
<div> </div>
<div>Thanks & Regards</div>
<div> </div>
<div>Ankush Grover</div>