From 1d6f03dd609e596c4fe33a36886b05037df6b8d9 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Fri, 1 Jan 2021 13:37:21 -0500 Subject: [PATCH] Update README.md (#9) * Improve instructions for macOS --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ada01fe..defd68d 100644 --- a/README.md +++ b/README.md @@ -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