Setting Up a VPN Server
We use OpenVPN to set up a simple server. Advanced configuration can become quite complex, but it is easy to get started if you only require a basic server.
Install openvpn
from the Ubuntu software repositories.
The next several steps create a public key infrastructure (PKI) for your OpenVPN.
Set up the certificate authority to generate your own certificates and keys.
matthew@seymour:~$ sudo mkdir /etc/openvpn/easy-rsamatthew@seymour:~$ sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
Enter your specific details by editing /etc/openvpn/easy-rsa/vars
and adjusting the following:
export KEY_COUNTRY="us"export KEY_PROVINCE="IA"export ...
Get Ubuntu Unleashed 2015 Edition: Covering 14.10 and 15.04, Tenth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.