[squid-users] Squid 4.8+ intercept

ngtech1ltd at gmail.com ngtech1ltd at gmail.com
Sat Aug 13 17:57:57 UTC 2022


Hey K,
 
What RouterOS version are you using?
Also, what rules have you applied?
If there is a very long delay and then a failure you should verify that the rules you wrote are proper to your environment.
You should route packets based on connection marks and mark only new connections from LAN IP addresses and only on the LAN interface.
As I showed in the demo video it’s very simple to implement.
 
Let me know if you are still having issues.
 
Eliezer
 
----
Eliezer Croitoru
NgTech, Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com <mailto:ngtech1ltd at gmail.com> 
Web: https://ngtech.co.il/
My-Tube: https://tube.ngtech.co.il/
 
From: M K <mohammed.khallaf at gmail.com> 
Sent: Saturday, 13 August 2022 10:59
To: ngtech1ltd at gmail.com
Cc: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Squid 4.8+ intercept
 
Thank  you for your quick reply. The text-drawing actually changed with different font; the squid server is effectively connected to MikroTik router, not the same physical link as the client.
 
The MikroTik router sits between the client and squid server.
 
That said, I can confirm that the MikroTik router is effectively able to route/DNat client packets going to ports 80 and 443 to squid server. Depending on router rules be it route or dnat, the client browser effectively displays the error page of squid, or goes into a very long delay then failure.
 
I will retry and let you know.
 
K
On Wed, Aug 10, 2022, 10:08 <ngtech1ltd at gmail.com <mailto:ngtech1ltd at gmail.com> > wrote:
Hey K,
 
I am not sure about the network topology.
Preferably the Squid should reside on another network then the clients if it’s intercepting the traffic.
Also, I assume it’s not a TPROXY setup so it should be pretty simple and straight forward.
 
I understand why are you asking this question.
Also take into account that Mikrotik is now on 7.4 firmware and it’s recommended to use this one.
If you are using any other version let me know so I can try to make sense on the differences.
I will try to give a DEMO for such a setup and how to make it work.
 
Eliezer
 
----
Eliezer Croitoru
NgTech, Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com <mailto:ngtech1ltd at gmail.com> 
Web: https://ngtech.co.il/
My-Tube: https://tube.ngtech.co.il/
 
From: squid-users <squid-users-bounces at lists.squid-cache.org <mailto:squid-users-bounces at lists.squid-cache.org> > On Behalf Of M K
Sent: Tuesday, 9 August 2022 22:29
To: squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 
Subject: [squid-users] Squid 4.8+ intercept
 
Hello,
 
I have a setup like this one:

| Client | =====> | Router | =====> Internet
                     ||
                     \/
                  | Squid |
 
...the router is a Mikrotik router capable of all things NAT/Redirect and whatnot. Squid server has only one network interface.
Using the router:
- I tried routing traffic to squid server IP.
- I tried destination-NATing from client to server IP, with origin server IP-and-port natted to squid IP-and-port, and with origin server IP-only natted to squid-IP.
 
I have been struggling for 2 days to setup a working Squid 4.8 or higher interception.
Test server is running Ubuntu 18.4.3 and Squid 4.8.
Documentation is either too much trim or extremely outdated.
Any help would be very much appreciated.
 
All best,
K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220813/54a6cf99/attachment-0001.htm>


More information about the squid-users mailing list