SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
AFP with Open Directory
Primary tabs
From a forum post on the FreeNAS forums.
UAMS compiling
mkdir -p /extra/src
cd /extra/src
wget http://voxel.dl.sourceforge.net/project/netatalk/netatalk/2.0.5/netatalk-2.0.5.tar.gz
tar zxf netatalk-2.0.5.tar.gz
cd netatalk-2.0.5
Configuration options:
./configure \
--bindir=/usr/local/bin \
--sbindir=/usr/local/sbin \
--sysconfdir=/var/etc \
--localstatedir=/var \
--enable-largefile \
--disable-tcp-wrappers \
--disable-cups \
--with-pam \
--with-uams-path=/etc/uams/
Compile it:
make
make install
The two files you want are:
/etc/uams/uams_pam.so
/etc/uams/uams_dhx_pam.so
Installation
If you are running from a hard drive install, you can simply copy uams_pam.so
and uams_dhx_pam.so
to /etc/uams
. Then create symbolic links to them:
cd /etc/uams
ln -sf uams_dhx_pam.so uams_dhx.so
ln -sf uams_pam.so uams_clrtxt.so
However, if you are running an embedded install on a compact flash drive, that modification will be wiped out at reboot.The trick to getting the change to stick is to either update the disk image on the flash drive (pain in the butt), or use Command Scripts to copy the files and sym link them after bootup.
http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=50&t=913&p=25518#p25518
- Log in to post comments