Skip to content

Instantly share code, notes, and snippets.

@Suzhou65
Last active September 15, 2020 09:33
Show Gist options
  • Select an option

  • Save Suzhou65/f7a9c15ba99094a63fa858bf3c3dd879 to your computer and use it in GitHub Desktop.

Select an option

Save Suzhou65/f7a9c15ba99094a63fa858bf3c3dd879 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 install OpenVPN

Install OpenVPN Access Server

Install Iptables

sudo apt-get install iptables -y

Download OpenVPN Access Server package and install

wget https://swupdate.openvpn.org/as/openvpn-as-2.0.17-Ubuntu14.amd_64.deb 
dpkg -i openvpn-as-2.0.17-Ubuntu14.amd_64.deb

If Access Server successfully installed, you will see something like this:

The Access Server has been successfully installed in /usr/local/openvpn_as
Configuration log file has been written to /usr/local/openvpn_as/init.log
Please enter "passwd openvpn" to set the initial
administration password, then login as "openvpn" to continue
configuration here: https://10.0.1.1:943/admin
To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tools

Access Server web UIs are available here:
Admin UI: https://10.0.1.1:943/admin
Client UI: https://10.0.1.1:943/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment