wireguard_apu_ubuntu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wireguard_apu_ubuntu [2019/02/24 17:06] – admin | wireguard_apu_ubuntu [2019/07/21 08:15] – admin | ||
---|---|---|---|
Line 40: | Line 40: | ||
PostUp = / | PostUp = / | ||
PreDown = / | PreDown = / | ||
- | ListenPort = 20617 | + | ListenPort = <random port> |
PrivateKey = < | PrivateKey = < | ||
</ | </ | ||
Line 96: | Line 96: | ||
qrencode -t ansiutf8 < wg-client1.conf</ | qrencode -t ansiutf8 < wg-client1.conf</ | ||
* Add peer to server:< | * Add peer to server:< | ||
- | wg set wg0 peer $(cat publickey-${CLIENT}) allowed-ips 192.168.2.0/24 | + | wg set wg0 peer $(cat publickey-${CLIENT}) allowed-ips 192.168.2.2/32 |
</ | </ | ||
{{tag> | {{tag> |
wireguard_apu_ubuntu.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1