From 1f2a2af4579f5849ac57c641c2902ad51b088dbe Mon Sep 17 00:00:00 2001 From: Youko Date: Thu, 21 Oct 2021 12:33:08 -0600 Subject: [PATCH] network route for youko --- config/profiles/network.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/profiles/network.nix b/config/profiles/network.nix index 77dae1d9..aead345f 100644 --- a/config/profiles/network.nix +++ b/config/profiles/network.nix @@ -25,7 +25,10 @@ }; }; - networking.firewall.extraCommands = "ip6tables -A INPUT -p 89 -i wgmesh-+ -j ACCEPT"; + networking.firewall.extraCommands = '' + ip6tables -A INPUT -p 89 -i wgmesh-+ -j ACCEPT + ip route replace to 10.42.68.0/24 via ${nodes.marisa.network.addresses.yggdrasil.nixos.ipv4.address} + ''; networking.nftables.extraInput = '' meta l4proto 89 iifname wgmesh-* accept '';