Page 1 of 1
Port forwarding: how many ports to forward?
Posted: Fri Jul 03, 2009 6:55 am
by ray
I am using deluge for about one week(on Ubuntu) and I find it extremely useful. Thanks a lot to the developers for their excellent work.
My question is, how many ports do I need to forward from the router, currently I have forwarded only one port but I am confused. I googled a lot but it only resulted in increased confusion.
thanks in advance.
Re: Port forwarding: how many ports to forward?
Posted: Fri Jul 03, 2009 7:03 am
by johnnyg
it depends if you're telling deluge to use a single port or a range.
Preferences->Network will have the port range you're telling deluge to use for incoming connections (this is what you want to forward).
you can make deluge only use one port but the start and end ports of the range being the same (i.e. 54678 - 54678)
Make sure you forward both tcp and udp (udp is used for DHT).
Re: Port forwarding: how many ports to forward?
Posted: Fri Jul 03, 2009 7:17 am
by ray
johnnyg wrote:it depends if you're telling deluge to use a single port or a range.
Should I tell deluge to use more than one port or is a single port enough?
Re: Port forwarding: how many ports to forward?
Posted: Fri Jul 03, 2009 7:26 am
by johnnyg
single port is fine, range is only useful if you have several applications that want to use the same port (or port range).
Re: Port forwarding: how many ports to forward?
Posted: Mon Jul 06, 2009 8:03 pm
by negge
One port is perfectly enough, more is just an unnecessary security risk.
Re: Port forwarding: how many ports to forward?
Posted: Tue Jul 07, 2009 1:44 am
by andar
negge wrote:One port is perfectly enough, more is just an unnecessary security risk.
How so?
libtorrent will only ever use one port in the range and will only try another if the one selected is unavailable.
Re: Port forwarding: how many ports to forward?
Posted: Tue Jul 07, 2009 4:37 am
by loki
I think meaning if you set a port range in the router/firewall it could pose a greater risk versus if it was just a single port.
Re: Port forwarding: how many ports to forward?
Posted: Tue Jul 07, 2009 5:09 am
by andar
loki wrote:I think meaning if you set a port range in the router/firewall it could pose a greater risk versus if it was just a single port.
If there is nothing listening on those forwarded ports it wouldn't matter.. The connection would just be dropped.
Re: Port forwarding: how many ports to forward?
Posted: Tue Jul 07, 2009 12:29 pm
by negge
loki wrote:I think meaning if you set a port range in the router/firewall it could pose a greater risk versus if it was just a single port.
That's what I meant.