aboutsummaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-13 11:30:41 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-13 11:30:41 +0100
commit860f69adb6ef4b277c750b6d57c7693870f57592 (patch)
treeb617b2c2174e2a6295f56988ec9bda261ffed6b6 /node
parent22dc7adc4cf097056dd12c787131b625e6eb94d9 (diff)
downloadnixcfg-860f69adb6ef4b277c750b6d57c7693870f57592.tar.gz
nixcfg-860f69adb6ef4b277c750b6d57c7693870f57592.zip
Configure firewall
Diffstat (limited to 'node')
-rw-r--r--node/carcajou.nix6
-rw-r--r--node/cariacou.nix6
-rw-r--r--node/caribou.nix6
3 files changed, 18 insertions, 0 deletions
diff --git a/node/carcajou.nix b/node/carcajou.nix
index 74109bd..0698663 100644
--- a/node/carcajou.nix
+++ b/node/carcajou.nix
@@ -17,6 +17,12 @@
prefixLength = 24;
}
];
+ networking.interfaces.eno1.ipv6.addresses = [
+ {
+ address = "2a01:e0a:c:a720::22";
+ prefixLength = 64;
+ }
+ ];
networking.wireguard.interfaces.wg0 = {
ips = [ "10.42.0.22/16" ];
diff --git a/node/cariacou.nix b/node/cariacou.nix
index bb43c22..7b57fe2 100644
--- a/node/cariacou.nix
+++ b/node/cariacou.nix
@@ -17,6 +17,12 @@
prefixLength = 24;
}
];
+ networking.interfaces.eno1.ipv6.addresses = [
+ {
+ address = "2a01:e0a:c:a720::21";
+ prefixLength = 64;
+ }
+ ];
networking.wireguard.interfaces.wg0 = {
ips = [ "10.42.0.21/16" ];
diff --git a/node/caribou.nix b/node/caribou.nix
index 366251a..77fc35b 100644
--- a/node/caribou.nix
+++ b/node/caribou.nix
@@ -17,6 +17,12 @@
prefixLength = 24;
}
];
+ networking.interfaces.eno1.ipv6.addresses = [
+ {
+ address = "2a01:e0a:c:a720::23";
+ prefixLength = 64;
+ }
+ ];
networking.wireguard.interfaces.wg0 = {
ips = [ "10.42.0.23/16" ];