Category Archives: PeerGuardian 2

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.