Openvpn: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Steps to setting up a VPN on a Ubuntu server
Steps to setting up a VPN on a Ubuntu server


1. First '''install''' the openvpn software with the command
1. First '''install''' the openvpn software with the command.


''aptitude install openvpn''
''aptitude install openvpn''
Line 9: Line 9:
''/etc/openvpn''
''/etc/openvpn''


2. to make things easier you can '''copy the dir "easy-rsa"''' from the samples dir to the current dir of "/etc/openvpn"
2. to make things easier you can '''copy the dir "easy-rsa"''' from the samples dir to the current dir of "/etc/openvpn".


''cp -R /usr/share/doc/openvpn/examples/easy-rsa/ ./''
''cp -R /usr/share/doc/openvpn/examples/easy-rsa/ ./''
3. after copying the easy-rsa dir switch to easy-rsa/2.0 where we will build the Certificates of Authority with some scripts.

Revision as of 17:40, 12 May 2010

Steps to setting up a VPN on a Ubuntu server

1. First install the openvpn software with the command.

aptitude install openvpn

all of the files will be located in the:

/etc/openvpn

2. to make things easier you can copy the dir "easy-rsa" from the samples dir to the current dir of "/etc/openvpn".

cp -R /usr/share/doc/openvpn/examples/easy-rsa/ ./

3. after copying the easy-rsa dir switch to easy-rsa/2.0 where we will build the Certificates of Authority with some scripts.