Linux Mint 12, Network Manager and OpenVPN

I have been looking for how to set up OpenVPN with Network Manager under Linux Mint 12.I think that everyone has found that you cannot use the client.ovpn configuration file that OpenVPN.  After much searching I found the following guide as for OpenVPN client setup:

You can manually insert the configuration parameters in network-manager-openvpn

First you need the certificates in separate files you get these by entering the following commands on the Access server console.

1.cd /usr/local/openvpn_as/scripts2. ./sacli -a ADMIN -o OUTPUT_DIRECTORY –cn COMMON_NAME get5
ADMIN = openvpn access server administrator
-o = directory where you want the certificates stored
–cn = same as username, except for autologin profiles, append “_AUTOLOGIN” to the common name.
2. copy the certificates to a folder on your pc
3. click on the network manager, chose “VPN connections” –> “configure VPN”
4. click add
5. choose Openvpn click create
6. type in your gateway eg. vpn.mydomain.com
7. in “type” choose “password with certificates (TLS)”
8. in “user name” type in your openvpn user name
9. in “user certificate” choose the client.crt file you got earlier
10. in “CA certificate” choose the ca.crt file you got earlier
11. in “private key” choose the client.key file you got earlier
12. click “Advanced”
13. set your port number (default 1194)
14. click on the “use LZO data compression”
15. select tap “TLS Authentication”
16. check the “Use additional authentication
17. in “key file” select the ta.key file you got earlier
18. in “key direction” choose 1
19. click okay
20. click appy
21. click close
You should now be able to connect to your openVPN access server

NOTE: these settings are based on a standard openvpn access server setup and other setting may be needed for your setup, please check your client.ovpn file for correct settings to setup your connection.

Credit goes to”piet.petersen
Here’s the link to the original post OpenVPN Client via Network Manager

OpenVPN Client via Network Manager

About Mike Pelley

Let’s see… A little about me… I’ve been around information technology since 1983 with computers such as DEC Rainbows (weird machine – the standard DOS couldn’t format its own floppy disks – remember them? – and I had to format them on a friend’s IBM PC) to Radio Shack TRS-80 to Apple ][e and Apple //c in the beginning. I have programmed in 8-bit assembly language on 6502, FORTRAN and COBOL on IBM System/370 (and I still hate JCL), VAX BASIC and COBOL (and a weird and massive WordPerfect 4.0 macro) on DEC VMS (Alpha), C/C++ on Digital Unix (ALPHA), and C/C++, Perl (it may be powerful but I still hate it), PHP on Linux (Red Hat, Centos, Ubuntu, etc.). I have work with databases such as Digital RDB (later to become Oracle RDB), Oracle DBMS, Microsoft SQL Server, MySQL and PostgreSQL on VAX, Alpha, Sun and Intel. Check out my professional profile and connect with me on LinkedIn. See http://lnkd.in/nhTRZe I still think that Digital created some of the best ideas in the world: VAX clustering, DSSI disks (forerunner to SCSI) and the Alpha processor (first commercial 64-bit processor – Red Hat screamed on an Alpha!). DEC just could not seem to be able to give air conditioners away to someone lost in the Sahara Desert! VMware is one of the best ways to get the most out of an x64 server. And I have tried Oracle VM, Virtual Box and Microsoft Virtual Server. Outside of that I am a huge military history buff starting in the early 20th century. I love Ford Mustangs (my ’87 Mustang GT was awesome) and if I had the money I would have a Porsche 928S4. If I had a lot of money I would have a Porsche 911 Turbo. I also play too much AmrA 3 Exile mod. Over 5,000+ hours... I have a wonderful son, Cameron. I have a long suffering (Do you really need all that computer junk?) wife, Paula. I live in Paradise, Newfoundland and Labrador.
This entry was posted in Uncategorized. Bookmark the permalink.