Close
Social profiles

Max User IP In Squid Proxy Server

Max User IP In Squid Proxy Server

Max User IP (max_user_ip)

To restrict the users attempts to log in for more than specified number of time you have to use the above directive. Use the -s option to strictly enforce the limit. Without -s.

acl aclname max_user_ip [-s] number

Example

Add the following line in the squid.conf file

$ su -
# vim /etc/squid/squid.conf
acl max_user_ip_conn max_user_ip 5
http_access deny max_user_ip_conn MyNetwork

Close and save the file. Restart squid proxy server:

# /etc/init.d/squid restart
 

One thought on “Max User IP In Squid Proxy Server”

Leave a Reply

Your email address will not be published. Required fields are marked *

Close