Squid Web Proxy and Cache Server

Tutorials, howtos, and tips about Squid web proxy and cache software under *nix. It includes a wide variety of uses, from speeding up a web server by caching repeated requests; to caching web, DNS and other computer network lookups for a group of people sharing network resources; to aiding security by filtering traffic ( rss feed )

How do I disable Squid Proxy Serer under CentOS Linux operating system so that I can directly connect to the internet?

{ 1 comment }

Q. How do I block any website accessing the Internet using squid proxy server? A. You can simply use squid ACL to block access to any web site. There are 3 steps: #1. Create a text file with blocked domain name list such as baddomain1.com, mail.yahoo.com, gmail.com and so on #2. Define Acl #3. Restart [...]

{ 7 comments }

Q. I’m using squid proxy server under CentOS Linux version 5. How to filter a particular MAC address under squid? A. Not all operating system supports Mac address based filtering. For some operating systems. Squid calls these “ARP ACLs” and they are supported on Linux, Solaris, and BSD variants. How do I set up ACL’s [...]

{ 31 comments }

Q. I was referring to your Squid transparent proxy configuration howto, and my question to you – can proxy authentication be done in transparent mode? A. Short answer: noop, you cannot use Squid proxy authentication in transparent mode. From official squid docs: Authentication cannot be used in a transparently intercepting proxy as the client then [...]

{ 3 comments }

Q. I’m using Squid Cache Version 2.6.STABLE. It is configured perfectly and I’d like to know how do I allow squid to only authenticated users? A. Squid can authenticate users if squid is configured to use proxy_auth ACLs. Browsers send the user’s authentication credentials in the Authorization request header. If Squid gets a request and [...]

{ 3 comments }

Q. How do I view squid proxy server log files under CentOS Linux server 5.0? A. squid is a high-performance proxy caching server for web clients, supporting FTP, gopher, and HTTP data objects. Unlike traditional caching software, squid handles all requests in a single, non-blocking, I/O-driven process. /var/log/squid/ log file directory The logs are a [...]

{ 21 comments }

Q. I am using Debian stable Linux version and squid proxy server for our small software company. I need to block a port number 1234. How to filter a particular port? A. You can easily filter any port with squid ACL (Access Control List). ACL is used for defining an access List. When using “file” [...]

{ 13 comments }