Merge pull request #32 from mystfox/youko-wg

network route for youko
This commit is contained in:
katrin 2021-10-21 19:38:31 +01:00 committed by GitHub
commit f40aa9d83a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = ''
meta l4proto 89 iifname wgmesh-* accept
'';