You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial2/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -907,7 +907,7 @@ The following steps can be employed to utilize WireGuard in order to setup a bas
907
907
```
908
908
* Create a public key
909
909
```bash
910
-
wg pubkey < headnode.key > peerA.pub
910
+
wg pubkey < headnode.key > headnode.pub
911
911
```
912
912
1. Peer Configuration
913
913
@@ -918,9 +918,9 @@ The following steps can be employed to utilize WireGuard in order to setup a bas
918
918
sudo ip addr add 10.0.0.1/24 dev wg0
919
919
920
920
# Create a WireGuard "Server" on your head node
921
-
sudo wg set wg0 listen-port 9993 private-key /path/to/peer_A.key
921
+
sudo wg set wg0 listen-port 9993 private-key </path/to/headnode.key>
922
922
923
-
# If you were staying at the City Lodge in Gqeberha, for exmaple, you endpoint (public ip) would be as follows:
923
+
# If you were staying at the City Lodge in Gqeberha, or from your residence for exmaple, **YOUR** endpoint (public IP - remember WhatIsMyWiFI) would be as follows:
924
924
sudo wg set wg0 peer PEER_B_PUBLIC_KEY endpoint 102.64.114.107:51900 allowed-ips 10.0.0.2/32
925
925
926
926
# Your laptop is roaming "dynamic" and does not have a fixed IP or endpoint
0 commit comments