Ubuntu Experiences Database

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!!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: