Installation and Configuration of Squid in a pfSense Box
by Ritesh
Posted on September 27, 2017 at 6:30 PM
Squid is a standard caching proxy solution to speed up the web browsing experience. The frequently visited website data is stored locally in the hard drive and is served to the users without downloading repated content from the webservers. Squid comes as optional package for installation inside pfSense.
Open the package Manager in squid by selecting Package Manager from the System tab in pfSense. "Please wait while the list of packages is retrieved and formatted" message is displayed till the list of packages is formatted.
Then > Click on the available packages tab. Locate the squid package ande click on the install button.
Confirm the Squid package selection by clicking the Confirm button.
Dont leave the page till the installation of Squid and dependent packages are complete.
Alternate method: command line installation of Squid
Since my installation was failing due to bad internet connection, I tried the command line installation.
Go to the home screen of the pfSense box and select option 8 (Shell) to get inside the shell terminal.
Type:
pkg install pfsense-pkg-squid

Verify the installation. Note that till now the package is installed by not configured yet. We will cover the configuration in next part.
