leon: enable ip forwarding
This commit is contained in:
parent
dfc5784d23
commit
3420b853de
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue