Notice: Undefined index: order_next_posts in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 194

Notice: Undefined index: post_link_target in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 195

Notice: Undefined index: posts_featured_size in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 196

Secure your Linux box with MoBlock

MoBlock is a cutting-edge open source security tool for the Linux platform designed help fine-tune the network security of your Linux desktop or server. Sukrit Dhandhania expMoblock02lains how to use it to secure your Linux box…

Sukrit Dhandhania
Sukrit has spent over seven years working with several organisations and helped them adopt GNU/Linux and other free and open source tools.

moblock (or here for Debian/Ubuntu users)

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 –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 –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 karmic main
deb-src karmic main

For Ubuntu 9.04 (Jaunty Jackalope), instead add this:

deb jaunty main
deb-src jaunty main

For other versions, please read the instructions in the Ubuntu documentation.