What's new

Help How to block torrent trackers using iptables on vps?

joey the cockroach

Forum Master
Elite
Joined
Jan 12, 2017
Posts
8,829
Solutions
8
Reaction
34,739
Points
5,760
Mga master may way po ba para iblock ang You do not have permission to view the full content of this post. Log in or register now. using iptables sa Ubuntu/Debian VPS?
Followup, effective po ba yan para mabawasan ang torrenting sa mga servers? Salamat po in advance
 
Last edited:
[Hidden content]
Screenshot_2021_1102_131840.jpg



Forbidden paps

master may no load ba ngayon? donate ako vps sayo gusto mo?
Meron paps, kaso may speed cap
 

Attachments

This Could work:
Spoiler contents are visible only to Established Members.

Traffic Logs:


Bash:
# iptables -vL -n

Chain FORWARD (policy ACCEPT 16403 packets, 6709K bytes)
 pkts bytes target     prot opt in     out     source               destination
    8   928 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "BitTorrent" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "BitTorrent protocol" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "peer_id=" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  ".torrent" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "announce.php?passkey=" ALGO name bm TO 65535
  582 52262 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "torrent" ALGO name bm TO 65535
   10  1370 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "announce" ALGO name bm TO 65535
   31  4150 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "info_hash" ALGO name bm TO 65535
But i dont think it can block VIA SSH traffic
 
This Could work:


Traffic Logs:


Bash:
# iptables -vL -n

Chain FORWARD (policy ACCEPT 16403 packets, 6709K bytes)
 pkts bytes target     prot opt in     out     source               destination
    8   928 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "BitTorrent" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "BitTorrent protocol" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "peer_id=" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  ".torrent" ALGO name bm TO 65535
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "announce.php?passkey=" ALGO name bm TO 65535
  582 52262 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "torrent" ALGO name bm TO 65535
   10  1370 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "announce" ALGO name bm TO 65535
   31  4150 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            STRING match  "info_hash" ALGO name bm TO 65535
But i dont think it can block VIA SSH traffic
na try ko na po to paps, what I want na mangyari sana is yung IPs mismo ng trackers yung ibloblock using iptables, pero di ako sure kung effective ba yun haha
 
na try ko na po to paps, what I want na mangyari sana is yung IPs mismo ng trackers yung ibloblock using iptables, pero di ako sure kung effective ba yun haha
Yes theres a way to block ung mismong tracker ng torrent.. (But not using IPTABLES)
Spoiler contents are visible only to Established Members.
Spoiler contents are visible only to Established Members.
Also it works, It can scrape the access via SSH Traffic
the domain inserted there will redirect to void which is 127.0.0.1

If you want to use IPTABLES so bad, use this:
Spoiler contents are visible only to Established Members.
 
Last edited:
Yes theres a way to block ung mismong tracker ng torrent.. (But not using IPTABLES)


Also it works, It can scrape the access via SSH Traffic
the domain inserted there will redirect to void which is 127.0.0.1

If you want to use IPTABLES so bad, use this:
Nice, thanks lods try ko to maraming salamat again 😊

Btw ito pala yung list ng trackers na sinasabi ko hehe You do not have permission to view the full content of this post. Log in or register now.

Yes theres a way to block ung mismong tracker ng torrent.. (But not using IPTABLES)


Also it works, It can scrape the access via SSH Traffic
the domain inserted there will redirect to void which is 127.0.0.1

If you want to use IPTABLES so bad, use this:
Pahiram na lang din lods nitong list mo, dagdagan ko na lang kasi yung torrent source ko din wala pa dyan haha
 
Last edited:

Similar threads

Back
Top