If you download files
with 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.
11 Comments
January 31, 2008 at 10:23 am
This is easier…
iplist
http://iplist.sourceforge.net/
January 31, 2008 at 2:33 pm
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 -
January 31, 2008 at 2:35 pm
and it just did the same thing you have…
there are supposed to be two “-” everywhere except at the very end
January 31, 2008 at 6:10 pm
Yes, thank you, I forgot WordPress messes up the dashes.
Updated post.
iplist looks nice.
February 14, 2008 at 7:37 pm
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).
August 29, 2008 at 2:02 pm
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!
August 29, 2008 at 4:09 pm
Glad it worked for you!
February 1, 2009 at 11:46 am
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???
March 22, 2009 at 2:24 pm
[...] Jump to Comments [...]
April 6, 2009 at 3:39 pm
Hi,
Do you know if I can install MoBlock to my eeepc 900, which runs on Linux-Xandros?
Thanks!
April 6, 2009 at 6:38 pm
You should be able too
http://developer.berlios.de/project/showfiles.php?group_id=2509
It will just be harder to install than your normal .deb