If I configure browsers with 10.0.0.2:3128 proxy, works fine, and also works fine if I configure squid as Mikrotik parent proxy with the nat redirect 80->8080.
But I want use squid without Mikrotik proxy, and I have:
"18 chain=dstnat action=dst-nat to-addresses=10.0.0.2 to-ports=3128 protocol=tcp dst-port=80 "
but don’t work by timeout. Is another configuration needed for alone squid use?
Thanks
http://wiki.mikrotik.com/wiki/Hairpin_NAT
Same issue as in that wiki article: squid is sending traffic back directly to the client, which doesn’t know what the hell is going on. Either move the squid box to a separate subnet, or add src-nat as discussed in the article.
I’ts a x86 with 5.5 version (dual core and 2Gb), and kvm squid inside (for few users)
I read http://wiki.mikrotik.com/wiki/Hairpin_NAT and I understand the problem. Sounds simple, but still did not get to adapt the proposed solution to my problem and I have still timeout. I’m on it …I will comment later if I could fix it…
But nothing… timeout . Althoug i see increment in packets in both rules when I try to navegate.
I try a lot of options, but I think that the correct one is this.
@Jeanluck - Just want to ask you about the performance of this setup. I setup the same scenenario on my network but i get slow pages loading and the squid proxy always takes to much to receive the request for a new site.