Quantcast
Channel: SmallNetBuilder Forums
Viewing all articles
Browse latest Browse all 6885

force transmission to use VPN

$
0
0
i had this great idea to route default traffic through the wan interface; and all transmission traffic through the tun11 interface. the only problem is i have no idea how. heres something i found but its debian. cold someone convert this code into something the router will understand
Code:

pi@sam-berry ~ $ sudo iptables -A OUTPUT -m owner --uid-owner debian-transmission -d 192.168.0.100 -j ACCEPT
pi@sam-berry ~ $ sudo iptables -A OUTPUT -m owner --uid-owner debian-transmission \! -o tun0 -j REJECT


Viewing all articles
Browse latest Browse all 6885

Trending Articles