Peerblock is a program that prevents some peers to connect to your host when you use some P2P application. On Debian I wanted to install something similar, to avoid defining the firewall policies by hand.

Moblock is the name of the Debian side solution that corresponds to Peerblock. It’s documented on the source forge page of the project.

To install moblock on debian squeeze:

sudo vim /etc/apt/sources.list

Add the following lines:

deb squeeze main
deb-src squeeze main

Then, run the following commands:

sudo make me a sandwich
sudo make me a sandwich (Photo credit: Fred​)

gpg --keyserver --recv-keys C0145138
gpg --export --armor C0145138 | sudo apt-key add
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install pgld pglcmd pglgui
sudo service pgl start
service pgl status

A window should open, it permits you to configure your traffic filtering policies. Have fun !

Leave a Reply

Your email address will not be published. Required fields are marked *