1
0

Enable IP forward to router

This commit is contained in:
clerie 2022-07-13 21:22:46 +02:00
parent 8481fbf42b
commit e1ec254cf0

View File

@ -35,6 +35,17 @@
networking.nameservers = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ]; networking.nameservers = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ];
boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true;
"net.ipv4.conf.default.forwarding" = true;
"net.ipv6.conf.all.accept_ra" = 0;
"net.ipv6.conf.default.accept_ra" = 0;
"net.ipv6.conf.all.forwarding" = true;
"net.ipv6.conf.default.forwarding" = true;
};
services.radvd.enable = true; services.radvd.enable = true;
services.kea.dhcp4 = { services.kea.dhcp4 = {