-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ce2893
commit f2697e2
Showing
32 changed files
with
207 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 16 additions & 7 deletions
23
e2e/generate-lan-hub-and-spoke-access/A-alice-wireguard.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
[Interface] | ||
ListenPort = 0 | ||
Address = 192.168.10.2/24 | ||
PrivateKey = gM4x14ZE8EEpE7Fk0//dkwuXQNuvoe54PpteIh+oWHQ= | ||
ListenPort = 41820 | ||
Address = 192.168.10.1/24 | ||
PrivateKey = UE5GTRXvRlm0ngiLIpxYC8rOWr90vpXHXrOH3FpqEFk= | ||
|
||
[Peer] | ||
PublicKey = DQh5QwYbaj/h3iVH1C28Pzdkhs3z+MIvZCh4np5f/F8= | ||
PresharedKey = glxcNfoSAQ6Ic1Ewcz0WhkmmHiG3nGezZixRInVpnbE= | ||
Endpoint = 10.0.5.5:51820 | ||
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.100/32, 10.0.4.0/24 | ||
PublicKey = IRMg3FvS1hwdZYCh3z0jjxp0gY2i6TabXcUj/TOILXs= | ||
PresharedKey = TaLmt134ML98dkVIxPtGE21DFyAsrHQTkEzGu2lGF+E= | ||
AllowedIPs = 192.168.10.100/32 | ||
|
||
[Peer] | ||
PublicKey = yYjcDYJJpr3Y5nmpTsxelNmgClYZXN6USZOAEbn271E= | ||
PresharedKey = /Hvo1t7dPBjOLFkURrFaQx0G8RciSlyzV3ju1llmr1Y= | ||
AllowedIPs = 192.168.10.2/32 | ||
|
||
[Peer] | ||
PublicKey = MrP8poUY31A/DPtHqRX0nXqJQ4fJw9SatyB7J8euhlY= | ||
PresharedKey = ymkUGsYUa9bjvlXu91+LhveI3PPBPKtKQQBG9t03uk0= | ||
AllowedIPs = 192.168.10.3/32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
ip route add 10.0.0.0/24 via 10.0.1.2 | ||
ip route add 192.168.10.0/24 via 10.0.1.3 | ||
sleep 30s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[Interface] | ||
ListenPort = 0 | ||
Address = 192.168.10.3/24 | ||
PrivateKey = CNpqDCwT+U5TWgTVE+JHSk5gkHZ0SCXlWv75NuJvwl4= | ||
Address = 192.168.10.100/24 | ||
PrivateKey = +Kr+oFNf0RIQukwR09YS2Rv5nrA6npxa6Ag16Ds5524= | ||
|
||
[Peer] | ||
PublicKey = DQh5QwYbaj/h3iVH1C28Pzdkhs3z+MIvZCh4np5f/F8= | ||
PresharedKey = 3rCJ3ytDIdeJWZloq3YH4+5a4rG5kW80gl3A+c6FFCA= | ||
Endpoint = 10.0.5.5:51820 | ||
AllowedIPs = 192.168.10.1/32, 192.168.10.2/32, 192.168.10.100/32, 10.0.4.0/24 | ||
PublicKey = BNwYfjUrhd7ZAOocR9xZCd7KMw+bh3FhyR9sQJkzu3Y= | ||
PresharedKey = TaLmt134ML98dkVIxPtGE21DFyAsrHQTkEzGu2lGF+E= | ||
Endpoint = 10.0.0.2:51820 | ||
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.2/32, 10.0.1.0/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
e2e/generate-lan-hub-and-spoke-access/C-charlie-wireguard.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[Interface] | ||
ListenPort = 0 | ||
Address = 192.168.10.100/24 | ||
PrivateKey = cNJ1+qA5VCTxjXsOQentPqZmdti3fep1/QJi/rGZ6H8= | ||
Address = 192.168.10.2/24 | ||
PrivateKey = COHD4qQVLO6N9A0E6F8hZ8vbecyLi8SH00wifVxNg1Y= | ||
|
||
[Peer] | ||
PublicKey = DQh5QwYbaj/h3iVH1C28Pzdkhs3z+MIvZCh4np5f/F8= | ||
PresharedKey = 6otXyHjb3Ms90PTHGOKs96tv9SMxFk6ZX13PBzBuF18= | ||
Endpoint = 10.0.5.5:51820 | ||
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.2/32, 10.0.4.0/24 | ||
PublicKey = BNwYfjUrhd7ZAOocR9xZCd7KMw+bh3FhyR9sQJkzu3Y= | ||
PresharedKey = /Hvo1t7dPBjOLFkURrFaQx0G8RciSlyzV3ju1llmr1Y= | ||
Endpoint = 10.0.0.2:51820 | ||
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.100/32, 10.0.1.0/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 7 additions & 16 deletions
23
e2e/generate-lan-hub-and-spoke-access/D-dave-wireguard.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
[Interface] | ||
ListenPort = 41820 | ||
Address = 192.168.10.1/24 | ||
PrivateKey = wOKGkGBHLkPZuCdggMmOje3tM73QCZ92MpFyToAw7kQ= | ||
ListenPort = 0 | ||
Address = 192.168.10.3/24 | ||
PrivateKey = aDIez6lbcG1IFCcAidk4fdcRb51bEZumunpH6WVnY1U= | ||
|
||
[Peer] | ||
PublicKey = XffIty2BGhWE291GXcG96jGT07uq3O8lMTqHZOufcmU= | ||
PresharedKey = 6otXyHjb3Ms90PTHGOKs96tv9SMxFk6ZX13PBzBuF18= | ||
AllowedIPs = 192.168.10.100/32 | ||
|
||
[Peer] | ||
PublicKey = QmKdMWddSdLIGWiD/otjs79EgbY89x8ysbKBwCtdonw= | ||
PresharedKey = glxcNfoSAQ6Ic1Ewcz0WhkmmHiG3nGezZixRInVpnbE= | ||
AllowedIPs = 192.168.10.2/32 | ||
|
||
[Peer] | ||
PublicKey = 5G4/eGckHzDOwhMkl7k1AEaH5fy/uZvH5Opre4xTLHI= | ||
PresharedKey = 3rCJ3ytDIdeJWZloq3YH4+5a4rG5kW80gl3A+c6FFCA= | ||
AllowedIPs = 192.168.10.3/32 | ||
PublicKey = BNwYfjUrhd7ZAOocR9xZCd7KMw+bh3FhyR9sQJkzu3Y= | ||
PresharedKey = ymkUGsYUa9bjvlXu91+LhveI3PPBPKtKQQBG9t03uk0= | ||
Endpoint = 10.0.0.2:51820 | ||
AllowedIPs = 192.168.10.1/32, 192.168.10.2/32, 192.168.10.100/32, 10.0.1.0/24 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.