Force deluge to use vpn
I've built a server that I'm using deluge-web and deluged on. I have a vpn connection and I'd like to force deluge to use the vpn connection.
My current config/solution is: Code:
deluge --> dante proxy --> vpn What I'm worried about it that I've heard other users say that they've noticed that deluge will sometimes pick up eth0 when tun0 disconnects. I tried rejecting packets for the deluge user that are not headed to tun0 in iptables with: Code:
iptables -A OUTPUT -m owner --uid-owner deluge \! -o tun0 -j REJECT Code:
iptables -A OUTPUT -m owner --uid-owner deluge -d 192.168.0.44 -j ACCEPT Thanks! |
All times are GMT -5. The time now is 09:22 PM. |