commit 857a9fbcdb0f3d16fe282fa33a755173f6f88624
parent c168ee2fc76dc7de11b5c76efa10c00f1187487f
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 26 Aug 2023 23:01:36 +0200
meow
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -186,7 +186,7 @@
wg-quick.interfaces = {
wg0 = {
- address = [ "10.100.0.1/24" ];
+ address = [ "10.100.0.1/24" "fe99:13::1/64" ];
listenPort = 51820;
privateKeyFile = config.sops.secrets."wireguard/private_key".path;
table = "off";
@@ -543,6 +543,12 @@
};
}
+ protocol direct {
+ ipv4;
+ ipv6;
+ interface "floating1";
+ }
+
protocol ospf v2 v4 {
ipv4 {
import all;
@@ -550,9 +556,6 @@
};
area 0 {
interface "wg0";
- interface "floating1" {
- type nonbroadcast;
- };
};
}
@@ -568,9 +571,6 @@
};
area 0 {
interface "wg0";
- interface "floating1" {
- type nonbroadcast;
- };
};
}
'';