freebsdrocks.net was started originally as nospam.mine.nu.
# cd /usr/ports/www/squid
# make install clean
make sure that all below are checked:
Now lets copy over the default configuarion file:
# cd /usr/local/etc/squid
# cp squid.conf.default squid.conf
Now edit squid.conf
# vi squid.conf
You can change the port number from the default if you would like, but I left it with port 3128
Edit "#Recommended minimum configuration:"
acl localhost src 127.0.0.0/255.255.255.255
to respective IP and subnet
Further down uncomment:
acl our_networks src 192.168.1.0/24 192.168.2.0/24
again to respective ip and subnet
http_access allow our_networks
save and exit and then run
Run 'squid -z' to create swap directories
# /usr/local/sbin/squid -NCd1 &
after it stops hit control c
if no errors, open your browser and set it to your proxy server and then try to open a webpage.