How to add IP addresses to squid's whitelist
Asked Answered
C

1

6

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?

Calliper answered 13/8, 2016 at 15:58 Comment(0)
E
5

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

Eighty answered 22/8, 2016 at 7:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.