Results 1 to 4 of 4

Thread: network-manager-vpnc not setting default route to tun0

  1. #1
    Join Date
    Dec 2006
    Beans
    5

    network-manager-vpnc not setting default route to tun0

    Hello,
    I'm using Ubuntu 9.10, I've installed network-manager-vpnc and I can connect to my work vpn.
    Every time I connect I need to run the following:

    sudo ip route del default
    sudo ip route add default dev tun0

    to have everything working.

    and in syslog I found:

    Nov 9 22:40:13 franco-laptop NetworkManager: <info> Policy set 'Auto kinopoli' (wlan0) as default for routing and DNS.

    How do I get NetworkManager to use tun0 as default for routing ?

    Thanks
    Franco

  2. #2
    Join Date
    Dec 2006
    Beans
    5

    Re: network-manager-vpnc not setting default route to tun0

    I solved this by unticking "use this connection only for resources on its network" in Network Connections -> VPN -> edit -> Ipv4 settings tab -> Routes.

    cheers
    Franco

  3. #3
    Join Date
    Jan 2010
    Beans
    1

    Re: network-manager-vpnc not setting default route to tun0

    Thank you for posting your solution, which helped me solve the same issue.
    Have a nice day,
    Berni

  4. #4
    Join Date
    Dec 2007
    Beans
    3

    Re: network-manager-vpnc not setting default route to tun0

    +1 Thank you as well.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •