Simplify instructions

This commit is contained in:
Dave Gallant
2021-09-06 21:51:06 -04:00
parent b8c6a3f8cf
commit 6fdd19d83d

View File

@@ -55,28 +55,12 @@ vpngate list
### Connect to a server
On macOS, `openvpn` may not be within your PATH. To fix this, run:
```shell
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.
```shell
sudo vpngate connect
```
#### Random
If the country doesn't matter, a random server can be selected:
```shell
sudo vpngate connect --random
```
#### Reconnect
To continually attempt to reconnect (this can be combined with `--random`):
@@ -85,6 +69,14 @@ 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:
```shell
sudo vpngate connect --random
```
## Notes
- I do not maintain any of the servers on vpngate.net (connect to these servers at your own discretion)