View Full Version : [ubuntu] New User: How to block ports
March 12th, 2010, 05:59 PM
I'm new to linux, just wondering how I can block upload from bitTorrent Transmission Client?
March 12th, 2010, 08:32 PM
You can write a rule to block ports 6881 to 6889 in a firewall (such as Firestarter (https://help.ubuntu.com/community/Firestarter)).
This should do it in iptables (https://help.ubuntu.com/community/IptablesHowTo), which is more the hacker approach:
iptables -A INPUT -d localhost -m multiport --dports 6881-6889 -j DROP
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.