network route for youko

This commit is contained in:
Youko 2021-10-21 12:33:08 -06:00
parent 57a2373d5d
commit 1f2a2af457

View file

@ -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 = '' networking.nftables.extraInput = ''
meta l4proto 89 iifname wgmesh-* accept meta l4proto 89 iifname wgmesh-* accept
''; '';