Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want all my applications to use VPN connection except for Transmission, which I want to use my eth0 interface. But when I set "bind-address-ipv4":"" in the settings.jason , Transmission couldn't connect to any peer.

I also found out that I can't bind any application to local network interface when the VPN is connected, for example:

When the VPN is not connected:

$ ping -I
PING ( from : 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=44 time=229 ms
64 bytes from icmp_req=2 ttl=44 time=229 ms
64 bytes from icmp_req=3 ttl=44 time=229 ms
64 bytes from icmp_req=4 ttl=44 time=227 ms
64 bytes from icmp_req=5 ttl=44 time=226 ms
--- ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 226.323/228.578/229.797/1.332 ms

When the VPN is connected:

$ ping -I
PING ( from : 56(84) bytes of data.
--- ping statistics ---
133 packets transmitted, 0 received, 100% packet loss, time 132177ms
share|improve this question
up vote 0 down vote accepted

I was able to get things right following this post on serverfault.

I just added these ip routing rules and everything went fine:

$ sudo ip route add default via dev eth0 table 10
$ sudo ip rule add from table 10
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.