PDA

View Full Version : [all variants] need to forward ports when using debtorrent?



robertbub
October 24th, 2010, 08:35 PM
I set up debtorrent on all my machines on my LAN, which is a varied mix of machines, including one Karmic, one Lucid, and a Debian Squeeze. These are behind a NAT-based firewall. I'm not sure if I'm getting any benefits from the bittorrent peer-to-peer features because I am not forwarding any ports.

So, here are my questions. Does anyone have a similar configuration?
How does one deal with debtorrent on multiple machines?
Does it really help if ports are forwarded?
If forwarding helps, does one need to segment the forwarded ports for each different machine?

Thanks.

cchhrriiss121212
October 24th, 2010, 09:44 PM
Port forwarding will help, but it is not strictly necessary for one off downloads. As you are looking to use debtorrent I assume you will want to seed a lot so I'd say it is a good idea.
I'm not sure what you mean about segmenting. Create an open port exception for each machine in your firewall setup and then specify the port to use from within debtorrent.

See here:
http://debtorrent.alioth.debian.org/FAQ/#index3h3

robertbub
October 24th, 2010, 10:00 PM
Create an open port exception for each machine in your firewall setup and then specify the port to use from within debtorrent.Does the port specified within debtorrent have to strictly match the port opened on the firewall device? I.e., is this a viable solution?: Lucid machine:
local port 9988 firewall port 9988
Karmic machine: local port 9988 firewall port 9989
Debian machine: local port 9988 firewall port 9990
Or, must the local port match the externally visible port?

Thanks.

cchhrriiss121212
October 24th, 2010, 10:48 PM
Or, must the local port match the externally visible port?

It's this one. What I do is have a separate port opened for each machine, so desktop A will use 7889, and desktop B will use 7888.

robertbub
October 25th, 2010, 02:50 PM
Hopefully, my final questions: what about the "ip" variable in the configuration file /etc/debtorrent/debtorrent-client.conf? If my assigned ip address dynamically changes, what do I do?

Thanks.

cchhrriiss121212
October 25th, 2010, 05:21 PM
Hopefully that will not happen, and if it does it should not occur too often. I can't say I've had any of my IPs changed in the last few years.
If it does happen you will need to edit the config.