Update 'README.md'

This commit is contained in:
2020-08-02 21:13:28 +00:00
parent 72b35ad87e
commit 8847780aaa

View File

@ -99,10 +99,11 @@ well. The recommended IP is .10. for example, if your default gateway is
`192.168.1.1`, the WireGaurd node should be `192.168.1.10`, if the gateway is `192.168.1.1`, the WireGaurd node should be `192.168.1.10`, if the gateway is
`172.16.0.1`, the WireGuard node should be `172.16.0.10`. `172.16.0.1`, the WireGuard node should be `172.16.0.10`.
```
ip link add dev wg0 type wireguard ip link add dev wg0 type wireguard
wg setconf wg0 myconfig.conf wg setconf wg0 myconfig.conf
ip link set up dev wg0 ip link set up dev wg0
```
## Default Gateway ## Default Gateway