View Single Post
Old October 29th, 2006, 09:14 AM   Digg it!   #1 (permalink)
GroundZero3
A hero in training
 
GroundZero3's Avatar
 
Join Date: Oct 2001
Location: Norfolk, VA
Posts: 22,394
Blog Entries: 5
HOWTO: Openvpn and Ubuntu (Dapper)

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

GroundZero3 is offline   Reply With Quote
TechIMO.com Ads - Login or register for less ads.
How many errors does your computer have?

You no longer need to guess! This free stability scan and registry cleaner download will give you a complete diagnosis of your Windows registry, identifying errors and conflicts.

FREE instant scan


Guest, Register Free! to remove this ad and get your tech support questions answered in minutes!