Results 1 to 3 of 3

Thread: OpenVPN Setup Question/Issue

  1. #1
    Join Date
    Mar 2008
    Location
    Santa Barbara, CA USA
    Beans
    146
    Distro
    Ubuntu 12.10 Quantal Quetzal

    OpenVPN Setup Question/Issue

    I am running Ubuntu 12.10 and recently started using the Private Internet Access VPN service. They have an install/setup script for OpenVPN that installs OpenVPN and configures all of thier accessable gateways. I ran the script and everything went fine. I was able to right-click the Network Manager icon, go to VPN, see a list of gateways, click on one and connect... After rebooting the computer when I right-click the Network Manager I no longer have VPN listed on the menu. If I select Edit, then select VPN I see that all of the configured gateways are still there, and still properly configured.

    My question is this: Is what I am describing normal and I am just supposed to be running a script at bootup that sets up OpenVPN and the Network Manager each time, or is what I am describing not normal and indicative of an issue that needs to be addressed? If I need to be running a script at bootup, does anyone have any examples of what it needs to contain?

    I am new to OpenVPN, so I don't know if I am just being an idiot, or I am experiencing an actual problem.

    Thanks in advance for any assistance anyone can offer!

  2. #2
    Join Date
    Jul 2005
    Beans
    2,050

    Re: OpenVPN Setup Question/Issue

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 09:56 PM.

  3. #3
    Join Date
    Mar 2008
    Location
    Santa Barbara, CA USA
    Beans
    146
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: OpenVPN Setup Question/Issue

    @ahallubuntu: Thank you for the information. I did not realize the Network Manager was so buggy...

    I got around the issue by doing the following: First I ran the following command in the Terminal to find out the uuid numbers for all installed VPN gateways:
    Code:
    nmcli con list | grep -i vpn
    Once I knew the uuid number for the gateway I need to use I ran the following command to connect to it (substituting the real uuid for xxxxxx):
    Code:
    nmcli con up uuid
    Since that worked I created the following script and added a link to it in the Startup Applications so I connect automatically at boot (the sleep command gives the Network Manager time to load before the command is issued to connect to the VPN gateway):
    Code:
    #!/bin/bash
    
    sleep 10
    nmcli con up uuid

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
  •