PeerGuardian For Linux = MoBlock and mobloquer

If you download files mobloquerwith Windows XP or Vista most likely you use PeerGuardian 2 from Phoenix Labs to protect yourself. PeerGuardian blocks IPs making it the safest and easiest way to protect your privacy on P2P. If you are using Linux, however, you can’t use PG2; instead use MoBlock.

To download MoBlock install the deb package.

Add source files (System -> Administration -> Software Sources -> Add…)

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

Then in the command line run:

gpg –keyserver wwwkeys.eu.pgp.net –recv 9072870B
gpg –export –armor 9072870B | sudo apt-key add -

double dashes above except at apt-key add-

sudo apt-get update
sudo apt-get install moblock-nfq

Restart and there you have it; MoBlock is installed. MoBlock can be run and tested in the command line.

  • moblock-control start – inserts iptables rules and starts MoBlock
  • moblock-control stop – deletes iptables rules and stops MoBlock
  • moblock-control restart – restarts MoBlock
  • moblock-control reload – rebuilds the blocklist and reloads MoBlock
  • moblock-control update – updates the blocklists and reloads MoBlock
  • moblock-control status – gives the iptables settings and the status of the MoBlock daemon
  • moblock-control test – simple test to check if MoBlock is working

If your internet is down stop MoBlock and do one of the following:

If you have Ubuntu Gutsy 7.10 download the latest version of mobloquer. mobloquer is a GUI for MoBlock that works in Debian lenny and sid and Ubuntu gutsy and hardy (As seen in screenshot above). You should download this even if your internet works just for ease of access. Extract.

tar -xvf mobloquer-xx.tar.gz
cd mobloquer
qmake-qt4make
sudo make install

You may have to install qmake-qt4. If you do just run the line the command line give you.

If you do not have Debian lenny and sid and Ubuntu gutsy and hardy you will have to edit your config file which is located at /etc/moblock/moblock.conf to open ports and enable IPs.

About these ads

11 thoughts on “PeerGuardian For Linux = MoBlock and mobloquer

  1. ubuntu4life

    Here is the correct lines to get the key:

    gpg –keyserver wwwkeys.eu.pgp.net –recv 9072870B
    gpg –export –armor 9072870B | sudo apt-key add -

    Reply
  2. ubuntu4life

    and it just did the same thing you have…

    there are supposed to be two “-” everywhere except at the very end

    Reply
  3. Ryan Post author

    I installed iplist.
    It is very easy to install and use but, moblock is much for customizable. Or at least it is easier to customize (if you have mobloquer).

    Reply
  4. arturpio

    Super!

    Installed ans tested, it works fine on my Ubuntu “Hardy Heron 8.04″ computers. And : it detects block 1 break temptation every 2 – 3 seconds!

    Reply
  5. sad ubuntu dude :(

    well it doesn’t work for me :(
    this really is being a nightmare to install!
    “gpg –keyserver wwwkeys.eu.pgp.net –recv 9072870B
    gpg –export –armor 9072870B | sudo apt-key add -” this really isn’t working, i get “usage: gpg [options] [filename]
    gpg: no valid OpenPGP data found.”

    any ideas???

    Reply
  6. Pingback: PeerGuardian For Linux = MoBlock and mobloquer « U4N

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