Update README.md (#9)

* Improve instructions for macOS
This commit is contained in:
Dave Gallant
2021-01-01 13:37:21 -05:00
committed by GitHub
parent 68cb504fa1
commit 1d6f03dd60

View File

@@ -4,7 +4,7 @@ This is a client for [vpngate.net](https://www.vpngate.net/).
![image](https://user-images.githubusercontent.com/4519234/103308173-ce250780-49df-11eb-9032-ef832e5b9463.png)
This client fetches the list of available relay servers provided by vpngate.net. Once connected to a relay server, speed tests kick off to determine latency, upload speed and download speed.
This client fetches the list of available relay servers provided by vpngate.net. Once connected to a server, speed tests kick off to determine latency, upload speed and download speed.
![image](https://user-images.githubusercontent.com/4519234/103308641-e47f9300-49e0-11eb-8ff2-77c6e3e8cc7b.png)
@@ -43,19 +43,25 @@ $ brew install openvpn
$ vpngate list
```
### Connect to a VPN
### Connect to a server
On macOS, `openvpn` may not be within your PATH. To fix this, run:
```sh
$ 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.
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
$ sudo vpngate connect
```
#### Random
If the country doesn't matter, a random VPN can be selected:
If the country doesn't matter, a random server can be selected:
```sh
$ sudo vpngate connect --random
@@ -63,7 +69,7 @@ $ sudo vpngate connect --random
## Notes
- I do not maintain any of the VPN servers on vpngate.net. Connect to these VPN servers at your own discretion
- 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