1

I would like to force all connections that a specific application (transmission) uses over a OpenVPN connection.

So far, my VPN provider pushes a default route.

I know that transmission can set a "bind-address-ipv4" option. I also know that iptables can match network connections to users and e.g. route all of the transmission-user's connections over the openvpn interface.

My problem is that I'm not exactly sure which one is a cleaner approach and how to exactly do that.

2
  • I'm not sure I understand your layout. Do you want VPN clients to route application traffic through the VPN? Feb 20, 2012 at 14:25
  • I have a homeserver with transmission and a few other applications on it and an openvpn account at a VPN provider. I would like to have ONLY transmission be routed over the OpenVPN connection, all other software can use the regular internet connection
    – rb2k
    Feb 20, 2012 at 20:34

1 Answer 1

1

Ok, the solution I went for:

  • I used a regular SSH connection and created a socks proxy using "-D $PORT"
  • I used Proxychains to force XBMC through the socks Proxy. That way I can use the Hulu Plugin.
  • I used Deluge instead of Transmission because Deluge supports setting a proxy and doesn't even need proxy chains

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .