commit 17d22b1f1606cead084c24aa3ddcadb42862be08 parent 9de63c7e6bf3c1f9029955f42eaae7bc70c56adf Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 27 Aug 2023 00:44:23 +0200 Fix it all Diffstat:
| M | nixos/worker-1/configuration.nix | | | 19 | ++++--------------- |
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -545,28 +545,17 @@ protocol kernel { ipv4 { - import none; - export all; - #export where proto = "wg"; + import all; + export where proto = "wg" || proto = "dummy"; }; } protocol kernel { ipv6 { - import none; - export all; - #export where proto = "wg6"; - }; - } - - protocol static { - ipv4 { import all; + export where proto = "wg6" || proto = "dummy"; }; } - protocol static { - ipv6; - } protocol ospf v2 v4 { ipv4 { @@ -629,7 +618,7 @@ unicastPeers = [ "10.100.0.2" ]; virtualIps = [ { - addr = "192.0.12.1/24"; + addr = "10.100.12.1/24"; dev = "floating1"; } ];