Page 1 of 1
add this and deluge will be perfect
Posted: Fri Mar 15, 2013 5:56 pm
by djevlen
Hi..
Using deluge web ui..and must say it is impressive ..however im missing 1 important feature which allow to bind to interface.
Server has 3 network interfaces, one of them is VPN. It is not acceptable that deluge auto switch to other interface when one interface drops. If iface drops then downloads/uploads must also stop.
Is it possible that devs look into this ? Any one able to work out temporary solution ?
gretzz...
Re: add this and deluge will be perfect
Posted: Sat Mar 16, 2013 4:54 am
by gazpachoking
Does setting the ip address of your vpn interface in preferences->network->interface work?
Re: add this and deluge will be perfect
Posted: Sat Mar 16, 2013 3:47 pm
by djevlen
yes it does. Got deluge to work exactly as i wanted to by making iptables rules for deluge. it will only download when tun0 is up. Now i don't have to use strange scripts anymore to kill deluge if vpn drops.
However i had to learn iptables for that

Although my problem is solved i still think that binding to iface is very usefull feature.
Btw.. "pause all/start all" button in the web ui would be really nice also ..Is that on the drawing board or should put that as a "feature request/suggestion" ?
Re: add this and deluge will be perfect
Posted: Sat Mar 16, 2013 5:50 pm
by Cas
The Toggle would be the solution but it needs webui code.
Re: add this and deluge will be perfect
Posted: Mon Mar 18, 2013 6:33 pm
by redled
djevlen wrote:Got deluge to work exactly as i wanted to by making iptables rules for deluge. it will only download when tun0 is up.
Hi djevlen,
can you tell us how you did that?
When I set listen_interface to the (vpn) ip from tap0, deluge still downloads via eth0 (which I checked with
http://torguard.net/checkmytorrentipaddress.php)
Also there seems to be a bug when setting listen_interface via the command line. Then it also listens on 0.0.0.0.
Re: add this and deluge will be perfect
Posted: Tue Mar 19, 2013 12:17 am
by Cas
listen_interface only accepts an ip address.