commit 1d593747fccb98508ca9089c4b61b0315af62d48 parent 2670e93ffd3ad0c3d49d8f43afac92518955450d Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 27 Aug 2023 00:05:09 +0200 Meow Diffstat:
| M | nixos/worker-1/configuration.nix | | | 24 | ++++++++++++------------ |
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -537,39 +537,39 @@ protocol device { } + protocol direct { + interface "floating1"; + } + protocol kernel { ipv4 { - export where proto = "wg" || proto = "dummy"; + export where proto = "wg"; }; } - protocol direct { - ipv4; - ipv6; - interface "floating1"; + protocol kernel { + ipv6 { + export where proto = "wg6"; + }; } - + protocol ospf v2 v4 { ipv4 { import all; export all; }; + graceful restart 1; area 0 { interface "wg0"; }; } - protocol kernel { - ipv6 { - export where proto = "wg6" || proto = "dummy"; - }; - } - protocol ospf v3 v6 { ipv6 { import all; export all; }; + graceful restart 1; area 0 { interface "wg0"; };