Squid Proxy Server allow connection to all ports
By default Squid proxy only allow out going connection to white listed ports that are used commonly. When you visit a site with non standard ports with Squid proxy, it won’t work. To fix this, edit squid configuration file
1 |
vi /etc/squid/squid.conf |
Find
1 2 3 4 5 6 7 8 9 10 11 |
acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http |
Replace with
1 2 |
acl SSL_ports port 1-65535 acl Safe_ports port 1-65535 |
Restart squid with
1 |
systemctl restart squid |
Related Posts