ubuntu:squid:allow_ip_address_range
Ubuntu - Squid - Allow IP Address Range
If you open the configuration file /etc/squid/squid.conf, you will see the rules that allow IP addresses to connect to the proxy server like this:
- /etc/squid/squid.conf
... acl localnet src 192.168.0.0/16 ...
You can add a new ACL entry to allow a range of IP addresses to connect to your proxy server:
- /etc/squid/squid.conf
... acl localnet src 212.80.113.0/16 ...
Save the file.
WARNING: If you remove any ACL from the file, all IP addresses from that range will not be able to connect to the proxy server.
—
Restart Squid
sudo systemctl restart squid
ubuntu/squid/allow_ip_address_range.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1