You are not logged in.

#1 2014-01-13 13:13:09

ProfStrange
Member
Registered: 2014-01-13
Posts: 1

Force Deluge to only use OpenVPN Connection

Hi Everyone,

I am researching this for quite a while now, but although I found some usefull information on the topic I couldn't resolve my problem.

I have a home server which is running a Deluge ThinClient. I want to  force Deluge to only use the VPN connection (if it's established - if it's not, Deluge should have no internet access).

I already tried to use an iptable rule, as suggested in many posts. I tried the following first, to test if I can restrict internet access completley for Deluge, but it still downloads my test torrent.

# iptables -A OUTPUT -m owner --gid-owner deluge -j DROP

also

# iptables -A OUTPUT -m owner --uid-owner deluge \! -o tun0 -j REJECT

does not the trick.

I tried a lot more, but nothing worked. No matter how I configured iptables, Deluge never stopped using my non VPN connection.

I appreciate any help,
Thanks a lot

Last edited by ProfStrange (2014-01-13 13:14:24)

Offline

#2 2014-01-13 18:07:23

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: Force Deluge to only use OpenVPN Connection

Can't deluge-web or editing .config/deluge/core.conf do this as opposed to setting iptables rules?

Offline

Board footer

Powered by FluxBB