{"id":22111686,"url":"https://github.com/phx/dockervpn","last_synced_at":"2025-03-24T04:34:10.851Z","repository":{"id":121578411,"uuid":"213547440","full_name":"phx/dockervpn","owner":"phx","description":"DockerVPN is an OpenConnect-based VPN client that exposes an upstream proxy via TinyProxy on localhost:8888. DockerVPN uses the docker0 interface so you can stay connected to both an external network, while having SSH and HTTP/S access to a remote internal network, and it's a great alternative to VPN split-tunneling.","archived":false,"fork":false,"pushed_at":"2020-04-21T16:28:34.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T10:33:58.229Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phx.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":"2019-10-08T04:15:54.000Z","updated_at":"2020-04-21T16:28:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5019dbf-4a87-4d92-8194-5efc99a68dad","html_url":"https://github.com/phx/dockervpn","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/phx%2Fdockervpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fdockervpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fdockervpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fdockervpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phx","download_url":"https://codeload.github.com/phx/dockervpn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245211872,"owners_count":20578437,"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-12-01T10:50:33.876Z","updated_at":"2025-03-24T04:34:10.830Z","avatar_url":"https://github.com/phx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![dockervpn](./dockervpn.png?raw=true)\n\n# DockerVPN\n\nDockerVPN is an OpenConnect-based VPN client that exposes an upstream proxy via TinyProxy on localhost:8888. DockerVPN uses the docker0 interface so you can stay connected to both an external network, while having SSH and HTTP/S access to a remote internal network, and it's a great alternative to VPN split-tunneling. \n\n## Install:\n1. `git clone https://github.com/phx/dockervpn.git`\n2. `cd dockervpn`\n3. `./install.sh`\n\n## Run:\n```\nConnect:                'dockervpn'\nView status/logs:       'dockervpn --status'\nRe-connect:             'dockervpn'\nDisconnect:             'docker stop vpn'\nExec into container:    'sshvpn'\n\nBrowse to internal sites: point proxy to '127.0.0.1:8888'\n\nTo change (and persist) VPN and/or proxy passwords:\n'dockervpn --changepass' OR\n'dockervpn --changepass [OLD_VPN/PROXY_PASS] [NEW_VPN/PROXY_PASS]' OR\n'dockervpn --changepass [OLD_VPN_PASS] [NEW_VPN_PASS] [OLD_PROXY_PASS] [NEW_PROXY_PASS]'\n\n-c | --creds [USER:PASS]                Specify credentials to use for both VPN_USER/PROXY_USER\n                                        and VPN_PASS/PROXY_PASS.\n\n-h | --help                             Display this help text.\n\n-i | --interactive                      Run in interactive mode and prompt for VPN_USER, VPN_PASS,\n                                        PROXY_USER, and PROXY_PASS. If you wish to do this, you can\n                                        remove any hardcoded variables from /usr/local/bin/dockervpn.\n\n-p | --password [VPN_PASS/PROXY_PASS]   Pass the VPN_PASS/PROXY_PASS password on the command line\n                                        (both passwords must match to use this option).\n\n-s | --status                           Check the status of DockerVPN.\n\n-u | --user  [VPN_USER/PROXY_USER]      Specify the user. You will be prompted for password if not\n                                        combined with -p or --password.\n```\n## Uninstall:\n1. `git clone https://github.com/phx/dockervpn.git` (in case you already deleted it)\n2. `cd dockervpn`\n3. `./uninstall.sh`\n\n## To-Do:\n- Get feedback on the command line parameters (file an issue).\n- Maybe re-do `install.sh` using `case` statements to provide better functionality for more use cases.\n- Make the entire setup more secure by using encryption and `$XDG_HOME` config file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphx%2Fdockervpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphx%2Fdockervpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphx%2Fdockervpn/lists"}