diff --git a/machines/modules/malobeo/wireguard.nix b/machines/modules/malobeo/wireguard.nix index 81f4bb35..89207bbf 100644 --- a/machines/modules/malobeo/wireguard.nix +++ b/machines/modules/malobeo/wireguard.nix @@ -63,6 +63,8 @@ in ''; } ]; + + boot.kernel.sysctl."net.ipv4.ip_forward" = mkIf (myPeer.role == "server") 1; networking.wg-quick = { interfaces = {