leon: enable ip forwarding

This commit is contained in:
Astro 2022-08-31 19:50:48 +02:00
parent dfc5784d23
commit 3420b853de
1 changed files with 3 additions and 0 deletions

View File

@ -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;