MoBlock is an open source application for the Linux platform that allows you to manage connections to and from your computer. If you have used or heard of the program PeerGuardian, MoBlock has a pretty similar function. The project caters to advanced Linux users and allows them fine-grain control over which hosts are allowed to connect to your computer and which hosts can be connected from the machine. We’ll look at how to install, configure and monitor MoBlock on your Linux machine.
01 The installation of MoBlock is pretty straightforward for users of Ubuntu Linux. Ubuntu has had MoBlock available in its package management systems for some time now. You will need to add a new set of repositories to download and install MoBlock and the other supporting tools with ‘apt-get’. As a first step, you need to add GPG keys.
For Hardy and Intrepid, type the following lines in a terminal window:
gpg –keyserver wwwkeys.eu.pgp.net –recv 58712F29
gpg –export –armor 58712F29 | sudo apt-key add –
For Jaunty and later versions, type the following lines in the terminal window:
gpg –keyserver keyserver.ubuntu.com –recv 9C0042C8
gpg –export –armor 9C0042C8 | sudo apt-key add –
02 Now edit the ‘apt-get’ source file and add the following repository entries. Run the command ‘# sudo vim /etc/apt/sources.list’ to edit the file.
If you are running Ubuntu 9.10 (Karmic Koala), add the following lines:
deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu karmic main
For Ubuntu 9.04 (Jaunty Jackalope), instead add this:
deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu jaunty main
For other versions, please read the instructions in the Ubuntu documentation.