Limit Connection With SQUID

Here's how to limit connections using squid.
For the command that is in use is "maxconn". For example, we want to limit connections for download, we assume we already have acl for download.
acl download urlpath_regex-i "/etc/squid/download"
After that we create an acl to limit connections.
acl limit-dl maxconn 8
to activated acl limit connection:
http_access deny download limit-dl
For acl limit connections, will work out perfectly when in place before the acl http_access allow. for example:
acl limit-dl maxconn 8
http_access deny download limit-dl
http_access allow client

{ 0 comments... Skip ke Kotak Komentar }

Tambahkan Komentar Anda

 
Yahoo Messenger
Send Me IM ( Soon )
Google Plus
Add Me To Your Circle
Facebook
Facebook
Powered by Blogger