<SOLVED> Setting up openvpn

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
jonblo
Level 1
Level 1
Posts: 2
Joined: Mon Jan 15, 2018 1:02 am

<SOLVED> Setting up openvpn

Post by jonblo » Mon Jan 15, 2018 1:11 am

I've tried to create a new connection but it won't work.

I open the network manager and click the plus icon to create a new connection. Then I choose openvpn in the list of connection types, then I get a new screen where I'm given a dropdown list to choose from. The standard option is a certificates (TLS) type connection and under that there's four things I need to enter; user certificate, CA certificate, private key, private key password. I have my config files and can select them but I don't have a private key password.

The 'Add' button is greyed out and I can't add a connection until I change something. I tried following the advice here;

https://superuser.com/questions/271740/ ... 32#1197832

but when I try to create a password the terminal tells me "Mac verify error: invalid password?"

There's also a place to enter a gateway but I don't know what that is supposed to be either.

Where am I going wrong?
Last edited by jonblo on Mon Jan 15, 2018 6:41 pm, edited 1 time in total.

jonblo
Level 1
Level 1
Posts: 2
Joined: Mon Jan 15, 2018 1:02 am

Re: Setting up openvpn

Post by jonblo » Mon Jan 15, 2018 6:39 pm

I thought I'd answer this myself, just in case it helps someone else.

My vpn provider emailed me with these instructions; don't bother with the network manager, just navigate to the folder that your config files are stored in (probably easiest to do this in the file manager rather than the terminal), right click and hit 'open with terminal' the run this command: sudo openvpn {file-name}

You'll have to enter the name of your config file. Mine is something like: go1-UDP4-6544-0THik.ovpn (not actual file name).

The file will probably end in .ovpn

Once you run that command it should connect you to your vpn. To test this go to whatsmyip.com or whatsmyip.org and see what you get. One of those websites lists the country that the ip address if from, so that should give you an indication of whether it's working or not.

User avatar
wallaroo
Level 3
Level 3
Posts: 122
Joined: Thu Feb 09, 2012 3:42 am

Re: <SOLVED> Setting up openvpn

Post by wallaroo » Mon Jan 15, 2018 7:06 pm

FYI ...

Generally the way to do this in Network Manager when you have an .ovpn file is to select 'Add' and in the drop down list select "Import a saved VPN configuration.." then select your ovpn file.

This way you will have the option of connecting and disconnecting at will through the Network Manager.

Post Reply

Return to “Other networking topics”