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
9 Sent: Friday, July 21, 2017 17:19 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Squid as gateway 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 Destinat

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
: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of erdosain9 Sent: Thursday, July 20, 2017 22:08 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Squid as gateway Hi, and thank

Re: [squid-users] Squid as gateway

2017-07-20 Thread joseph
>> ROUTERWIFI( WANstatic ip 192.168.1.40/24 gw 192.168.1.20) LAN 192.168.0.1/24) is it mikrotik or other specify pls -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-as-gateway-tp4683022p4683194.html Sent from the Squid - Users mailing list archive

Re: [squid-users] Squid as gateway

2017-07-20 Thread erdosain9
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 + + + ROUTERWIFI( WANstatic ip 192.168.1.40/24 gw 192.168.1.20) LAN 192.168.0.1/24) squid config: acl red1 src 19

Re: [squid-users] Squid as gateway

2017-07-12 Thread Amos Jeffries
On 12/07/17 04:20, Rafael Akchurin wrote: May be this will be of any help - https://docs.diladele.com/tutorials/transparent_proxy_ubuntu/index.html erdosain9: the above should be what you need. If not, then you may still be distracted by thinking that Squid has any relevance to the "gatewa

Re: [squid-users] Squid as gateway

2017-07-12 Thread Eliezer Croitoru
nux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of erdosain9 Sent: Tuesday, July 11, 2017 16:35 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Squid

Re: [squid-users] Squid as gateway

2017-07-11 Thread Rafael Akchurin
-cache.org Subject: Re: [squid-users] Squid as gateway Ok Yuri, im re re re reading... :-) And probe another configs, like this http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect and nothing, i dont get where i fail. Squid, it is config in interception mode. cache.log 2017/07/11

Re: [squid-users] Squid as gateway

2017-07-11 Thread erdosain9
Ok Yuri, im re re re reading... :-) And probe another configs, like this http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect and nothing, i dont get where i fail. Squid, it is config in interception mode. cache.log 2017/07/11 14:15:43 kid1| Accepting HTTP Socket connections

Re: [squid-users] Squid as gateway

2017-07-11 Thread Yuri
Squid should be configured and built with interception support. Re-read more carefully. 11.07.2017 21:26, erdosain9 пишет: > Thanks > Yes, im looking the wiki and follow this > http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat > > And, it is not working. Nothing it is going to squid.

Re: [squid-users] Squid as gateway

2017-07-11 Thread erdosain9
Thanks Yes, im looking the wiki and follow this http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat And, it is not working. Nothing it is going to squid. I can go to internet because # Controls IP packet forwarding net.ipv4.ip_forward = 1 but, nothing throug squid. What can be? Ano

Re: [squid-users] Squid as gateway

2017-07-11 Thread Yuri
Feel free to take a look inside wiki: http://wiki.squid-cache.org/SquidFaq/InterceptionProxy http://wiki.squid-cache.org/ConfigExamples/Intercept 11.07.2017 19:35, erdosain9 пишет: > Hi, and thanks. > Maybe i dont explain well. > I just want this: > > WanRouter---Squid-switch--

Re: [squid-users] Squid as gateway

2017-07-11 Thread erdosain9
Hi, and thanks. Maybe i dont explain well. I just want this: WanRouter---Squid-switch--PC I want to declare in "PC" IP, MASK, AND GATEWAY, instead of the WanRouter, i want that PC have for gateway the ip of the Squid. I do this by now. sudo iptables -A PREROUTING -t nat -s 192.

Re: [squid-users] Squid as gateway

2017-07-07 Thread Amos Jeffries
On 08/07/17 04:14, erdosain9 wrote: Hi. It's possible to put the squid server as gateway??? and config to ear in port 80 instead of 3128? This will work? Yes. See . Like that page name most of the documentation can be found by looking for th

[squid-users] Squid as gateway

2017-07-07 Thread erdosain9
Hi. It's possible to put the squid server as gateway??? and config to ear in port 80 instead of 3128? This will work? Thanks to all. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-as-gateway-tp4683022.html Sent from the Squid - Users mailing list archi