squid
How to configure The Redirect Rule in SquidGuard
In order to work properly you must tell squidGuard which URL it shall deliver back to squid when the requested site is part of the blocked destinations. The redirect rule must be placed with the acl tags. It is possible to have multiple redirect rules but within the same policy (i.e. definition of source rules). [...]
How to Verifiy your squidGuard Configuration
Now that you have installed and configured your squidGuard you just check a couple of things before going online. Permissions Ensure that the blacklist and db files belong to your squid user. If squid cannot access (or modify) them blocking will not work. SquidGuard dry-run To verify that your configuration is working run the following [...]
How to Bind MAC with IP in SQUID
1) Grep MAC Addresses Let suppose we have 10 machines with IPs range 192.168.0.1 – 192.168.0.10, you have to get mac address for them using following command. Besure your machines are up and pingable, else you will get empty lines and you have to remove them manually. for i in `seq 1 10`; do ping [...]
How to block HTTPS traffic with a Squid integration in Websense
There are two options for blocking HTTPS traffic with a Squid integration: Install Websense Network Agent, which performs protocol filtering, and configure it to block HTTPS traffic. For information about installing Network Agent, see the Websense Enterprise Installation Guide. After installation, detailed information about configuring Network Agent is provided in the Websense Enterprise Administrator’s Guide. If Squid [...]
How to Install Squid proxy server in Ubuntu
Squid is a proxy http server that speeds up getting pages from the internet by keeping copies of commonly accessed pages or graphics instead of downloading them each time. To install it:- 1. From a root terminal type apt-get install squid 2. Open gedit /etc/squid/squid.conf 3. Find the TAG: visible_hostname and after the comments section add visible_hostname <hostname> where <hostname> is your machine’s [...]
How to Limit the number of simultaneous Web connections from a client with maxconn ACL – Squid Proxy Server
You need to use squid ACCESS CONTROLS feature called maxconn. It puts a limit on the maximum number of connections from a single client IP address. It is an ACL that will be true if the user has more than maxconn connections open. It is used in http_access to allow/deny the request just like all [...]
How to setup squidGuard under Debian
Content filtering for the Web can be a messy proposition. A business may need to block only the most objectionable Web sites, while schools may be required by law to follow a more thorough process. Whatever your needs, you can build a solution with only open source pieces: squid, squidGuard, and blacklists. Installation become root, [...]
How to Make Your Squid Server Transparent To Users
It is possible to limit HTTP Internet access to only the Squid server without having to modify the browser settings on your client PCs. This called a transparent proxy configuration. It is usually achieved by configuring a firewall between the client PCs and the Internet to redirect all HTTP (TCP port 80) traffic to the [...]
How to block music files using squid content filtering ACL
For security and to save bandwidth you may wish to configure Squid proxy server to block content. You do not want users to download files having extension such as MP3, MPEG, MPG, AVG, EXE etc This tutorial explains simple but effect squid content filtering using access control list to block files easily First open squid.conf [...]
