[squid-users] Ubiquiti: Anyone interested in instructions how to route traffic to a squid box?
eliezer at ngtech.co.il
Mon Nov 21 10:26:21 UTC 2016
I have the main idea on to implement it but just need my testing lab up and running.
The first place to start would be:
Which for me that have some experience with vyatta and vyos makes sense.
We need two things:
- exception rules space(override or even just for the proxy)
- rules for out-bound\outgoing traffic redirection
- rules for in-bound\incomming traffic redirection
1. We need all traffic from lan with destination ports 80 to be routed towards the proxy.
2. We need all traffic from wan with source ports 80 to be routed towards the proxy.
The same thing can be done for other ports such as 53 or 443.
For each scenario you might need to add exceptions like for local traffic which should not be routed towards the proxy.
I will try to sit on it tomorrow on my free time.
Couple more examples on PBR:
And just as a reference couple VYOS PBR links:
Linux System Administrator
Email: eliezer at ngtech.co.il
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Marcus Kool
Sent: Sunday, November 20, 2016 22:00
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Ubiquiti: Anyone interested in instructions how to route traffic to a squid box?
Is it an EdgeRouter ?
I am interested since Ubiquiti has poor documentation.
On 11/20/2016 05:31 PM, Eliezer Croitoru wrote:
> I have a tiny Ubiquiti edge router here and I can publish the rules
> for routing ports 80 and 443 and 53 into the squid\dns box.
> Any interest in such a guide in the wiki?
> Eliezer Croitoru <http://ngtech.co.il/lmgtfy/> Linux System
> Mobile: +972-5-28704261
> Email: eliezer at ngtech.co.il
> squid-users mailing list
> squid-users at lists.squid-cache.org
squid-users mailing list
squid-users at lists.squid-cache.org
More information about the squid-users