Friday, January 6, 2012

Ubuntu 10.10 OpenVPN by StrongVPN

New Ubuntu 10.10 release add some features to OpenVPN configuration on Network Manager.

First need install OpenVPN support for Ubuntu.

1) Open Terminal from Applications -> Accessories -> Terminal and use this command to install all:

sudo apt-get install network-manager-openvpn openvpn




After install recommend restart your computer , other way you can have some issues with setup.

2) Download and extract your configuration files




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

Under Network Manager go to VPN connections -> Configure VPN




4) Click Add under VPN tab




5) Choose OpenVPN and click Create




6) Enter name and Gateway using config file

Connection name any like StrongVPN (not critical)

Gateway from config file, see image as example

Type should be Certificate (TLS)




7) 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

Click Advanced and see next step…




8 ) Under Advanced fill port, using OpenVPN configuration file, see image as example

Set Use custom tunnel MTU using same config file, see image as example

Set Use custom UDP fragment size using config file, see image as example

and enable Restrict tunnel TCP Maximum Segment Size option




9) Under TLS Authentication tab

check option to Use additional TLS authentication

For Key file import your ta.key file

For Key direction set 1




10) Ok under Advanced and Apply to save all

OpenVPN configured and you can close Network Connections

Try to connect choosing StrongVPN(your entered name) from VPN connections




Wow!! you’re connected if you your icon changed




To close connection use Disconnect VPN… option
Note – If you have OpenVPN to TCP port

you need activate Use a TCP connection option and add correct port from configuration file

No comments:

Post a Comment