fix routing via yevaud

This commit is contained in:
Katherina Walshe-Grey 2024-07-25 17:57:13 +01:00
parent 95aef242ea
commit 752faa333d

View file

@ -62,6 +62,12 @@ in
]; ];
networking = { networking = {
nat = mkIf host.isRouter {
enable = true;
enableIPv6 = true;
internalInterfaces = [ "birdsong" ];
};
firewall.allowedUDPPorts = mkIf cfg.openPorts [ host.port ]; firewall.allowedUDPPorts = mkIf cfg.openPorts [ host.port ];
wireguard.interfaces.${cfg.interface} = { wireguard.interfaces.${cfg.interface} = {