Home > Uncategorized > Create Ubuntu 14.04 LTS (PV) OpenVPN Access Server on AWS

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

https://%5Burl%5D:943/admin/

Configure server.  Be sure to properly add the server DNS name in Server Network Settings

Open browser to login page

https://%5Burl%5D:943/

Select “Login”

log in as openvpn

Download and install OpenVPN Connect for Window

Connect to VPN and verify server IP via ‘whats my ip’

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: