Networking Forums

Networking Forums > Computer Networking > Linux Networking > bind applications to ports

Reply
Thread Tools Display Modes

bind applications to ports

 
 
Christian Christmann
Guest
Posts: n/a

 
      03-02-2004, 11:30 PM
Hi,

I use Debian sarge with iptables v1.2.9. What I'm
trying to do is to bind the ports 6882-6889 to my
bittorrent programm called btdownloadcurses in order
to increase the download rate.
In google I figured out that these ports must be
mapped to the application using iptables rules.
Unfortunately, I could find any information
how this rule must look like.

Could you give me a hint.

Are the iptables rules the only changes I have to
do or are further steps required to have bittorrent
working with the aforementioned ports?

Thank you for your answer.

Regards,

Christian

 
Reply With Quote
 
 
 
 
Robert Spielmann
Guest
Posts: n/a

 
      03-03-2004, 09:37 AM
Christian Christmann wrote:

> Hi,
>
> I use Debian sarge with iptables v1.2.9. What I'm
> trying to do is to bind the ports 6882-6889 to my
> bittorrent programm called btdownloadcurses in order
> to increase the download rate.
> In google I figured out that these ports must be
> mapped to the application using iptables rules.
> Unfortunately, I could find any information
> how this rule must look like.
>
> Could you give me a hint.
>
> Are the iptables rules the only changes I have to
> do or are further steps required to have bittorrent
> working with the aforementioned ports?
>
> Thank you for your answer.
>
> Regards,
>
> Christian



Hi,

I assume that your firewall blocks everything, so in general, you will have
to "punch holes" by "opening" the specific ports. You can use an iptables
rule like

iptables -A INPUT -p tcp --dport 6882 -j ACCEPT

etc. or a port range:

iptables -A INPUT -p tcp --dport 6882:6889 -j ACCEPT

You will have to place this rule *in front of* all rules that specify any
sort of drop, reject etc.

If you actually want to use ports 6882 through 6889 and leave out 6881, you
should give the --minport parameter to btdownloadcurses, see manpage: by
default, the minport is 6881.

Good luck,
Robert
--
"Dieser Satz enthält exakt trei Feehler."
Douglas R. Hofstadter, Metamagicum
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some Applications Can Not connect to the internet Primex Wireless Networks 3 09-02-2009 08:25 PM
xhost applications only as root dennis Linux Networking 0 09-15-2007 03:11 PM
opening ports for applications thomas.santos@gmail.com Linux Networking 5 07-16-2007 11:22 PM
applications of a 2k3 server D L Rome {SNHS} Windows Networking 1 04-28-2004 09:15 AM
USB port adapter -> Multi USB ports existing ? Extending number of USB ports possible ? Thomas Jerkins Windows Networking 1 12-24-2003 01:15 PM



1 2 3 4 5 6 7 8 9 10 11