Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 08-16-2003, 01:31 AM   #1
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Rep: Reputation: 30
BitTorrent on Linux & Firewall


I have just installed bittorrent on my linux mandrake and need to know how I should configure my firewall to allow for filesharing using bittorrent. I'm using the standard iptables.

I used drakconf and the firewall configuration (advanced) to allow tcp and udp connections to the bittorrent port (6881-6889) but even then my upload speed remains at 0 whenever I download a bittorrent
file and because the download throughput is monotonically dependent on upload throughput on the p2p network, my doenload speed is also bottlenecked.

Please tell me how to set my iptables to allow uploads through those ports ONLY.

Old 08-16-2003, 10:27 AM   #2
Registered: May 2003
Location: Berlin
Distribution: Slackware 9.1 Kernel: 2.6.4
Posts: 60

Rep: Reputation: 15
opening this port range should be enough!
it works for me

i even only allowed connects on two ports cause i'm never downloading more than 2 torrents at the same time.. my firewall config looks like this:
ACCEPT net fw tcp 6881
ACCEPT net fw tcp 6882

(i'm using shorewall)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NAT'ing RC.FIREWALL Script & Port Forwarding Bittorrent wlfdgcrkz Linux - Networking 2 08-24-2004 11:08 PM
Bittorrent/Router/Firewall help chedburgh Linux - Networking 1 07-23-2004 05:29 AM
allowing bittorrent through an ipchains firewall chucky88 Linux - Security 1 04-15-2004 07:10 PM
BitTorrent Tracker Behaving Strangely When Run Through Linux Iptables Firewall tvynr Linux - Networking 0 04-07-2004 04:54 PM
Linux firewall with internet & dmz & trusted ikhwan98 Linux - Networking 0 11-23-2001 08:59 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration