Create Ubuntu 14.04 LTS (PV) OpenVPN Access Server on AWS
Create AWS Instance
Inbound Security Group Rules
Custom UDP Rule
|
UDP
|
943
|
0.0.0.0/0
|
SSH
|
TCP
|
22
|
0.0.0.0/0
|
Custom UDP Rule
|
UDP
|
1194
|
0.0.0.0/0
|
HTTPS
|
TCP
|
443
|
0.0.0.0/0
|
Custom UDP Rule
|
UDP
|
443
|
0.0.0.0/0
|
Custom TCP Rule
|
TCP
|
943
|
0.0.0.0/0
|
Use PuTTYGen to convert pem to ppk. Add passphrase to the key.
Assign IP
Update DNS
SSH to host DNS name to verify proper name resolution. Login as ubuntu.
sudo apt-get update && sudo apt-get upgrade
The download page for OpenVPN Access Server.
https://openvpn.net/index.php/access-server/download-openvpn-as-sw/113.html?osfamily=Ubuntu
Right click the link and select ‘Copy link address’
From PuTTY download the deb
wget [right click]
Install the deb
sudo dpkg -i openvpn[tab]
Give user openvpn a password
sudo passed openvpn
It appears Ubuntu will open the ports, but I should figure out what is going on.
Open browser to admin page and log in as openvpn
Configure server. Be sure to properly add the server DNS name in Server Network Settings
Open browser to login page
Select “Login”
log in as openvpn
Download and install OpenVPN Connect for Window
Connect to VPN and verify server IP via ‘whats my ip’