Page 1 of 2
Bind to Interface or IP
Posted: Fri Aug 29, 2008 12:30 am
by garett
I was wondering if there was a way to force deluged to bind to an address or an interface?
In rtorrent, one does something like:
rtorrent -b xxx.xxx.xxx.xxx
I just need it to bind the external interface, not the internal remote control interface, however, that would also be handy if it is possible.
Re: Bind to Interface or IP
Posted: Fri Aug 29, 2008 11:04 pm
by andar
garett wrote:I was wondering if there was a way to force deluged to bind to an address or an interface?
In rtorrent, one does something like:
rtorrent -b xxx.xxx.xxx.xxx
I just need it to bind the external interface, not the internal remote control interface, however, that would also be handy if it is possible.
I plan on adding this to 1.1.0
Re: Bind to Interface or IP
Posted: Mon Jan 12, 2009 6:59 am
by Chiphead2XS
It would be pretty cool if the same would be possible for the web ui so that you can tell the web ui to bind e.g. only to localhost so you can use tunneling to access the web ui and not have the web ui exposed to the whole world.
Kind regards
Re: Bind to Interface or IP
Posted: Mon Jan 12, 2009 10:05 am
by bobbes
Any news on this topic?
Im just asking because im using 1.1.0 right now and im not able to find an option to bind deluge on an specific ip/hostname.
Re: Bind to Interface or IP
Posted: Mon Jan 12, 2009 1:27 pm
by yawie
Chiphead2XS wrote:It would be pretty cool if the same would be possible for the web ui so that you can tell the web ui to bind e.g. only to localhost so you can use tunneling to access the web ui and not have the web ui exposed to the whole world.
Kind regards
I don't really see your point as either one of these options would work:
-you can disable remote connection in the options.
-If you do port forwarding (that means your server does not have public ip) it works like you want to
-you can add iptables rules.
Re: Bind to Interface or IP
Posted: Mon Jan 12, 2009 2:55 pm
by bobbes
I have the problem that i got a tracker inside my network.
So i have to enter my external IP (or my DynDNS Host) to my Torrent Client.
If i cant do this, other Clients (which use my tracker) cannot access my Client.
Re: Bind to Interface or IP
Posted: Mon Jan 12, 2009 11:44 pm
by Chiphead2XS
yawie wrote:-you can disable remote connection in the options.
That counts for deluged but not for deluge startet with web ui. Test it!
yawie wrote:-If you do port forwarding (that means your server does not have public ip) it works like you want to
That situation is only existent behind some NAT device like a router.
I'm speaking of dedicated servers that reside in data centers and are offered for renting which are usually not behind a NAT device.
yawie wrote:-you can add iptables rules.
Each and every service comes with a option that configures the daemon to bind to a specific port and IP. I don't see the point why deluge should not behave in the same well-mannered way. The port has to be bound anyway, giving a specific IP to bind to shouldn't introduce much trouble and in fact I tend to see that as good housekeeping.
Re: Bind to Interface or IP
Posted: Tue Jan 13, 2009 10:06 am
by yawie
OK, in case of a public server it may be usefull to bind only on localhost.
(for example if you are not root and thus not have access to iptables).
Re: Bind to Interface or IP
Posted: Sun Jan 25, 2009 5:22 pm
by oneri
small patch for bind interface
in file deluge_webserver.py located in /usr/share/python-support/deluge-torrent/deluge/ui/webui (on my ubuntu 8.10, deluge v1.1.0 from this site)
find string server_address=("0.0.0.0", int(config['port'])) and change it for server_address=("X.X.X.X", int(config['port'])) where X.X.X.X is interface ip address.
In my opimion it for default must be 127.0.0.1 (for secure)
Re: Bind to Interface or IP
Posted: Fri Feb 19, 2010 8:43 am
by Sian
Any news on binding the bittorrent traffic to one interface (I assume the fix posted above relates only to the webserver)? I'd really like to see this feature in the client, ATM only Vuze and rtorrent do support binding the torrent traffic to one distinct interface.
Thanks!