🎬

Video tutorial coming soon.

🔐 Setup OpenVPN Access Server

Deploy OpenVPN Access Server with a web-based admin UI and client portal. Manage users, certificates, and connection profiles from a browser — no command-line config required.

⚠️ This script is provided for demo and testing purposes only.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along.

Automated install script — OpenVPN Access Server with admin UI.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/vpn/openvpn-as/openvpn-as-ubuntu.sh
chmod +x openvpn-as-ubuntu.sh
sudo bash openvpn-as-ubuntu.sh

Tutorial Steps

1 Download & Run the Script

The script installs Docker, pulls the OpenVPN AS image, and starts the server. Admin credentials are displayed at the end of the setup.

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/vpn/openvpn-as/openvpn-as-ubuntu.sh
chmod +x openvpn-as-ubuntu.sh
sudo bash openvpn-as-ubuntu.sh

2 Access the Admin UI

Open your browser and navigate to the OpenVPN admin panel:

https://YOUR-SERVER-IP:943/admin

3 Create User Accounts

In the admin panel, go to User Management → User Permissions to create VPN accounts. Each user can download their personalized .ovpn config from the client portal at port 943.

4 Connect with OpenVPN Client

Download the OpenVPN Connect app on any device, import the .ovpn profile, and connect. The free tier supports up to 2 simultaneous VPN connections.

Ports Used

PortProtocolPurpose
943TCPAdmin UI & Client Portal
443TCPHTTPS VPN Tunnel
1194UDPOpenVPN Tunnel

Files Location

/root/docker/openvpn-as/docker-compose.yml