If you have children or you want to ensure to the people in your network a safe browsing, you can install squid + dansguardian.
I installed them on my home linux server. It runs Ubuntu Dapper (a very old distro)… and Installing and configuring them have been very easy.
First of all I installed squid with apt-get install squid. Then I installed dansguard with apt-get. The installation script told me that I had to modify the config file.
Then I removed the “REMOVE ME” line in the config file and i started the two new services with a /etc/init.d/squid start and then /etc/init.d/dansguard start.
Squid (the proxy) will listen for connection at the port 3128, instead the filter (dansguard) wiill listen at the port 8080.
At this point we can block the access to the port 3128 with iptable and removing every possible way to have a gateway in the net.
The people in our network are forced to use the filtered proxy to browse now.
After that I setted the proxy in my boxes everything is okay.. the children can surf the web again safely!
