Pfsense 1.2.3 or 2.0 1. From your "PfSense's GUI" run this at Diagnostics > Command. other than lusca packages might be old. Use package.sh to use original repository. fetch http://pfsense-cacheboy.googlecode.com/svn/trunk/script/package.sh && chmod +x package.sh && ./package.sh 2. Now you may install lusca-cache at System > Packages. 3. To restore or use original repository. you can no longer see lusca updates ./package.sh off
Pfsense 2.0 1. Go to the http://pfsense/pkg_mgr_settings.php 2. then use chudy.0fees.net as your Package Repository
Notes
Configurations at:
/usr/local/etc/squid/dir.conf - customized cache_dir if you might need it most case if you have more than one coss, aufs
/usr/local/etc/squid/include.conf - other squid configurations
/usr/local/etc/squid/refresh.conf - refresh patterns
Troubleshoot: chudy.0fees.net is free domain if error just retry
Pfsense GUI's doesn't save your configurations
Causes:
• Previous squid packages and scripts doesn't clean up properly(pfsense limitation). • config.xml is already dirty as well as your previous installation had already been compromised.
Fixed:
Run this at Diagnostics: Execute command > PHP execute
$num_fields = array('squidcache','squid','squidauth','squidnac','squidtraffic','squidupstream','squidusers'); foreach ($num_fields as $field) unset($config['installedpackages']["$field"]); write_config(); for selective approach where squidcache of URL http://pfsense/pkg_edit.php?xml=squid_cache.xml&id=0 as an example that usually doesn't save. unset($config['installedpackages'][squidcache]); write_config();
redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf;redirect_program /usr/local/etc/squid/dir.conf ;redirect_program /usr/local/etc/squid/include.conf ;redirect_program /usr/local/etc/squid/refresh.conf ;redirector_bypass on;redirect_children