Difference between revisions of "OpenVPN"

From CBLFS
Jump to navigationJump to search
(Configuring)
Line 47: Line 47:
 
The information below is from http://openvpn.net/index.php/documentation/howto.html#install
 
The information below is from http://openvpn.net/index.php/documentation/howto.html#install
  
=== Generate the master Certificate Authority ===
+
Generate the master Certificate Authority
  
 
  cd easy-rsa/2.0
 
  cd easy-rsa/2.0
Line 63: Line 63:
 
  ./build-key-server server
 
  ./build-key-server server
  
=== Generate a client key ===
+
You can build a certificate and a key for clients with the following command:
  
 
  ./build-key client1
 
  ./build-key client1
  
=== Generate Diffie Hellman parameters ===
+
Generate [[Diffie Hellman|http://www.rsa.com/rsalabs/node.asp?id=2248]] parmaters file with the following command:
  
 
  ./build-dh
 
  ./build-dh

Revision as of 19:16, 6 November 2008

Download Source: http://openvpn.net/release/openvpn-2.1_rc19.tar.gz

Introduction to OpenVPN

OpenVPN is a full-featured open source SSL VPN solution that accommodates a wide range of configurations, including remote access, site-to-site VPNs, Wi-Fi security, and enterprise-scale remote access solutions with load balancing, failover, and fine-grained access-controls.

Project Homepage: http://www.openvpn.org/index.php/home.html

Dependencies

Recommended

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-iproute2 &&
make

Install the package:

make install

Multilib

32Bit

ToDo

N32

ToDo

64Bit

ToDo

Configuring

The information below is from http://openvpn.net/index.php/documentation/howto.html#install

Generate the master Certificate Authority

cd easy-rsa/2.0

Once in that directory edit the vars file to suite your needs.

After you're done editing the file run the following to generate a new key:

source vars
./clean-all
./build-ca

Next we need to generate a certificate and a key for the server.

./build-key-server server

You can build a certificate and a key for clients with the following command:

./build-key client1

Generate http://www.rsa.com/rsalabs/node.asp?id=2248 parmaters file with the following command:

./build-dh

Contents

Installed Programs: openvpn
Installed Libraries: None
Installed Directory: None
Retrieved from "?title=OpenVPN&oldid=15961"