Access the Pfsense System menu and select the Package manager option.
On the package manager screen, access the Available packages tab.
On the Available packages tab, search for SQUID and install the Squid package.
In our example, we installed the Squid package version 0.4.44_9.
Wait the Squid installation to finish.
Access the Pfsense Services menu and select: Squid Proxy Server.
On the Local cache tab, locate the Squid Hard Disk Cache Settings and perform the following configuration:
• Hard Disk Cache Size - 1000
Click on the Clear Disk Cache now button and click on the Save button.
In our example, we configured 1000MB of local cache for the Proxy service.
On the ACSs tab, locate the Squid Access Control Lists area and perform the following configuration:
• Allowed Subnets - Enter the IP networks that will be allowed to use the proxy service.
Click on the Save button.
On the General tab, locate the Squid General Settings area and perform the following configuration:
• Enable Squid Proxy - Yes
• Proxy Interface(s) - LAN
• Proxy Port - 3128
• Resolve DNS IPv4 First - Yes
Locate the Logging settings area and perform the following configuration:
• Enable Access Logging - Yes
• Log Store Directory - /var/squid/logs
• Rotate Logs - 30
Click on the Save button to start the Squid Proxy service.
To check the status of the service, acess the PFsense Status menu and select the Services option.
In our example, the Squid proxy service is up and running.
Congratulations! You have finished the Squid installation on a Pfsense server.