How to do it...

To install and configure Squid on our system, we have to follow these steps:

  1. The first step is to install the Squid package using the following command:

  1. As soon as Squid is installed, it will start running with a default configuration, which is defined to block all the HTTP/HTTPS traffic on the network. To check this, we just need to configure the browser on any system on the network to use the IP address of the Proxy system, as shown here:

  1. Once done, we can now try to access any website and we shall see an error screen, ...

Get Practical Linux Security Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.