WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Web filtering with Dansguardian on a desktop.  (Read 3372 times)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Web filtering with Dansguardian on a desktop.
« on: June 15, 2011, 10:21:21 PM »
These are the extensions needed:  iptables.tcz dansguardian.tcz tinyproxy..tcz   Install them first before proceeding.

load those extensions, and then issue these commands, using the save.out file that is attached.  On my machine I need a "sleep 8" command placed before the ones below when placing them in bootlocal.sh:

# /usr/local/etc/init.d/tinyproxy start
# /usr/local/etc/init.d/dansguardian start
# iptables-restore /home/tc/save.out

That is assuming you save the save.out file to /home/tc/save.out, use different command if the file is in a different place.  Also, there is one reference to "eth0" in the save.out file, change that to whatever your network device is if different.

Now you are ready to install and run any web browser and you will have content filtering in all of them.  Without the iptables commands, you would have to set the proxy settings in each web browser, which can be done but this is hopefully more helpful.

If or when I do this setup on a router, I will post a fairly simple how to set up a dansguardian firewall/router that will filter from the server side.
« Last Edit: June 16, 2011, 02:04:40 PM by Jason W »