{"id":228,"date":"2013-06-05T12:19:39","date_gmt":"2013-06-05T12:19:39","guid":{"rendered":"http:\/\/blog.shineservers.com\/?p=228"},"modified":"2013-06-05T12:19:39","modified_gmt":"2013-06-05T12:19:39","slug":"how-to-install-openvpn-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.shineservers.com\/2013\/06\/05\/how-to-install-openvpn-on-ubuntu\/","title":{"rendered":"How To Install OpenVPN On Ubuntu"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" alt=\"\" src=\"http:\/\/i.imgur.com\/63VVdBp.jpg\" width=\"705\" height=\"479\" \/><\/p>\n<p>If you want to get OpenVPN running on your server, the easiest way is using the OpenVPN-AS ( Access Server ). OpenVPN-AS is the commercial version of opensource OpenVPN project. But they are kind enough to let you use the OpenVPN-AS free for 2 concurrent users. Of course you can buy licenses and increase the user limit, But for personal use its enough.<\/p>\n<p>Installing OpenVPN-AS is very easy compared to the regular OpenVPN and it comes with a nice web based management interface as you can see on above screenshot. Also the web interface has nice options like showing bandwidth usage, connected user info etc. You can run OpenVPN-AS on 128MB ram VPS or higher. 128MB of RAM is more than enough for this purpose. Just grab a 128MB OpenVZ VPS from Ramnode or BuyVM and lets get in to the installation,<\/p>\n<p>Note :- OpenVPN-AS is available for many linux distros but Ill cover the Ubuntu and Debian. Install 32bit version of Ubuntu or Debian if you have less than 256MB of RAM on your VPS or Dedi. Also\u00a0don\u2019t forget to enable TUN\/TAP and PPP if you are using an OpenVZ VPS like shown below<\/p>\n<p><img decoding=\"async\" class=\"alignnone\" alt=\"\" src=\"http:\/\/i.imgur.com\/UEXlqSj.jpg\" width=\"438\" height=\"255\" \/><\/p>\n<h3>Installation<\/h3>\n<p>First of all lets update the system and packages<\/p>\n<div>\n<div>apt-get update<br \/>\napt-get upgrade<\/div>\n<\/div>\n<p>Then lets download the installation files from the OpenVPN web site<\/p>\n<p>For 32bit OS<\/p>\n<div>\n<div>wget\u00a0http:\/\/swupdate.openvpn.org\/as\/openvpn-as-1.8.5-Ubuntu12.i386.deb<\/div>\n<\/div>\n<p>For 64bit OS<\/p>\n<div>\n<div>wget http:\/\/swupdate.openvpn.org\/as\/openvpn-as-1.8.5-Ubuntu12.amd_64.deb<\/div>\n<\/div>\n<p>Then we just have to install it<\/p>\n<p>On 32bit OS<\/p>\n<div>\n<div>dpkg -i\u00a0openvpn-as-1.8.5-Ubuntu12.i386.deb<\/div>\n<\/div>\n<p>On 64bit OS<\/p>\n<div>\n<div>dpkg -i\u00a0openvpn-as-1.8.5-Ubuntu12.amd_64.deb<\/div>\n<\/div>\n<p><img decoding=\"async\" class=\"alignnone\" alt=\"\" src=\"http:\/\/i.imgur.com\/SZV2FOl.jpg\" width=\"677\" height=\"299\" \/><\/p>\n<p>Now we have to set a password for the openvpn user by below command. Enter a password you wish and this will be used to login to admin panel and the VPN.<\/p>\n<div>\n<div>passwd openvpn<\/div>\n<\/div>\n<p>Now you can access the admin panel by visiting<\/p>\n<div>\n<div>https:\/\/yourip:943<\/div>\n<\/div>\n<p>Thats it! You can use the OpenVPN clients to connect to your VPN. Download the official clients<a href=\"http:\/\/openvpn.net\/?option=com_content&amp;id=357\">\u00a0here<\/a>\u00a0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to get OpenVPN running on your server, the easiest way is using the OpenVPN-AS ( Access Server ). OpenVPN-AS is the commercial version of opensource OpenVPN project. But they are kind enough to let you use the OpenVPN-AS free for 2 concurrent users. Of course you can buy licenses and increase the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[60],"tags":[102],"class_list":["post-228","post","type-post","status-publish","format-standard","hentry","category-linux","tag-how-to-install-openvpn-on-ubuntu"],"acf":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":0,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}