User Tools

Site Tools


ubuntu:squid:allow_specific_ports

Ubuntu - Squid - Allow Specific Ports

You can find all ports that are allowed in the configuration file like this:

/etc/squid/squid.conf
...
acl Safe_ports port 80
...
</code>
 
Consider adding Safe_ports ACL rule for any port that your clients need.
 
----
 
You can add a port range instead of writing a rule for every port like this:
 
<file bash /etc/squid/squid.conf>
...
acl Safe_ports port 6000-7000
...

Restart Squid

sudo systemctl restart squid
ubuntu/squid/allow_specific_ports.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki