In terms of Mikrotik this can help you: http://wiki.bluecrow.net/index.php/Mikrotik_Connection_Tracking http://wiki.mikrotik.com/wiki/PBR_PTP_IPIP (needs a bit tweak to work as you expect). Eliezer ---- Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: eliezer@xxxxxxxxxxxx -----Original Message----- From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of mr ghorbani Sent: Monday, January 2, 2017 8:16 PM To: squid-users@xxxxxxxxxxxxxxxxxxxxx Subject: squid tproxy connection time out hello masters I have a problem on the squid in tproxy mode and it is that squid return Error "110 connection the timeout." for all Requests on port 3129, which is related to tproxy Of course, by eliminating the code ip route add local 0.0.0.0/0 dev lo table 100 Problem solved, but in this case, Squid does not record any activity log. i had attached the network topology. In this network, 185.12.32.1 is gw for both of the client and squid. it is set to That route the client communication to the squid and then, squid connect it to the internet by using this gw and also redirect port 80 to 3129 and tproxy to cache the data. The gw is connected to the Internet and also it is the bgp for these IP addresses. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users