Skip to content

A client for discovering and connecting to vpngate.net OpenVPN servers.自动获取opengate api,筛选可用服务器,全自动测速、连接、切换。

License

Notifications You must be signed in to change notification settings

sinspired/VpngateClientPyWin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A client for connecting to vpngate.net OpenVPN servers.

Features:

  • filters VPN servers by their geographical location (country or VPNs in Europe)
  • probes the VPN endpoints to detect ones that aren't responding for some reason before connecting to the VPN server
  • once connected, performs a speed-test for the VPN and lets you decide if the speed is good enough for you or if you want to try the next one on the list

Dependencies

This client has following dependencies:

Usage

Install for Windows

  git clone https://github.com/sinspired/VpngateClientPyWin.git
  cd VpngateClientPyWin
  pip install -e .
  vpngate

Note: vpngate -h for help

Simple Case

Note: sudo is required for OpenVPN.

  sudo ./vpngate-client

This tries the VPN servers one-by-one ordered by their score and asks you to choose the one you like.

Filter by Country

  sudo ./vpngate-client --country CA
  sudo ./vpngate-client --us # --us is a shorthand for --country US

The above command only considers VPN servers in Canada. The country identifier is a 2 digit code (ISO 3166-2).

VPNs in Europe

  sudo ./vpngate-client --eu

As a special case, the --eu flag only considers VPN servers in Europe.

Other Options

All the command line options are available by running ./vpngate-client --help.

About

A client for discovering and connecting to vpngate.net OpenVPN servers.自动获取opengate api,筛选可用服务器,全自动测速、连接、切换。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%