fix copy paste errors
This commit is contained in:
parent
520ba23ed0
commit
7d096fbf4c
@ -31,7 +31,7 @@ We will use the range 100.64.0.0/10 (RFC 6598) because it doesn't colide with pr
|
|||||||
|
|
||||||
To get the public key (you need it later on):
|
To get the public key (you need it later on):
|
||||||
|
|
||||||
wg pubkey <<<$(grep PrivateKey /etc/wireguard/wg_obermui.conf | cut -d ' ' -f3)
|
wg pubkey <<<$(grep PrivateKey /etc/wireguard/wg0.conf | cut -d ' ' -f3)
|
||||||
|
|
||||||
Now the gateway is configured and running. To get some information, type in wg and use systemd:
|
Now the gateway is configured and running. To get some information, type in wg and use systemd:
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ Now add the client information to the gateway and restart the interface.
|
|||||||
PublicKey = <Client-Pub-Key> >> /etc/wireguard/wg0.conf
|
PublicKey = <Client-Pub-Key> >> /etc/wireguard/wg0.conf
|
||||||
AllowedIPs = 100.64.0.2/32 >> /etc/wireguard/wg0.conf
|
AllowedIPs = 100.64.0.2/32 >> /etc/wireguard/wg0.conf
|
||||||
|
|
||||||
systemctl restart wg-quick@wg0 && ystemctl status wg-quick@wg0
|
systemctl restart wg-quick@wg0 && systemctl status wg-quick@wg0
|
||||||
|
|
||||||
|
|
||||||
# Sources
|
# Sources
|
||||||
|
Loading…
Reference in New Issue
Block a user