{"id":95,"date":"2012-11-22T16:50:56","date_gmt":"2012-11-23T00:50:56","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=95"},"modified":"2012-11-22T17:32:23","modified_gmt":"2012-11-23T01:32:23","slug":"openvpn-with-gnome-networkmanager-plug-in","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/openvpn-with-gnome-networkmanager-plug-in\/","title":{"rendered":"OpenVPN with Gnome NetworkManager plug-in"},"content":{"rendered":"
Instructions how to use the OpenVPN plug-in with the Gnome NetworkManager.<\/p>\n
Details:<\/strong><\/p>\n - In this case the OpenVPN server hands out dynamic IP addresses. Get your user configuration file:<\/strong><\/p>\n In a browser visit your OpenVPN server webpage at https:\/\/server.domain\/ Split client.ovpn into several files:<\/strong><\/p>\n The Gnome NetworkManager does not like using one big configuration file, although the command line OpenVPN client does work fine with one file (client.ovpn). \u00a0For NetworkManager you can break out manually with an editor or as follow. I used my personal home folder to store the files.<\/p>\n ** After you split the configuration up remember to edit the files and remove the lines containing the open <> and close <\/> tags.<\/em><\/p>\n Install the OpenVPN plugin for NetworkManager:<\/strong><\/p>\n Below are some screen shots showing some configuration settings fro this particular setup. Your mileage may vary depending on how your administrator configured the server.<\/p>\n Add a new VPN Connection in GNOME:<\/p>\n Reference certificates and keys:<\/p>\n
\n- Ubuntu 12.10 64-bit client.<\/p>\n
\nFollow Login > Download \u201cYourself (user-locked profile)\u201d > Save As client.ovpn
\n** I renamed the file to client_29.ovpn since I have multiple servers I connect to.<\/em><\/p>\n\r\nsed -n '\/\/,\/<\\\/tls-auth>\/p' client_29.ovpn > sitename_ovpn_29tls.key\r\nsed -n '\/\/,\/<\\\/cert>\/p' client_29.ovpn > sitename_ovpn_29.crt\r\nsed -n '\/\/,\/<\\\/ca>\/p' client_29.ovpn > sitename_ovpn_29ca.cer\r\nsed -n '\/\/,\/<\\\/key>\/p' client_29.ovpn > sitename_ovpn_29.key\r\n<\/pre>\n
\r\n# aptitude install network-manager-openvpn-gnome\r\n<\/pre>\n
\n<\/a><\/p>\n
\n