mirror of
https://github.com/davegallant/vpngate.git
synced 2025-08-07 00:58:14 +00:00
16
README.md
16
README.md
@@ -8,7 +8,7 @@ This client fetches the list of available relay servers provided by vpngate.net.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
Once connected, you can check out your IP address: https://nordvpn.com/what-is-my-ip/
|
Once connected, you can check out your IP address: https://nordvpn.com/what-is-my-ip/, or simply `curl ipinfo.io`.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
@@ -17,8 +17,18 @@ Once connected, you can check out your IP address: https://nordvpn.com/what-is-m
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
Ensure that [go](https://golang.org/doc/install) is installed.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go get github.com/davegallant/vpngate
|
$ go get github.com/davegallant/vpngate
|
||||||
|
```
|
||||||
|
|
||||||
|
### MacOS
|
||||||
|
|
||||||
|
OpenVPN can be installed with [homebrew](https://brew.sh/).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ brew install openvpn
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@@ -33,6 +43,8 @@ $ vpngate list
|
|||||||
|
|
||||||
Because openvpn creates a network interface, run the connect command with `sudo` or a user with escalated privileges.
|
Because openvpn creates a network interface, run the connect command with `sudo` or a user with escalated privileges.
|
||||||
|
|
||||||
|
On macOS, export path by using `export PATH=$(brew --prefix openvpn)/sbin:$PATH` (this can be run each time in a terminal or put in a bash/zsh profile)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ sudo vpngate connect
|
$ sudo vpngate connect
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user