installing_openvpn_on_ubuntu_8.04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installing_openvpn_on_ubuntu_8.04 [05.02.2010 22:46] Pascal Suterinstalling_openvpn_on_ubuntu_8.04 [29.09.2012 10:41] (current) Pascal Suter
Line 1: Line 1:
 ====== Installing OpenVPN on Ubuntu 8.04 ====== ====== Installing OpenVPN on Ubuntu 8.04 ======
 +thereis a good guide at [[https://help.ubuntu.com/11.10/serverguide/openvpn.html]]
 <code> <code>
 apt-get install openvpn openssl  apt-get install openvpn openssl 
Line 13: Line 14:
 ./build-dh ./build-dh
 ./build-key [client-name] ./build-key [client-name]
-cd keys +cd keys/ 
-cp ca.dh1024.pem server.* /etc/openvpn/+cp myservername.crt myservername.key ca.crt dh1024.pem /etc/openvpn/
 cd /usr/share/doc/openvpn/examples/sample-config-files cd /usr/share/doc/openvpn/examples/sample-config-files
 gzip -d server.conf.gz gzip -d server.conf.gz
Line 32: Line 33:
 group nogroup group nogroup
 </code> </code>
 +
 +also uncomment the line 
 +  client-to-client
 +
 ===== optional: NAT for vpn clients ===== ===== optional: NAT for vpn clients =====
 if you want your vpn clients to be able to use this server as their internet gateway as well continue here:  if you want your vpn clients to be able to use this server as their internet gateway as well continue here: 
Line 43: Line 48:
 ==== configure your client ==== ==== configure your client ====
 copy the files ca.crt, client.crt and client.key from the server in ///usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/// to your client. also copy the example config file for the client from ///usr/share/doc/openvpn/examples/sample-config-files/client.conf/// to the same directory on your client as the certificates.  copy the files ca.crt, client.crt and client.key from the server in ///usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/// to your client. also copy the example config file for the client from ///usr/share/doc/openvpn/examples/sample-config-files/client.conf/// to the same directory on your client as the certificates. 
 +adjust the name of your server in the client config file and again the nouser, nogroup to help with security. 
  
  
- 
- 
- 
-</code> 
  
  
  • installing_openvpn_on_ubuntu_8.04.1265406395.txt.gz
  • Last modified: 05.02.2010 22:46
  • by Pascal Suter