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
Compile the package:
./configure --prefix=/usr --enable-iproute2 && make
Install the package:
The information below is from http://openvpn.net/index.php/documentation/howto.html#install
Generate the master Certificate Authority
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.
You can build a certificate and a key for clients with the following command:
Generate Diffie Hellman parmaters file with the following command: