LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


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

Rep: Reputation: 30
BitTorrent on Linux & Firewall


Hi,

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.

Thanks,
 
Old 08-16-2003, 09:27 AM   #2
core
Member
 
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)
 
  


Reply



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 10:08 PM
Bittorrent/Router/Firewall help chedburgh Linux - Networking 1 07-23-2004 04:29 AM
allowing bittorrent through an ipchains firewall chucky88 Linux - Security 1 04-15-2004 06:10 PM
BitTorrent Tracker Behaving Strangely When Run Through Linux Iptables Firewall tvynr Linux - Networking 0 04-07-2004 03:54 PM
Linux firewall with internet & dmz & trusted ikhwan98 Linux - Networking 0 11-23-2001 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:35 PM.

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