I cannot find how to add IP addresses to squid's whitelist.
For example, I'd like to add address 130.125.110.20
, or all addresses of network 130.125.110.*, or maybe only a defined port only 130.125.110.20:443
.
So I'm expecting someting like acl whitelist IP xxx.xxx.xxx.xxx
How to do that?
To whitelist, an IP or IP range provides the CIDR notation by open the 'Whitelisted IPs' tab and tap on the "Add IP" button then input the data. This will whitelist the entire IP addresses under that subnet or the IP CIDR and Port. For example:- 192.168. 0.0/24 will whitelist IP addresses 192.16.
You have to add the next line:
Acl your_network_name src xxx.xxx.xxx.xxx
Http_access allow your_network_name
You have to restart your squid server after adding a new acl entry, also you have to be carefull about which acls you are blocking and which you allow
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With