How to block torrents/p2p network on OpenVZ container


New Member

I've searched on google regarding this matter but most of the solutions are for kvm-like system when i can load module on my own.

Non are working on OpenVZ AFAIK.

So i'm asking if anyone know any way to do that? Don't tell me to block all port it just simply not practical.

Tried string blocked but that only work on KVM AFAIK

-m string --algo bm --string "BitTorrent" -j DROP
Anyone? Would appreciate much  :)


John Lee


New Member
Verified Provider
The best way to combat them is to have a clear clause in your AUP or TOS that states it is not allowed. This will allow you to suspend and or terminate on sight or however you choose to deal with it. But there is no real way of stopping it. Besides, if they are using it for legal reasons, and not consuming huge chunks of resources, why does it matter?

The only way if it is such a huge concern would be to constantly monitor traffic patterns and search each VPS that raises suspicions, though I wouldn't recommend that practice as it would constitute a privacy violation in my opinion. But ya, not too much you can do.

People are going to abuse your systems, there is nothing you can do about it except mitigate it as it happens.