You are on page 1of 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