{"id":16272311,"url":"https://github.com/ventz/docker-openvpn","last_synced_at":"2025-09-16T16:32:07.994Z","repository":{"id":70234190,"uuid":"141785747","full_name":"ventz/docker-openvpn","owner":"ventz","description":"Super Small (12.2MB) full OpenVPN Docker container","archived":false,"fork":false,"pushed_at":"2020-01-27T12:15:20.000Z","size":2,"stargazers_count":5,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T13:12:56.852Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ventz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-21T06:02:41.000Z","updated_at":"2024-09-12T13:55:56.000Z","dependencies_parsed_at":"2023-06-14T22:00:35.514Z","dependency_job_id":null,"html_url":"https://github.com/ventz/docker-openvpn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventz%2Fdocker-openvpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventz%2Fdocker-openvpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventz%2Fdocker-openvpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventz%2Fdocker-openvpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ventz","download_url":"https://codeload.github.com/ventz/docker-openvpn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233279520,"owners_count":18652172,"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-10-10T18:17:14.958Z","updated_at":"2025-09-16T16:32:02.600Z","avatar_url":"https://github.com/ventz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Required \"DATA\" directory for OpenVPN\n\nThis container assumes you have a \"/data\" (or like) directory with your server config and certs like so:\n\n```\n/data/certs:\n  ca.crt\n  dh.pem\n  server.crt\n  server.key\n  ta.key (technically \"optional\" - in reality a must for security)\n  crl.pem (optional - revoke list)\n\n/data:\n  server.conf\n```\n\n\n## Server Config\n```\n# Example of a working EXTREMELY secure server.conf (customize as needed):\n\nlocal 0.0.0.0\nport 1194\n# if tcp, change to \"proto tcp-server\"\nproto udp\ndev tun\nca certs/ca.crt\ncert certs/server.crt\nkey certs/server.key  # This file should be kept secret\ndh certs/dh.pem\ncrl-verify certs/crl.pem\nserver 192.168.123.0 255.255.255.0\npush \"dhcp-option DNS 1.1.1.1\"\npush \"dhcp-option DNS 1.0.0.1\"\npush \"redirect-gateway def1\"\nkeepalive 10 120\ncipher AES-256-GCM\nncp-ciphers AES-256-GCM:AES-256-CBC\nauth SHA512\ntls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-128-CBC-SHA256\"\ntls-version-min 1.2\ntls-auth certs/ta.key 0 # This file is secret\ncompress\ncomp-lzo no\npush 'comp-lzo no'\nmax-clients 5\nuser nobody\ngroup nogroup\npersist-key\npersist-tun\nstatus openvpn-status.log\nlog         openvpn.log\nlog-append  openvpn.log\nverb 3\n\n```\n\n\n## Client Config\n```\n# Example of a working EXTREMELY secure client.conf (customize as needed):\n\nclient\ndev tun\n# if tcp, change to \"proto tcp-client\"\nproto udp\nping-restart 15\nremote vpn-server-host.tld 1194\nresolv-retry infinite\nnobind\npersist-key\npersist-tun\n\u003cca\u003e\n# Insert \"ca.crt\"\n\u003c/ca\u003e\n\u003cdh\u003e\n# Insert \"dh.pam\"\n\u003c/dh\u003e\n\u003ccert\u003e\n# Insert \"client.crt\"\n\u003c/cert\u003e\n\u003ckey\u003e\n# Insert \"client.key\"\n\u003c/key\u003e\ncompress\nauth-nocache\ncipher AES-256-GCM\nauth SHA512\ntls-client\ntls-version-min 1.2\nremote-cert-tls server\nkey-direction 1\n\u003ctls-auth\u003e\n# Insert \"ta.key\"\n\u003c/tls-auth\u003e\nredirect-gateway def1\n#verb 3\n```\n\n# How to run the OpenVPN Docker Container?\n```\ndocker run -it -d --restart=always \\\n--name=openvpn \\\n-p 1194:1194/udp \\\n--cap-add=NET_ADMIN \\\n-v /data:/etc/openvpn \\\nventz/openvpn\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventz%2Fdocker-openvpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fventz%2Fdocker-openvpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventz%2Fdocker-openvpn/lists"}