Thursday, May 7, 2026

Install OpenVPN Access Server on Debian 13 or Ubuntu 26

Install Debian or Ubuntu on a box.  This example has it being installed on ProxMox

Tested on a standard server installation of Debian 13.2.0 or Ubuntu Server 26.04 LTS

The only 'additional' option I added at time of install was the SSH server.  I usually deactivate the Gnome desktop environment as well since I'll do everything via CLI

Once Debian is installed, lets patch the box.

DETERMINE its IP.  Logon to the console of the box and type in

ip a

You'll see that the system (in this example) set up the ip of 192.168.0.192 via DHCP

Load your SSH client (Putty in this exmaple) and ssh to the box with the user/password you assigned during Debian installation

Once logged in, assuming this is a brand new box,

DEBIAN 13

su -

(password0
 

apt install curl

apt install sudo

apt update && sudo apt upgrade -y

Then the following command was run (from the access server install on the OpenVPN site).  And it did the whole thing for this installation.  For Ubuntu, you will need to run as root, so "Sudo su" first.

bash <(curl -fsS https://packages.openvpn.net/as/install.sh) --yes

It will go through a bunch of installation routines.  

You should note that the installation will generate a user/password during install.   It will look something like below.   So its best to do the install in a system where you can easily scroll back the console history, else it will be difficult to logon.


When you get a "Installation successful!" response.  You should be able to HTTPS to the box

https://IPofServer:943/admin


Enter in your credentials

openvpn / XTI5Xj8Fqy2e

You'll get prompted with a License Agreement


You'll be in the GUI now.  Newer version after the intial writing of this page will prompt you to download the client, you can skip those steps with the button in the corner


Change the GUI openvpn admin password

Goto USERS -> OpenVPN -> Reset Password




No comments:

Post a Comment

Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.