commit 65046acb52f33ae3aec0b861adb083289763bbe3
parent 331f9acef47d762f1c785c072992af0d1a0f206d
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 4 Oct 2023 15:12:15 +0200
More tweaks
Diffstat:
2 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -511,9 +511,6 @@
};
}
-
-
-
protocol ospf v2 v4 {
ipv4 {
import filter {
@@ -524,8 +521,10 @@
export filter { if is_valid_network() && source ~ [RTS_STATIC, RTS_OSPF] then accept; else reject; };
};
graceful restart 1;
- area 0 {
- interface "wg0", "wg1";
+ area 0.0.0.0 {
+ interface "wg0", "wg1" {
+ type ptmp;
+ };
};
}
@@ -539,8 +538,10 @@
export filter { if is_valid_network_v6() && source ~ [RTS_STATIC, RTS_OSPF] then accept; else reject; };
};
graceful restart 1;
- area 0 {
- interface "wg0", "wg1";
+ area 0.0.0.0 {
+ interface "wg0", "wg1" {
+ type ptmp;
+ };
};
}
'';
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix
@@ -403,9 +403,6 @@
};
}
-
-
-
protocol ospf v2 v4 {
ipv4 {
import filter {
@@ -416,8 +413,10 @@
export filter { if is_valid_network() && source ~ [RTS_STATIC, RTS_OSPF] then accept; else reject; };
};
graceful restart 1;
- area 0 {
- interface "wg0", "wg1";
+ area 0.0.0.0 {
+ interface "wg0", "wg1" {
+ type ptmp;
+ };
};
}
@@ -431,8 +430,10 @@
export filter { if is_valid_network_v6() && source ~ [RTS_STATIC, RTS_OSPF] then accept; else reject; };
};
graceful restart 1;
- area 0 {
- interface "wg0", "wg1";
+ area 0.0.0.0 {
+ interface "wg0", "wg1" {
+ type ptmp;
+ };
};
}
'';