OpenVPN

From CBLFS
Jump to navigationJump to search
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 Diffie Hellman parmaters file with the following command:

./build-dh

Contents

Installed Programs: openvpn
Installed Libraries: None
Installed Directory: None