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.
Bind to Interface or IP
Re: Bind to Interface or IP
I plan on adding this to 1.1.0garett 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.
-
- Member
- Posts: 10
- Joined: Sat Jan 10, 2009 10:22 pm
Re: Bind to Interface or IP
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
Kind regards
Re: Bind to Interface or IP
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.
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
I don't really see your point as either one of these options would work: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
-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
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.
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.
-
- Member
- Posts: 10
- Joined: Sat Jan 10, 2009 10:22 pm
Re: Bind to Interface or IP
That counts for deluged but not for deluge startet with web ui. Test it!yawie wrote:-you can disable remote connection in the options.
That situation is only existent behind some NAT device like a router.yawie wrote:-If you do port forwarding (that means your server does not have public ip) it works like you want to
I'm speaking of dedicated servers that reside in data centers and are offered for renting which are usually not behind a NAT device.
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.yawie wrote:-you can add iptables rules.
Re: Bind to Interface or IP
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).
(for example if you are not root and thus not have access to iptables).
Re: Bind to Interface or IP
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)
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
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!
Thanks!