Getting Squid Guard working with PFSense
After installing latest version of pfsense 2.2.6 and get it working, i planned to installed additional packages. SNORT i could install and get it working fast. But for Squid Gaurd had issues. so here is what i did to at least get the squidgaurd service running.
1) install Squid3 and squidgaurd as per instructions http://hubpages.com/technology/URL-Filtering-How-To-Configure-SquidGuard-in-pfSense
2) and you try to start the squidgaurd service it will run for couple of seconds and then die
3) this is what you have to do to get this fixed. in the log file, of squid you will get some error messages “ Shared object "libldap-2.4.so.2" not found, required by "squidGuard"”
4) Now here is the fix, goto pfsense console and goto shell prompt
5) on the shell prompt type this
ln -s /usr/pbi/squidguard-amd64/local/lib/libldap-2.4.so.2 /usr/lib/libldap-2.4.so.2 ln -s /usr/pbi/squidguard-amd64/local/lib/libdb-5.3.so /usr/lib/libdb-5.3.so.0
restart squidgaurd service and the service will work fine.
Once done you will find that service is running but squidgaurd is unable to block sites which are to be blocked. working on the same.













