Back to Apps
OpenVPN Access Server

Deploy OpenVPN Access Server on Your Own Server

Full featured secure network tunneling VPN software.

πŸ“¦ Other

Want to deploy OpenVPN Access Server on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is OpenVPN Access Server?

OpenVPN is a full featured, open-source VPN solution that accommodates a wide range of configurations. **Important notes:** - The provider of this image (LinuxServer) has decided to **deprecate** it in favor of WireGuard - If you are using Senate version `1.10.1` or older, you will need to **override Senate's configuration** to use the newer Docker API version `1.4.1` (this can be done manually or by running `echo "{\"dockerApiVersion\":\"v1.41\"}" > /captain/data/config-override.json`) - You need **access via SSH** to your server after deployment to modify a file (only once) - You may need to **open the ports** `1194` and `9443` on your firewall

Learn more

Self-Host OpenVPN Access Server

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
Networking
3

Deploy

Copy the configuration and run it on your server.

services:
  openvpn_as:
    image: linuxserver/openvpn-as:2.9.0-5c5bd120-Ubuntu18-ls124
    environment:
      INTERFACE: ""
      PGID: "1000"
      PUID: "1000"
      TZ: UTC
    volumes:
      - openvpn_as:/config
    ports:
      - $$cap_OPENVPN_PORT_TCP:$$cap_OPENVPN_PORT_TCP
      - $$cap_OPENVPN_PORT_UDP:$$cap_OPENVPN_PORT_UDP
volumes:
  openvpn_as: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:80

Why Self-Host OpenVPN Access Server?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

linuxserver/openvpn-as:${OPENVPN_VERSION}

Official Docs

openvpn.net

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"