In this tutorial, you’ll learn how to install OpenVPN access server on Ubuntu. Please see the official OpenVPN website for minimum system requirements.
Install OpenVPN on Ubuntu
As always, first make sure that your system has up-to-date packages.
apt update apt upgrade
Next, install required dependencies.
apt install ca-certificates wget net-tools gnupg
Add the OpenVPN server to your repository list.
wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add - echo "deb http://as-repository.openvpn.net/as/debian focal main">/etc/apt/sources.list.d/openvpn-as-repo.list apt update
Finally, install the OpenVPN access server.
apt install openvpn-as
Access the Admin Dashboard
You can access the OpenVPN administrator dashboard at https://<your-ip>:943/admin or https://<your-domain>:943/admin. In either case, the default username is openvpn.
You will need to set the password for the openvpn user. You can do this with the passwd command.
passwd openvpn
OpenVPN Client Setup
In the admin dashboard, you can add users under User Management. Users can access the OpenVPN server at https://<your-ip>:943 or https://<your-domain>:943 where they can login and download the client software for their device. Supported operating systems include Mac, Windows, iOS, Android, and Linux.

Hello,
if using ubuntu 64bit, You have to add “[arch=amd64]” after deb on openvpn-as-repo.list file to force 64-bit architecture or you can get this error :
Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://as-repository.openvpn.net/as/debian focal InRelease’ doesn’t support architecture ‘i386’
Its showing as The following packages have unmet dependencies:
openvpn-as : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages. How to solve this?
Same issue here!
Try the following commands:
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb
Source: https://github.com/dotnet/sdk/issues/24759#issuecomment-1214190207
Very helpful – thanks. There’s a typo in the dpkg line .deb file should be *_18.04.23_*.deb
Hey,
I found a solution for arm64 arch.
Run:
wget http://launchpadlibrarian.net/475575244/libssl1.1_1.1.1f-1ubuntu2_arm64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb
And try to install it again (for me it worked):
apt install openvpn-as
Kr 👋
On Ubuntu server 24.04 , I also had that issue ” Depends: libssl1.1 (>= 1.1.1) but it is not installable.”
I solved this by installing openSSL as shown here : https://idroot.us/install-openssl-ubuntu-24-04/
The solution to this problem is:
# echo “deb http://security.ubuntu.com/ubuntu focal-security main” | sudo tee /etc/apt/sources.list.d/focal-security.list
# sudo apt-get update
# sudo apt-get install libssl1.1
You can find the details on the solution at the below link found on askubuntu.com
https://askubuntu.com/questions/1403619/mongodb-install-fails-on-ubuntu-22-04-depends-on-libssl1-1-but-it-is-not-insta
You can force the installation of libssl1.1 by adding the ubuntu 20.04 source:
echo “deb http://security.ubuntu.com/ubuntu focal-security main” | sudo tee /etc/apt/sources.list.d/focal-security.list
sudo apt-get update
sudo apt-get install libssl1.1
Then install it and then delete the focal-security list file you just created:
sudo rm /etc/apt/sources.list.d/focal-security.list
Works Fine I use ubuntu 20.04 but ubuntu 22 i have experienced some issues probably due to some packages
But when i ran apt update and apt upgrade it worked fine maybe everyone who has issues should run that
i have done everything but the connection part doesnt work on the openvpn apk.Anyone with a solution??