Ubuntu 10.04 OpenVPN by StrongVPN tutorial
Create this tutorial for OpenVPN Setup on Ubuntu 10.04. This example for StrongVPN OpenVPN account.
First of all we need install OpenVPN support for Ubuntu.
Open terminal and use this command to install all:
sudo apt-get install network-manager-openvpn openvpn

Download and extract your configuration files.

Find and open your OpenVPN config file. For me its ovpn045.ovpn

Now we are ready to go
1) Under Network Manager go to VPN connections -> Configure VPN

2) Click Add under VPN tab

3) Select OpenVPN under options and click Create

4) Fill form using your OpenVPN configyration file
Connection name any like StrongVPN (for our example)
Gateway as in this image
Type should be Certificate (TLS)

6) Import certificates and key using your configuration files
User certificate will be ovpnXXX.crt
CA Certificate will be your ca.crt
Private Key will be your ovpnXXX.key

7) Under Advanced fill port, using OpenVPN configuration file

8 ) Under TLS Authentication tab
check option Use additional TLS authentication

9) For Key file import your ta.key file

10) For Key direction set 1
Ok under Advanced and Apply to save all

11) OpenVPN configured and we can close Network Connections window

12) Try to connect choosing StrongVPN from VPN connections

13) Done, we’re connected now

14) To close connection use Disconnect VPN… option

Note. VPN can not connect with default configuration
Depends on Network Manager you use, OpenVPN may not work. Then you should contact Strong VPN support to remove this lines from server:
fragment 1300
mssfix 1450
tun-mtu 1500
You can send email request to vpn (at) support.reliablehosting.com
Note 2. If you have OpenVPN to TCP port
you will need activate Use a TCP connection option and add correct port


Hi, thanks for the tutorial.
First of all, there is a minor typo in the first step. It should be “network” not “networm” in the command “apt-get install networm-manager-openvpn openvpn”. Though in the screencap it’s correct.
Secondly, I failed to connect to VPN. An error immediately appeared saying “no valid VPN secrets”. I configured exactly as instructed in the tutorial. Can you tell me what’s wrong with that?
hi!
thanks for correction.
make sure you properly add ta.key
please contact me at alexey@vpnblog.info with your details. I will try help you
Now the lock successfully appears on the right side of the icon. I think it’s true that 80% of the problems could be solved by a simple restart :] This tutorial works great. Thank you!
thanks for feedback
Got the same “no valid vpn secrets” message. ‘sudo /etc/init.d/network-manager restart’ worked for me.
Really appreciate what you’re doing here!
I was having trouble connecting with default until I found your thread. I simply changed the server over to the TCP 443 setting and it works great now (Linux Mint 9 KDE using the Gnome network Manager from Ubuntu). Hope that helps.
TCP mode more stable but can be quite slower
thanks for FYI
Hello,
Thanks for your synergy and help, in fact, I couldn’t find the file StrongVPN in my computer?where can I download it?
Thanks
Hello,
You can download files under StrongVPN Customer Area
This tutorial worked like a charm on OpenSuse, for those SUSE users take note, if you have TCP like me, you need to follow last part too. checking TCP connection.
I’ve connected, but after connected, I can’t browse any websites now! Is there some DNS configurations needed?
Hi,
I have just install openvpn using the sudo apt-get install network-manager-openvpn openvpn command at Terminal.After installing, I cannot found the configuration file.Do I buy need to buy a service from Strongvpn to use the VPN service or is the service free? Where can I download the configuration files?
Thanks
I have read your post and I had a question about the issue I am having, I bought a dedicated VPN from tuvpn yesterday and was trying to set it up on my machine running ubuntu 10.04. I followed the instructions on your post and seem to got rid off the “invalid vpn secrets” error, but I am now getting another error that the connection attempt to VPN timed out, any suggestions? Thanks in advance for your help.
Mike