Skip to content

Instantly share code, notes, and snippets.

@clungzta
Last active January 26, 2018 06:35
Show Gist options
  • Save clungzta/6842b8123d7a75c7b349aa447568f0b6 to your computer and use it in GitHub Desktop.
Save clungzta/6842b8123d7a75c7b349aa447568f0b6 to your computer and use it in GitHub Desktop.
Openvpn Access Server

On server

  1. Create user account (useradd), add password for this user (passwd)
  2. Login to openvpn access server admin, add openvpn account with the same credentials

On Client
3.sudo apt-get install openvpn
4. Login to openvpn access server (on port 943) with credentials, download the "autologin profile"
5. sudo cp client.ovpn /etc/openvpn/client.conf
6. echo "AUTOSTART=\"ALL\"" | sudo tee -a /etc/default/openvpn
7. To connect to VPN: sudo service openvpn start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment