add this and deluge will be perfect

Suggestions and discussion of future versions
Post Reply
djevlen
New User
New User
Posts: 5
Joined: Fri Mar 15, 2013 5:44 pm

add this and deluge will be perfect

Post 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...
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: add this and deluge will be perfect

Post by gazpachoking »

Does setting the ip address of your vpn interface in preferences->network->interface work?
djevlen
New User
New User
Posts: 5
Joined: Fri Mar 15, 2013 5:44 pm

Re: add this and deluge will be perfect

Post 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 :D 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" ?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: add this and deluge will be perfect

Post by Cas »

The Toggle would be the solution but it needs webui code.
redled

Re: add this and deluge will be perfect

Post 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.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: add this and deluge will be perfect

Post by Cas »

listen_interface only accepts an ip address.
Post Reply