{"id":21009078,"url":"https://github.com/avin/openvpn-docker-slim","last_synced_at":"2026-04-21T22:33:49.644Z","repository":{"id":86507128,"uuid":"90594953","full_name":"avin/openvpn-docker-slim","owner":"avin","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-09T10:18:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-21T14:10:53.468Z","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/avin.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":"2017-05-08T06:42:52.000Z","updated_at":"2017-05-08T07:48:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9d1aa46-26be-4f10-a831-87b4f8da80cc","html_url":"https://github.com/avin/openvpn-docker-slim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avin/openvpn-docker-slim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fopenvpn-docker-slim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fopenvpn-docker-slim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fopenvpn-docker-slim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fopenvpn-docker-slim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avin","download_url":"https://codeload.github.com/avin/openvpn-docker-slim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fopenvpn-docker-slim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32113130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-19T09:15:22.862Z","updated_at":"2026-04-21T22:33:49.637Z","avatar_url":"https://github.com/avin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker OpenVPN slim container\nOpenVPN docker container based on alpine\n\n## Build \u0026 run\n\n```\ndocker build -t openvpn .\ndocker run --privileged --cap-add=ALL -v /lib/modules:/lib/modules -v $(pwn)/keys:/tmp/keys -t openvpn\n```\n\n## Install as service (systemd)\n\nInstall `docker`, `docker-compose`, `git`\n\nClone repository\n```\nmkdir /opt -p \u0026\u0026 cd /opt\ngit clone https://github.com/avin/openvpn-docker-slim.git\n``` \n\nCreate `/etc/systemd/system/openvpn-docker.service`\n```\n[Unit]\nDescription=OpenVPN Service  \nAfter=docker.service  \nRequires=docker.service\n\n[Service]\nExecStart=/usr/local/bin/docker-compose -f /opt/openvpn-docker-slim/docker-compose.yml up\nExecStop=/usr/local/bin/docker-compose -f /opt/openvpn-docker-slim/docker-compose.yml stop -t 2\n\n[Install]\nWantedBy=multi-user.target  \n```\n\nInstall service\n```\nsystemctl enable openvpn-docker.service\n```\n\nEnjoy!\n\n## Setup client\n\nCopy `./keys/ovpn.key` to client host.\n\nUse client OpenVPN config:\n```\nproto tcp-client\nremote \u003cyour EC2 IP here\u003e        \nport 1194                   \ndev tun                   \nsecret \"C:\\\\Program Files\\\\OpenVPN\\\\config\\\\ovpn.key\"            \nredirect-gateway def1       \nifconfig 10.4.0.2 10.4.0.1\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favin%2Fopenvpn-docker-slim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favin%2Fopenvpn-docker-slim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favin%2Fopenvpn-docker-slim/lists"}