wireguard: intake ike, hydra. assign IPs to lucifer,wendy,packet-epyc-1,packet-t2-p
Graham Christensen committed
Sep 26, 2019 at 21:13 UTC
65c7678572a87f276e13d402ece5359a3ebeb845
2 files changed
+48
-2
delft/eris.nix
+10
-2
@@ -9,13 +9,21 @@ in {
9
10
11
networking.extraHosts = ''
12
- 147.75.198.47 packet-epyc-1
13
- 147.75.98.145 packet-t2-4
12
147.75.79.198 packet-t2a-2
13
147.75.198.170 packet-t2a-3
14
147.75.74.238 packet-t2a5-qc-centriq-1
15
147.75.107.178 packet-t2a6-ampere-1
16
17
+ 10.254.1.1 bastion
18
+ 10.254.1.2 chef
19
+ 10.254.1.3 ceres
20
+
21
+ 10.254.1.5 ike
22
+ 10.254.1.6 hydra
23
+ 10.254.1.7 lucifer
24
+ 10.254.1.8 wendy
25
+ 10.254.1.9 packet-epyc-1
26
+ 10.254.1.10 packet-t2-4
27
28
'' + (toString (flip mapAttrsToList macs (machine: v: ''
29
${v.deployment.targetHost} ${machine}
modules/wireguard.nix
+38
@@ -34,6 +34,44 @@ let
34
publicKey = "H/Y+sbNETKZugxGFbOS0m5BSr28jRDL19U37wEw07D8=";
35
};
36
37
+ ike = {
38
+ ip = "10.254.1.5";
39
+ endpoint = "131.180.119.70";
40
+ port = 51820;
41
+ publicKey = "0Gnpua+K9Ms4m56j99KLrHNTbqDBLLp96eY9vmJbozQ=";
42
+ };
43
+
44
+ hydra = {
45
+ ip = "10.254.1.6";
46
+ endpoint = "131.180.119.69";
47
+ port = 51820;
48
+ publicKey = "daWQGiSHeWX1aELsppFoq740geXwIjGCLdmdQWC0Ymg=";
49
+ };
50
+
51
+ lucifer = {
52
+ ip = "10.254.1.7";
53
+ endpoint = "131.180.119.73";
54
+ port = 51820;
55
+ };
56
+
57
+ wendy = {
58
+ ip = "10.254.1.8";
59
+ enpdoint = "131.180.119.77";
60
+ port = 51820;
61
+ };
62
+
63
+ packet-epyc-1 = {
64
+ ip = "10.254.1.9";
65
+ enpdoint = "147.75.198.47";
66
+ port = 51820;
67
+ };
68
+
69
+ packet-t2-4 = {
70
+ ip = "10.254.1.10";
71
+ enpdoint = "147.75.98.145";
72
+ port = 51820;
73
+ };
74
+
75
mac1 = {
76
ip = "10.254.2.1";
77
publicKey = "IiGbZ3l+IYWP/nOjPBhUL0oBh2XJAtUD5DToM9FhTTE=";