Video tutorial coming soon.
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.
Grab the automated bash script from GitHub to follow along.
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
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
Open your browser and navigate to the OpenVPN admin panel:
https://YOUR-SERVER-IP:943/admin
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.
Download the OpenVPN Connect app on any device, import the .ovpn profile, and connect. The free tier supports up to 2 simultaneous VPN connections.
| Port | Protocol | Purpose |
|---|---|---|
| 943 | TCP | Admin UI & Client Portal |
| 443 | TCP | HTTPS VPN Tunnel |
| 1194 | UDP | OpenVPN Tunnel |
/root/docker/openvpn-as/docker-compose.yml