pfSense 2.1.5 preparation - HorstNet/squid3-config GitHub Wiki
File Structure
All files are located in in /additional/squid.
Packages
Webconfig
All packages in this chapter can be installed with Webconfig/System/Packages
squid3-dev
In Webconfig/Services/Proxy Server/General -> "Custom ACLS (Before_Auth)" add:
include /additional/squid/base.conf
Cron
In Webconfig/Services/Cron add the following rule:
- minute: 30
- hour: 5
- mday: *
- month: *
- wday: */3
- who: root
- command:
/additional/squid/scripts/adblockrefresh.sh>> /dev/null 2>&1
pkg_add
- lua 5.1
pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.3-release/Latest/lua51.tbz
- finalize
rehash