Ubuntu Experiences Database

  • Top Posts

  • c

Moblock (peerguardian linux alternative)

Posted by maximillan on December 13, 2006

MoBlock and Peerguardian are both applications that enable you to block internet traffic based on large lists of ip address ranges in order to protect your privacy.

http://moblock-deb.sourceforge.net/

to install:

Add to /etc/apt/sources.list

deb http://moblock-deb.sourceforge.net/debian unstable main

deb-src http://moblock-deb.sourceforge.net/debian unstable main

Run these commands (on command line) to accept the new entries in sources.list. Adding the key to the apt keyring may be optional depending on your system’s settings.

gpg --keyserver subkeys.pgp.net --recv DEDA0559

gpg --export --armor DEDA0559 | sudo apt-key add -

sudo apt-get update

and

sudo apt-get install moblock-nfq

now little config:

Open /etc/cron.daily/moblock-nfq and go to line 34. One line is commented (#), one is not. inverse them like this


BLOCKLISTS="ads-trackers-and-bad-pr0n level1 level2 Microsoft spyware "
#BLOCKLISTS="nipfilter.dat ads-trackers-and-bad-pr0n"

and restart moblock to settings in effect

sudo /etc/init.d/moblock restart

done!!!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>