When setting up a VPN connection using the UI (System settings => Network) the VPN connection is used as the default route after connecting to it.

How can I avoid this? That is without assigning manual addresses. I want the connection to use DHCP. It should use the eth* interfaces for my default route, like they are used before making the connection. The VPN route should only be used when connecting to addresses in the ppp0 adapters range.

If possible using the GUI only, not that I'm not used to editing config files...

I tried setting the "Method" combobox in the "Configure..." dialogue to "Automatic (VPN) addresses only". That doesn't make a difference.

(Another thing I noticed; the UI shows my connection as a "Wireless connection" in the list control on the left. Don't know why... it has the right icon, but that's probably something for the bug tracker.)


In your VPN connection settings, tick the box 'use this connection only for resources on its network'

enter image description here

  • 1
    I will have my eyes checked...! Thanks duffydack, confirmed working. – Pieter Pabst Apr 12 '12 at 18:51
  • 1
    Whenever I check that setting, it literally disables me from accessing anything on the remote network when I connect... – meanbunny Aug 28 '15 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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