DG 990fd072a2 Add arm/arm64 to goreleaser (#49)
Cryptic error (goreleaser/goreleaser#2389) was caused by not publishing arm64 architecture.
2021-09-06 21:17:53 -04:00
2021-08-10 00:22:56 -04:00
2021-08-09 22:59:45 -04:00
2021-08-09 22:23:21 -04:00
2021-01-30 18:38:52 -05:00
2021-01-03 17:21:49 -05:00
2021-04-04 10:38:39 -04:00
2020-12-31 02:56:01 -05:00
2021-01-30 18:38:52 -05:00
2021-09-06 21:17:53 -04:00

vpngate

This is a client for vpngate.net.

vpngate

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://nordvpn.com/what-is-my-ip/, or simply run the following command in a terminal:

curl ipinfo.io

Requirements

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
sudo xcode-select --install

# OpenVPN is required
brew install openvpn

brew install 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

List available servers

vpngate list

Connect to a server

On macOS, openvpn may not be within your PATH. To fix this, run:

export PATH=$(brew --prefix openvpn)/sbin:$PATH

The above command can also be added to a bash/zsh profile for future use.

Because openvpn creates a network interface, run the connect command with sudo or a user with escalated privileges.

sudo vpngate connect

Random

If the country doesn't matter, a random server can be selected:

sudo vpngate connect --random

Reconnect

To continually attempt to reconnect (this can be combined with --random):

sudo vpngate connect --reconnect

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
Description
Languages
Go 90.1%
Nix 7.9%
Makefile 2%