About OpenVPN Access Server: https://openvpn.net/index.php/access-server/overview.html. I use OpenVPN-AS to self-host a really easy to use VPN for Windows, Linux, and Android devices.
Access Server release notes for 2.0.3: http://openvpn.net/index.php/access-server/download-openvpn-as-sw/532-release-notes-v200.html
on the server side:
sudo apt-get install openvpn bridge-utils openvpn-blacklist
You should get (or later): “OpenVPN 2.3.2 x86_64-pc-linux-gnu”.
Check to verify that you will be downloading and installing the latest version of OpenVPN-AS by visiting this page and selecting your OS: https://openvpn.net/index.php/access-server/download-openvpn-as-sw.html
sudo dpkg -i openvpn-as-2.0.3-Ubuntu13.amd_64.deb
I use Ubuntu’s “Uncomplicated Firewall” (https://help.ubuntu.com/community/UFW) to mange my server-side iptables firewall. I added a rule to allow incoming TCP traffic over port 1194.
sudo ufw allow 1194/tcp
sudo ufw reload
Create a user on your server that won’t have administrative rights, that you’ll use to access your VPN:
sudo adduser ovpnuser
then on the client side:
Unfortunately, at the time of writing, “.ovpn” files are not supported through the gnome GUI as described here: http://askubuntu.com/questions/187511/how-can-i-use-a-ovpn-file-with-network-manager. So you will have to connect via command-line.
- Go to https://your_static_ip:1194 in your web browser.
- Log in with the above user credentials that you created.
- Click: “Yourself (user-locked profile)” to download the “client.ovpn” file.
- Open a terminal window and enter:
sudo openvpn --config /home/your_user/Downloads/client.ovpn
5. Verify that you’re using your remote IP address: http://ipchicken.com/