{"id":19866258,"url":"https://github.com/OpenVPN/as-docker","last_synced_at":"2025-05-02T05:32:33.129Z","repository":{"id":226038987,"uuid":"710746547","full_name":"OpenVPN/as-docker","owner":"OpenVPN","description":"Docker images for openvpn-as","archived":false,"fork":false,"pushed_at":"2025-02-27T17:05:41.000Z","size":31,"stargazers_count":34,"open_issues_count":2,"forks_count":9,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-02-28T00:24:29.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenVPN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-27T10:55:38.000Z","updated_at":"2025-02-27T17:05:42.000Z","dependencies_parsed_at":"2024-05-21T12:29:24.967Z","dependency_job_id":"0dbf659d-71fc-457c-b178-8244a8528f6a","html_url":"https://github.com/OpenVPN/as-docker","commit_stats":null,"previous_names":["openvpn/as-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVPN%2Fas-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVPN%2Fas-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVPN%2Fas-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVPN%2Fas-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenVPN","download_url":"https://codeload.github.com/OpenVPN/as-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251993002,"owners_count":21677022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T15:25:21.141Z","updated_at":"2025-05-02T05:32:33.123Z","avatar_url":"https://github.com/OpenVPN.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"![openvpn-as](https://openvpn.net/images/logo-ovpn-dark.svg)\n# OpenVPN Access Server\n\n[OpenVPN Access Server](https://openvpn.net/access-server/), the OpenVPN self-hosted solution, simplifies the rapid deployment of a secure remote access solution with a web-based graphic user interface and OpenVPN Connect client installers.\n\nGet Technical Support 24/7 and Schedule a Live Demo at openvpn.com.\n\nOur products are based on the market-proven OpenVPN protocol and trusted by some of the world's most renowned brands for their unmatched flexibility, scalability, and ease of use.\n\nOpenVPN Access Server delivers the enterprise VPN your business has been looking for. Protect your data communications, secure IoT resources, and provide encrypted remote access to on-premise, hybrid, and public cloud resources.\n\nAccess Server provides you with a powerful and easy-to-use web-based admin site that makes VPN management and configuration simple for anybody (with or without Linux knowledge). Access Server integrates OpenVPN server capabilities, access management, and OpenVPN client software that accommodates Windows, macOS, Linux, Android, iOS, and ChromeOS environments.\n\nOur licensing model is based on the number of concurrent connected devices, so it's affordable for any size business and can easily grow with your company. Without a license key installed, OpenVPN Access Server will allow 2 concurrent connections at no additional cost (excepting infrastructure costs to run the Docker container).\n\n\n## Supported Architectures\n\n| Tag | Architecture |\n| :----: | --- |\n| latest | amd64, arm64 |\n\n## Parameters\n\n| Parameter | Description |\n| :----: | --- |\n| `-p 943` | Admin GUI port. |\n| `-p 443` | TCP port. |\n| `-p 1194/udp` | UDP port. |\n| `-v /openvpn` | Where openvpn-as should store configuration files. |\n\n## Usage\n\nLaunch this image:\n```bash\ndocker run -d \\\n  --name=openvpn-as --device /dev/net/tun \\\n  --cap-add=MKNOD --cap-add=NET_ADMIN \\\n  -p 943:943 -p 443:443 -p 1194:1194/udp \\\n  -v \u003cpath to data\u003e:/openvpn \\\n  --restart=unless-stopped \\\n  openvpn/openvpn-as\n```\nPlease note: For interacting with the network stack  `--cap-add=NET_ADMIN`, `--cap-add=MKNOD` and `--device /dev/net/tun` should be used.\n\n### docker-compose:\nCompatible with docker-compose v2 schemas.\n```\n---\nversion: \"2.1\"\nservices:\n  openvpn-as:\n    image: openvpn/openvpn-as\n    container_name: openvpn-as\n    devices:\n      - /dev/net/tun:/dev/net/tun\n    cap_add:\n      - NET_ADMIN\n      - MKNOD\n    ports:\n      - 943:943\n      - 443:443\n      - 1194:1194/udp\n    volumes:\n      - \u003cpath to data\u003e:/openvpn\n    restart: unless-stopped\n```\n\n## Application Setup\n\nThe admin interface is available at `https://DOCKER-HOST-IP:943/admin` (assuming bridge mode) with a default user 'openvpn' and the password can be found in the docker logs (on the first initial run):\n```\ndocker logs -f openvpn-as\n```\n\nTo ensure your devices can connect to your VPN properly, go to Configuration -\u003e Network Settings -\u003e and change the \"Hostname or IP Address\" section to either your domain name or public ip address.\n\n---\n\n## Testing/Debugging\n\nTo debug the container:\n```\ndocker logs -f openvpn-as\n```\nTo get an interactive shell:\n```\ndocker exec -it openvpn-as /bin/bash\n```\n\nTo set your own password on the 'openvpn' administrative user, while in the container shell:\n```\nsacli --user \"openvpn\" --new_pass \"WhateverPasswordYouWant\" SetLocalPassword\n```\n\n## Docker image build script\n\nCode contributions for the Docker image build are most welcome. Please submit pull request for review to:\n\nhttps://github.com/OpenVPN/as-docker\n\n## Contact support\n\nYou can contact the support team for OpenVPN Access Server here:\n\nhttps://support.openvpn.com/hc/en-us/categories/360006075631-Access-Server\n\n### [EULA and legal information.](https://openvpn.net/legal/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenVPN%2Fas-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOpenVPN%2Fas-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenVPN%2Fas-docker/lists"}