Collections
How to Install OpenVPN on Ubuntu - Tony Teaches Tech
00 min
Sep 2, 2023
Sep 2, 2023
type
status
date
summary
tags
category
URL
password
slug
icon
notion image
Hey there! Some links on this page may be affiliate links which means that, if you choose to make a purchase, I may earn a small commission at no extra cost to you. I greatly appreciate your support!
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.

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.
上一篇
所有的PDF工具 - 100%免费 - PDF24 Tools
下一篇
11 search engines for cybersecurity research you can use right now - Help Net Security