Re: [squid-users] Squid box for two networks

2017-07-21 Thread Pablo Ruben Maldonado
Thanks to all for your help. Eliezer, certainly that can use my graph. I could confirm that my problem is in rules mark connection and mark packet that i use to stop the big downloads across the port 80. But this it is my problem. Even I have it pending. On Thu, Jul 20, 2017 at 5:13 PM, joseph

Re: [squid-users] Squid as gateway

2017-07-21 Thread Amos Jeffries
On 22/07/17 02:18, erdosain9 wrote: Hi, and thanks The ROUTERWIFI is a TpLink TL-WR940N i dont see in this router any Nat option :-( Ah. Home router. These devices usually have things vastly simplified so they don't get screwed up by non-technical users. If you have been using what the

Re: [squid-users] Squid as gateway

2017-07-21 Thread Eliezer Croitoru
Hey, Let's split the scenario into two different issues. - interception - routing Since the squidbox is a router you need to first enable it to be a router and also to do NAT for DNS and other services to work. Means that the MASQUARADE rule is fine but you should limit it only to the specific

Re: [squid-users] Squid as gateway

2017-07-21 Thread Amos Jeffries
On 22/07/17 02:18, erdosain9 wrote: Hi, and thanks The ROUTERWIFI is a TpLink TL-WR940N i dont see in this router any Nat option :-( This is the router table of the SquidBox Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 0.0.0.0

Re: [squid-users] Squid as gateway

2017-07-21 Thread erdosain9
Hi, and thanks The ROUTERWIFI is a TpLink TL-WR940N i dont see in this router any Nat option :-( This is the router table of the SquidBox Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 0.0.0.0 10.1.158.1 0.0.0.0 UG

Re: [squid-users] Squid as gateway

2017-07-21 Thread Amos Jeffries
On 21/07/17 07:07, erdosain9 wrote: Hi, and thank you all. Well this is the diagram. INTERNET + + FIREWALL (10.1.158.1/24) + + + SQUID (2 interfaces) 10.1.158.2/24 192.168.1.20/24 This machine called SQUID need to be configured as a router. You mentioned th

Re: [squid-users] Squid as gateway

2017-07-21 Thread Eliezer Croitoru
Hey, What you describe is possible... and is recommended for many scenarios. You just need to take into account that what you would want is to make sure your have a static route from the squid machine to the WIFI network via the WIFI Router. Also you should use NAT(source nat \ masquerade) on th