Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was given these four files to access the office's vpn server. I am on ubuntu 12.04, and am unsure how to began using these.
I tried using the vpn connection tab under the network connections, but my files didn't specify a username after importing and it forced to me to save one, so attempting to connect to it didn't yield any results.

What am I supposed to do with these four files to connect to the vpn?

share|improve this question
    
The .ovpn file is the OpenVPN configuration file. The others are used by it, and should be in the same folder. I'm unfamilar with setting up OpenVPN on Ubuntu (or any vpn manager), but check that the package is installed and look for an option to import an OpenVPN configuration. –  Eroen Sep 16 '12 at 10:03

1 Answer 1

name.ovpn is a text file with the OpenVPN client configuration. It should contain (among other things) something like the following lines.

ca ca.crt
cert name.crt
key name.key

Put files without a path in the same directory as name.ovpn (e.g. /etc/openvpn or $HOME/foo), and put files with a path in the specified directory. Start openvpn like this:

openvpn --config /PATH/TO/name.ovpn

If you're using NetworkManager try importing name.ovpn in the VPN tab of your network connection.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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