Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/spf13/afero/releases) - [Commits](https://github.com/spf13/afero/compare/v1.10.0...v1.11.0) --- updated-dependencies: - dependency-name: github.com/spf13/afero dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
vpngate
This is a client for vpngate.net.
This client fetches the list of available relay servers provided by vpngate.net, and allows you to filter and connect to a server of your liking.
You can check out your current IP address and region at https://ipinfo.io, or run the following:
curl ipinfo.io
Requirements
- openvpn
- macOS or Linux
Install
The simplest method of installation is using homebrew. You can also build from source.
from homebrew
vpngate can be installed with homebrew (ensure that xcode is installed before installing homebrew by running xcode-select --install
).
brew install openvpn davegallant/public/vpngate
from source
Ensure that go is installed.
CGO_ENABLED=0 go get github.com/davegallant/vpngate
Ensure that the go bin path is discoverable:
echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.profile
source ~/.profile
Usage
If on macOS, you may need to add openvpn to your PATH (if you installed it with brew):
export PATH=$(brew --prefix openvpn)/sbin:$PATH
List available servers
vpngate list
Connect to a server
Because openvpn creates a network interface, run the connect command with sudo
or a user with escalated privileges.
sudo vpngate connect
Reconnect
To continually attempt to reconnect (this can be combined with --random
):
sudo vpngate connect --reconnect
Random
If the country doesn't matter, a random server can be selected:
sudo vpngate connect --random
Notes
- I do not maintain any of the servers on vpngate.net (connect to these servers at your own discretion)
- Many of the listed servers claim to have a logging policy of 2 weeks