{"id":17026438,"url":"https://github.com/zapthedingbat/openvpn-2fa","last_synced_at":"2025-03-22T19:16:11.356Z","repository":{"id":85168322,"uuid":"188007055","full_name":"zapthedingbat/openvpn-2fa","owner":"zapthedingbat","description":"OpenVPN 2FA client command line launcher","archived":false,"fork":false,"pushed_at":"2023-12-15T08:47:51.000Z","size":3,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T03:02:26.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zapthedingbat.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":"2019-05-22T09:32:25.000Z","updated_at":"2019-05-22T09:33:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"372be9bb-bd1d-4fe0-b938-016a6b9befee","html_url":"https://github.com/zapthedingbat/openvpn-2fa","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/zapthedingbat%2Fopenvpn-2fa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapthedingbat%2Fopenvpn-2fa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapthedingbat%2Fopenvpn-2fa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapthedingbat%2Fopenvpn-2fa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapthedingbat","download_url":"https://codeload.github.com/zapthedingbat/openvpn-2fa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245007239,"owners_count":20546143,"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-14T07:32:43.095Z","updated_at":"2025-03-22T19:16:11.326Z","avatar_url":"https://github.com/zapthedingbat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"CNI vpn client command line launcher\n===\n\nThe tool starts the `openvpn` client and passes the authentication details. This\nincludes calculating the TOTP code and concatenating it with the password.\n\n## Usage\n\nConfiguration values an either be set as environment variables or in the\n.openvpn file in the home directory\n\nSet the following variables:\n- `OPENVPN_CONFIG_FILE` Path to a the OpenVPN configuration file to pass to the client\n- `OPENVPN_USERNAME` Username used to authenticate with the VPN\n- `OPENVPN_PASSWORD` Password used to authenticate with the VPN\n- `OPENVPN_TOTP_SECRET` The secret used to generate the 2FA code that is\nconcatenated with the password.\n\n### Example\n```\nOPENVPN_CONFIG_FILE=~/myconfig.ovpn\nOPENVPN_USERNAME=user@example.com\nOPENVPN_PASSWORD=mysecretpassword\nOPENVPN_TOTP_SECRET=123456789abcdef\n```\n\nTo start the vpn run `vpn` on the command line\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapthedingbat%2Fopenvpn-2fa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapthedingbat%2Fopenvpn-2fa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapthedingbat%2Fopenvpn-2fa/lists"}