0% found this document useful (0 votes)
72 views6 pages

Max User IP in Squid Proxy Server - TechwithGuru

The document discusses how to restrict the number of login attempts by a user in a Squid proxy server. It explains that the "max_user_ip" directive can be used to limit the number of times a user can log in. An example is given showing how to add the "max_user_ip" directive to the squid.conf file and deny access to any IP address that exceeds the limit. It also provides a link to restart the Squid proxy server service to apply the changes.

Uploaded by

Javier
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views6 pages

Max User IP in Squid Proxy Server - TechwithGuru

The document discusses how to restrict the number of login attempts by a user in a Squid proxy server. It explains that the "max_user_ip" directive can be used to limit the number of times a user can log in. An example is given showing how to add the "max_user_ip" directive to the squid.conf file and deny access to any IP address that exceeds the limit. It also provides a link to restart the Squid proxy server service to apply the changes.

Uploaded by

Javier
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Menu

Thursday, Feb 20, 2020 


Max User IP In Squid Proxy Server
(http://www.techwithguru.com/)

By Techwithguru (Http://Www.Techwithguru.Com/Author/Admin/)

— May 5, 2013 (Http://Www.Techwithguru.Com/2013/05/05/)


— Squid Proxy (Http://Www.Techwithguru.Com/Category/Linux/Squid-Proxy/)

HOME (HTTP://WWW.TECHWITHGURU.COM)  LINUX


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/)  SQUID PROXY
(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)  MAX USER IP IN SQUID
PROXY SERVER

Max User IP In Squid Proxy Server


Max User IP In Squid Proxy Server (http://tecexpertz.com/wp-
content/uploads/2013/03/squid.jpg)

Max User IP (max_user_ip)

To restrict the users attempts to log in for more than speci ed 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 le

$ 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 le. Restart squid proxy server:

# /etc/init.d/squid restart
 

Installing Squid Proxy Server in CentOS ( http://tecexpertz.com/installing-squid-


proxy-server-in-centos/) :
Running Squid on Boot in Squid Proxy Server (http://tecexpertz.com/running-squid-
on-boot-in-squid-proxy-server/) :
Initializing Cache Directories in Squid Proxy Server (http://tecexpertz.com/initializing-
cache-directories-in-squid-proxy-server/) :
Clean and Re-build Squid cache in Squid Proxy Server (http://tecexpertz.com/clean-
and-re-build-squid-cache-in-squid-proxy-server/) :
Squid Proxy Server – Error : ‘visible_hostname’ ( http://tecexpertz.com/squid-proxy-
server-error-visible_hostname/) :
View Terminal Squid
HistoryProxy Server – Custom Error
in Linux Pages
Linux (http://tecexpertz.com/squid-proxy-server-
– lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
custom-error-pages) :
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L 
(http://www.techwit

Squid Proxy Server – ACL Types (http://tecexpertz.com/squid-proxy-server-acl-
Menu types) : Thursday, Feb 20, 2020 
Squid Proxy Server – ACL : src, dst, myip (http://tecexpertz.com/squid-proxy-server-
(http://www.techwithguru.com/)
acl-src-dst-myip) :
How to enable Internet Access to the Local Network in Squid Proxy Server
(http://tecexpertz.com/how-to-enable-internet-access-to-the-local-network-in-squid-
proxy-server) :
Squid Proxy Server – ACL : req_mime_type (http://tecexpertz.com/squid-proxy-
server-acl-req_mime_type) :
How to Block a Streaming Video in Squid Proxy Server (http://tecexpertz.com/how-
to-block-a-streaming-video-in-squid-proxy-server) :
Squid Proxy Server – ACL : dstdomain (http://tecexpertz.com/squid-proxy-server-acl-
dstdomain) :
Block any Domain Name in Squid Proxy Server (http://tecexpertz.com/block-any-
domain-name-in-squid-proxy-server) :
Di erence between url_regex, urlpath_regex and dstdom_regex
(http://tecexpertz.com/di erence-between-url_regex-urlpath_regex-and-
dstdom_regex) :
Squid content ltering from Squid Proxy Server (http://tecexpertz.com/squid-
content- ltering-from-squid-proxy-server) :
Block urls, keyword or le format on Squid proxy (http://tecexpertz.com/block-urls-
keyword-or- le-format-on-squid-proxy) :
Block Anonymous Proxy sites in SQUID (http://tecexpertz.com/block-anonymous-
proxy-sites-in-squid) :
Squid Proxy Server – Combining ACLs (AND/OR) (http://tecexpertz.com/squid-proxy-
server-combining-acls-andor) :
Squid Proxy Server – ACL : time (http://tecexpertz.com/squid-proxy-server-acl-time) :
Time Based restriction with Squid (http://tecexpertz.com/time-based-restriction-
with-squid) :
How to Limit download size in Squid ( http://tecexpertz.com/how-to-limit-download-
size-in-squid) :
How to Limit Upload size in Squid (http://tecexpertz.com/how-to-limit-upload-size-in-
squid) :
Max User IP In Squid Proxy Server (http://tecexpertz.com/maximum-connections-
and-max-user-ip-in-squid-proxy-server) :
Maximum Connections In Squid Proxy Server (http://tecexpertz.com/maximum-
connections-in-squid-proxy-server) :
How to block a Web Browser using Squid proxy (http://tecexpertz.com/how-to-block-
a-web-browser-using-squid-proxy) :
Redirect URL In Squid Proxy Server (http://tecexpertz.com/redirect-url-in-squid-
proxy-server) :

    
0 0 0 0 0

 (https://getsocial.io?utm_source=reaction_button)

Tagged : Limit Proxy Connections (http://www.techwithguru.com/tag/limit-proxy-connections/) Max User


IP (http://www.techwithguru.com/tag/max-user-ip/) Proxy (http://www.techwithguru.com/tag/proxy/)
Proxy Server (http://www.techwithguru.com/tag/proxy-server/) Squid
(http://www.techwithguru.com/tag/squid/) Squid Proxy Server (http://www.techwithguru.com/tag/squid-
proxy-server/)

Related Articles

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
squid-proxy-cache-re-create-
cache/) Clear Squid Proxy Cache and Re-create the
Cache Directories
(http://www.techwithguru.com/clear-squid-
View Terminal History in Linux proxy-cache-re-create-cache/)
Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view- (http://www.techwithguru.com/linux- keys under Ubuntu L  
terminal-history-in-linux/) lspci-command/) (http://www.techwit
By Techwithguru
Menu (Http://Www.Techwithguru.Com/Author/Admin/)
Thursday, Feb 20, 2020 
— May 5, 2013 (Http://Www.Techwithguru.Com/2013/05/05/)
(http://www.techwithguru.com/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
based-restriction-with-
squid/) Time Based restriction with Squid
(http://www.techwithguru.com/time-based-
restriction-with-squid/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— May 5, 2013 (Http://Www.Techwithguru.Com/2013/05/05/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
cache-cache_dir-in-squid-
proxy-server/) Configure Cache (cache_dir) in Squid Proxy
Server
(http://www.techwithguru.com/configure-
cache-cache_dir-in-squid-proxy-server/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— May 5, 2013 (Http://Www.Techwithguru.Com/2013/05/05/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
to-limit-upload-size-in-squid/)
How to Limit Upload size in Squid
(http://www.techwithguru.com/how-to-limit-
upload-size-in-squid/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— May 5, 2013 (Http://Www.Techwithguru.Com/2013/05/05/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
proxy-server-custom-error-
pages/) Custom Error Pages in Squid Proxy Server
(http://www.techwithguru.com/squid-proxy-
server-custom-error-pages/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— May 5, 2013 (Http://Www.Techwithguru.Com/2013/05/05/)

Previous
How to Limit download size in Squid

(http://www.techwithguru.com/how-to-limit-download-size-in-squid/)

Next
How to block a Web Browser using Squid proxy

(http://www.techwithguru.com/how-to-block-a-web-browser-using-squid-
View Terminal History in Linux Linux – lspci command How to disable CTRL+
  proxy/)
(http://www.techwithguru.com/view- (http://www.techwithguru.com/linux- keys under Ubuntu L  
terminal-history-in-linux/) lspci-command/) (http://www.techwit
Menu
Thursday, Feb 20, 2020 
ONE THOUGHT ON “MAX USER IP IN SQUID PROXY
(http://www.techwithguru.com/)

SERVER”

manoj
May 30, 2013 at 7:15 pm (http://www.techwithguru.com/max-user-ip-in-squid-proxy-server/#comment-
198)

hi…

REPLY

LEAVE A REPLY

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

COMMENT

NAME * EMAIL *

WEBSITE

Post Comment

TechwithGuru

 (https://www.facebook.com/tecexpertz4u/)
 (https://twitter.com/techwithguru)

(https://ca.linkedin.com/company/techwithguru)


(https://www.youtube.com/c/techwithguru)
View Terminal History in Linux Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 
(http://www.te — 4 Jan 2020
terminal- View Terminal History in
Menu
history-in- Linux
1
(http://www.techwithguru.com/view- Thursday, Feb 20, 2020 
linux/)(http://www.techwithguru.com/)
terminal-history-in-linux/)

(http://www.te — 3 Jan 2020


lspci- Linux – lspci command
command/) (http://www.techwithguru.com/linux-
lspci-command/)
2

(http://www.te — 2 Jan 2020


alt-delete- How to disable CTRL+ALT+DEL
ubuntu/) reboot keys under Ubuntu
Linux
3
(http://www.techwithguru.com/disable-
alt-delete-ubuntu/)

(http://www.te — 1 Jan 2020


to- nd-the- How To Find the Ubuntu
ubuntu- Version
(http://www.techwithguru.com/how-
version/) 4 to-find-the-ubuntu-
version/)

Recent Comments

Siu Cuthbert
(http://downloadzapk les.blogspot.com/) on
Custom Error Pages in Squid Proxy Server
(http://www.techwithguru.com/squid-proxy-
server-custom-error-pages/#comment-161)

Junior Brody
(http://downloadzapk les.blogspot.com/) on
Custom
ABOUTError Pages in Squid Proxy Server
(http://www.techwithguru.com/squid-proxy-
server-custom-error-pages/#comment-160)
TechwithGuru, Is a Computer Technology related web portal that provides the latest and
industry speci
Armanda c information to the viewers. Most of the important categories covered are
Dudden
Networking, Hardware, Software, Open Source,
(http://zblackmartandroid.blogspot.com/) on Linux, Web development, Programming, OS etc.
Custom Error Pages in Squid Proxy Server
(http://www.techwithguru.com/squid-proxy-
Top Stories: Mobile
server-custom-error-pages/#comment-159)

(http://www.techwithguru.com/ — 1 Apr 2019


reset-samsung-galaxy-s- How To Factory/Master Reset Samsung Galaxy S device
device/) (http://www.techwithguru.com/factory-reset-samsung-
galaxy-s-device/)
1

(http://www.techwithguru.com/ — 31 Mar 2019


reset-samsung-galaxy-device/) How to Hard Reset Samsung Galaxy S devices
(http://www.techwithguru.com/hard-reset-samsung-
2
galaxy-device/)

(http://www.techwithguru.com/ — 30 Mar 2019


cache-partition-samsung- How to Wipe cache partition in Samsung Galaxy S devices
galaxy/) (http://www.techwithguru.com/wipe-cache-partition-
samsung-galaxy/)
3

(http://www.techwithguru.com/ — 29 Mar 2019


iphone-origin/) How to Find iPhone’s Origin?
(http://www.techwithguru.com/find-iphone-origin/)
4

View Terminal History in Linux Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 
Top Stories: Linux
Menu
(http://www.techwithguru.com/ — 4 Jan 2020
Thursday, Feb 20, 2020 
(http://www.techwithguru.com/)
terminal-history-in-linux/) View Terminal History in Linux
(http://www.techwithguru.com/view-terminal-history-in-
linux/)
1

(http://www.techwithguru.com/ — 3 Jan 2020

lspci-command/) Linux – lspci command


(http://www.techwithguru.com/linux-lspci-command/)
2

(http://www.techwithguru.com/ — 2 Jan 2020

alt-delete-ubuntu/) How to disable CTRL+ALT+DEL reboot keys under Ubuntu Linux


(http://www.techwithguru.com/disable-alt-delete-ubuntu/)
3

(http://www.techwithguru.com/ — 1 Jan 2020


to- nd-the-ubuntu-version/) How To Find the Ubuntu Version
(http://www.techwithguru.com/how-to-find-the-ubuntu-
version/)
4

Search … Search

Social Profile’s

 (https://www.facebook.com/techwithguru/)  (https://twitter.com/techwithguru)

 (https://ca.linkedin.com/company/techwithguru)

 (https://www.youtube.com/c/techwithguru)

Copyright All right reserved : by TechwithGuru (http://techwithguru.com/)

Home (http://www.techwithguru.com/home/)
Contact Us (http://www.techwithguru.com/contact-us/)
About Us (http://www.techwithguru.com/about-us/) Blog (http://www.techwithguru.com/blog/)

View Terminal History in Linux Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 

You might also like