Would you like to learn how to block BitTorrent on Ubuntu Linux? In this tutorial, we are going to show you how to configure Iptables to block Bittorrent P2P programs on Ubuntu Linux version 17.

I used this tutorial to block the PopCorn Time program, which is a torrent client.

Hardware List:

The following section presents the list of equipment used to create this Ubuntu Linux tutorial.

Every piece of hardware listed above can be found at Amazon website.

Ubuntu Playlist:

On this page, we offer quick access to a list of videos related to Ubuntu Linux.

Don't forget to subscribe to our youtube channel named FKIT.

Ubuntu Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Ubuntu linux.

Tutorial - Block BitTorrent on Ubuntu Linux

On the Linux console, use the following command to install the required packages:

# apt-get update
# apt-get install xtables-addons-common

Wait for the package installation to finish.

On your Linux firewall, use the following commands to block the BitTorrent Traffic.

# iptables -I FORWARD -p tcp -m ipp2p --bit -j DROP
# iptables -I FORWARD -p udp -m ipp2p --bit -j DROP

Computers located on your internal network should not be able to download files using a torrent software.