Results 1 to 3 of 3

Thread: Getting OpenVPN to work through the network manager gui

  1. #1
    Join Date
    Nov 2009
    Location
    Oklahoma (USA) and India
    Beans
    110
    Distro
    Kubuntu 13.04 Raring Ringtail

    Getting OpenVPN to work through the network manager gui

    I have installed network-manager-openvpn and I am trying to connect through my VPN using the networkmanager gui in Kubuntu 12.10. I click "manage connections", click on the "VPN" tab, click "import" and select my .conf file. Though I don't know exactly how it should look, it seems to load all of the information and key locations correctly. It indicates that it is connected, but I have no internet connection at all at that point. Is there something I am missing?

    Thanks

  2. #2
    Join Date
    Nov 2009
    Location
    Oklahoma (USA) and India
    Beans
    110
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: Getting OpenVPN to work through the network manager gui

    The owner of all the files is "root" and they are all in /etc/openvpn. Would any of those facts make any difference?

  3. #3
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Getting OpenVPN to work through the network manager gui

    First, can you ping the other end of the tunnel? If you don't know what it is, type the command "ifconfig" and look for the entry for tun0 or tap0. You'll see the IP address of the tunnel on your end, and the IP address of the other end of the tunnel as "P-t-P" ("point-to-point"). The entry should look like this:
    Code:
    inet addr:10.1.1.20  P-t-P:10.1.1.1  Mask:255.255.255.255
    This indicates my local machine has address 10.1.1.20 and connects over the tunnel to 10.1.1.1. So to test the tunnel, I'd run "ping 10.1.1.1". If it times out, the tunnel is not configured correctly.

    If ping works, then run the command "route -n" and see where the default gateway points (the route for Destination 0.0.0.0). Does it use the other end of the tunnel?

    Preserving Internet connectivity on a machine using a VPN can be tricky. You have to maintain a direct connection to the Internet so the tunnel can be constructed, but then send all the appropriate traffic over the tunnel.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

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
  •