{"id":20879233,"url":"https://github.com/7c/vpngate","last_synced_at":"2025-06-15T02:32:32.388Z","repository":{"id":129721278,"uuid":"106490886","full_name":"7c/vpngate","owner":"7c","description":"VpnGate command line helper","archived":false,"fork":false,"pushed_at":"2017-11-20T14:48:25.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-12T16:45:39.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/7c.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-10-11T01:36:50.000Z","updated_at":"2017-10-11T01:37:53.000Z","dependencies_parsed_at":"2023-04-12T07:46:54.440Z","dependency_job_id":null,"html_url":"https://github.com/7c/vpngate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/7c/vpngate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fvpngate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fvpngate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fvpngate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fvpngate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7c","download_url":"https://codeload.github.com/7c/vpngate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fvpngate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259912429,"owners_count":22931066,"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-18T07:15:39.565Z","updated_at":"2025-06-15T02:32:32.335Z","avatar_url":"https://github.com/7c.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Very Simple VPN Gate Script\n===================\n\nForked from https://github.com/thsteinmetz/vpngate\n\nThis is an extremly simple script to connect to a VPN from the vpngate.net service. The script currently only runs on Linux,requires openvpn, and `sudo` in order to run.\n\nExample usage to connect to a specific country (South Korea, in this case):\n\n\n```php\nsudo php vpngate.php -c kr\nAttempting to connect to KR - 218.152.74.243...\nConnected to KR - 218.152.74.243 successfully.\n```\n\nExample usage to check the status of any current VPN connection on the system (this is interactive)\n\n```php\nsudo php vpngate.php -c kr -s\nVPN is running. Kill it? [y/yes/n/no]: y\nVPN is not running. Start one? [y/yes/n/no]: y\nAttempting to connect to KR - 218.152.74.243...\nConnected to KR - 218.152.74.243 successfully.\n```\n\nYou can query your current external ip using -i switch. this is useful to see if you are really tunnelled (or still tunnelled)\n```php\nphp vpngate.php -i\nCurrent external ip : 66.16.28.10\n```\n\nThe -x will download current configuration, parse it and show in human readable format This is helpful to have an overview about current configuration\n```php\nphp vpngate.php -x\n.....\n64.233.210.239\tUnited States\tUS\tbuyer-PC's owner\n197.245.118.82\tSouth Africa\tZA\tDESKTOP-CMBB1MI's owner\n105.159.237.246\tMorocco\tMA\tmomm-PC's owner\n189.60.65.146\tBrazil\tBR\tCOSMOS-II's owner\n105.108.8.83\tAlgeria\tDZ\tDozKillErZ's owner\nTotal 151 configurations found from 39 countries\n```\n\n\nYou can opt to leave off a country, in that case the script will try the very first VPN in the list.\n\nIf the script is unable to connect to a VPN it will continue throughout the list until it runs out of options for either the selected country or every entry returned from the vpngate.net service.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fvpngate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7c%2Fvpngate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fvpngate/lists"}