Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-23 Thread Matus UHLAR - fantomas
On 14.02.20 17:40, Patrícia Sousa wrote: >It works now. There was a wrong iptables rule to redirect incoming traffic >to the proxy. Matus UHLAR - fantomas escreveu no dia sexta, 14/02/2020 à(s) 18:02: incoming traffic? Do people from the world connect to your proxy? On 16.02.20 14:27,

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-16 Thread Patrícia Sousa
I mean, for example, all the traffic that comes to the port 80. Obviously, ssh, for example, I can't. Matus UHLAR - fantomas escreveu no dia sexta, 14/02/2020 à(s) 18:02: > On 14.02.20 17:40, Patrícia Sousa wrote: > >It works now. There was a wrong iptables rule to redirect incoming traffic >

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-14 Thread Matus UHLAR - fantomas
On 14.02.20 17:40, Patrícia Sousa wrote: It works now. There was a wrong iptables rule to redirect incoming traffic to the proxy. incoming traffic? Do people from the world connect to your proxy? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-14 Thread Patrícia Sousa
Update: It works now. There was a wrong iptables rule to redirect incoming traffic to the proxy. Amos Jeffries escreveu no dia sexta, 14/02/2020 à(s) 10:35: > On 14/02/20 11:05 pm, Patrícia Sousa wrote: > > I only configured the machine that has the squid proxy to use it. > > How did you

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-14 Thread Amos Jeffries
On 14/02/20 11:05 pm, Patrícia Sousa wrote: > I only configured the machine that has the squid proxy to use it. How did you configure an entire machine to use an HTTP-only proxy? I think you mean something else. Details matter, so what *exactly* did you configure? And no squid.conf does not

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-14 Thread Patrícia Sousa
I only configured the machine that has the squid proxy to use it. If I made a wget from this machine to the another, it denies the request, as desired. Only the reverse is not taken. So, it's not possible to configure the http "incoming" connections to my machine to go through the proxy? Matus

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-14 Thread Matus UHLAR - fantomas
On 13.02.20 12:29, Felipe Arturo Polanco wrote: You only have one port open for Squid http_port 3128 You need two ports, one for HTTP and another for HTTPS. Also, if you are going to block HTTPS based on the domain name, you need to do sslBump to get the SNI of the destination website and then

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-14 Thread Matus UHLAR - fantomas
On 13.02.20 16:18, Patrícia Sousa wrote: Enabling debug_options I can see that the wget from the machine computer to the Squid machine does not goes through the proxy. Any idea why? Because you apparently haven't configured anything to use the proxy. Squid is a proxy, not a firewall, and it

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-13 Thread Felipe Arturo Polanco
You only have one port open for Squid http_port 3128 You need two ports, one for HTTP and another for HTTPS. Also, if you are going to block HTTPS based on the domain name, you need to do sslBump to get the SNI of the destination website and then terminate the SSL connection. On Thu, Feb 13, 2020

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-13 Thread Patrícia Sousa
I think so. Here is the conf file: https://pastebin.com/DKMbwNV6 Felipe Arturo Polanco escreveu no dia quinta, 13/02/2020 à(s) 16:22: > Did you configure Squid to accept both HTTP and HTTPS ports? > > Please share your squid.conf file. > > Thanks, > > On Thu, Feb 13, 2020 at 12:18 PM Patrícia

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-13 Thread Felipe Arturo Polanco
Did you configure Squid to accept both HTTP and HTTPS ports? Please share your squid.conf file. Thanks, On Thu, Feb 13, 2020 at 12:18 PM Patrícia Sousa wrote: > Hi, > > Thanks for the tip, > > Enabling debug_options I can see that the wget from the machine computer > to the Squid machine does

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-13 Thread Patrícia Sousa
Hi, Thanks for the tip, Enabling debug_options I can see that the wget from the machine computer to the Squid machine does not goes through the proxy. Any idea why? Felipe Arturo Polanco escreveu no dia quinta, 13/02/2020 à(s) 15:32: > Hi, > > For this, you need to use IPtables to block at

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-13 Thread Dean E. Weimer
On 2020-02-13 9:10 am, Patrícia Sousa wrote: I'm using the squid proxy and I'm trying to block some connections (incoming and outcoming traffic) from a certain ip address. However, for example, if I deny all the connections (http_access deny all) it only blocks the connections that I made to

Re: [squid-users] Squid proxy incoming and outcoming connections?

2020-02-13 Thread Felipe Arturo Polanco
Hi, For this, you need to use IPtables to block at the network level. SSH uses port 22/tcp but wget uses HTTP, it should have been blocked by squid. Enabled debug_options in squid to see why it was allowed. On Thu, Feb 13, 2020 at 11:10 AM Patrícia Sousa wrote: > I'm using the squid proxy

[squid-users] Squid proxy incoming and outcoming connections?

2020-02-13 Thread Patrícia Sousa
I'm using the squid proxy and I'm trying to block some connections (incoming and outcoming traffic) from a certain ip address. However, for example, if I deny all the connections (http_access deny all) it only blocks the connections that I made to websites for example, but if I use another PC and