Skip to content

Commit e2e1322

Browse files
committed
Updated wireguard instructions.
1 parent a48c39d commit e2e1322

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorial2/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ The following steps can be employed to utilize WireGuard in order to setup a bas
907907
```
908908
* Create a public key
909909
```bash
910-
wg pubkey < headnode.key > peerA.pub
910+
wg pubkey < headnode.key > headnode.pub
911911
```
912912
1. Peer Configuration
913913
@@ -918,9 +918,9 @@ The following steps can be employed to utilize WireGuard in order to setup a bas
918918
sudo ip addr add 10.0.0.1/24 dev wg0
919919
920920
# 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>
922922
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:
924924
sudo wg set wg0 peer PEER_B_PUBLIC_KEY endpoint 102.64.114.107:51900 allowed-ips 10.0.0.2/32
925925
926926
# Your laptop is roaming "dynamic" and does not have a fixed IP or endpoint

0 commit comments

Comments
 (0)