Starting Off
This is for Dapper ubuntu and openvpn
http://www.ubuntu.com/ http://openvpn.net/
(Once again thanks to my old boss for the help!)
Okay so the wonderful world of VPNs used by many business to add remote access to the network for those who travel. I will be using the latest Ubuntu version (dapper) and openvpn. (
http://openvpn.net/) I really only made this as a reference for me if I ever needed to set it up again but ill post on it here if others want to play around with.
Okay first you will need to edit the source.list for apt-get (located in /etc/apt/sources.list) uncomment all the repositories. Do an apt-get update and then apt-get upgrade to download and install the latest updates for the os. Next you will want to install the openvpn software.
Type:
Apt-get install openvpn (it should download and install itself.)
Apt-get install openssl
*note* I would recommend installing ssh
Apt-get install ssh
Now im not going to go into all the details of VPN (the difference between bridging and routing as you can read about that on the openvpn site). I’m going to go with the routing as it seems a lot simpler to set up and if you look at the opensite, and it does everything I want it to do.
From here we are going to setup the server.conf file for the server (/etc/openvpn)
Now there are a lot of options when it comes to setting up the server. I’m only doing the basic to get it up and running and allow you to connect to the server. (There are more advance things you can do with this software). Before we start I just want to add something. I created a folder in the openvpn directory called keys for the certificates.
If you would like to do this, then type mkdir keys in /etc/openvpn