mirror of
https://github.com/davegallant/vpngate.git
synced 2025-08-06 08:43:40 +00:00
Simplify instructions
This commit is contained in:
24
README.md
24
README.md
@@ -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)
|
||||
|
Reference in New Issue
Block a user