OpenVPN Access Server for docker, based on Ubuntu 22.04 LTS
848
An updated version of the now DEPRECATED linuxserver/openvpn-as docker image to be run on actual hardware, precisely on Ubuntu 22.04 LTS
Openvpn-as is a full featured secure network tunneling VPN software solution that integrates OpenVPN server capabilities, enterprise management capabilities, simplified OpenVPN Connect UI, and OpenVPN Client software packages that accommodate Windows, MAC, Linux, Android, and iOS environments. OpenVPN Access Server supports a wide range of configurations, including secure and granular remote access to internal network and/ or private cloud network resources and applications with fine-grained access control.
Only amd64 image versions for now.
This image provides various versions that are available via tags. latest tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
The admin interface is available at https://DOCKER-HOST-IP:943/admin (assuming bridge mode) with a default user/password of admin/password unless you passed the ADMIN & PASSWD env vars are set in which case that will be used, see the docker-compose.yml file for reference.
During first login, make sure that the "Authentication" in the webui is set to "Local" instead of "PAM". Then set up the user accounts with their passwords (user accounts created under PAM do not survive container update or recreation).
The "admin" account is a system (PAM) account and after container update or recreation, its password reverts back to the default. It is highly recommended to block this user's access for security reasons:
as.conf file under config/etc and replace the line boot_pam_users.0=admin with #boot_pam_users.0=adminboot_pam_users.0=kjhvkhv (this only has to be done once and will survive container recreation)To ensure your devices can connect to your VPN properly, goto Configuration -> Network Settings -> and change the "Hostname or IP Address" section to either your domain name or public ip address.
Compatible with docker-compose v3 schemas, see the example deployment file docker-compose.yml
for now just this variables are used from the env:
docker exec -it openvpn-as /bin/bashdocker logs -f openvpn-asThis image is static in nature and upgrades will be supported by just replacing the image.
docker-compose pull
docker-compose pull openvpn-asdocker-compose up -d
docker-compose up -d openvpn-asdocker image prunedocker pull stdevPavelmc/openvpn-asdocker stop openvpn-asdocker rm openvpn-as/config folder and settings will be preserved)docker image pruneContent type
Image
Digest
sha256:371fe35c9…
Size
61.2 MB
Last updated
almost 4 years ago
docker pull pavelmc/openvpn-as