diff --git a/hosts/leon/default.nix b/hosts/leon/default.nix index 7da24cdc..353f78be 100644 --- a/hosts/leon/default.nix +++ b/hosts/leon/default.nix @@ -109,6 +109,9 @@ in networkConfig.IPv6AcceptRA = true; }; }; + # enable IP routing + boot.kernel.sysctl."net.ipv4.conf.all.forwarding" = 1; + boot.kernel.sysctl."net.ipv4.conf.default.forwarding" = 1; security.sudo = { enable = true;