diff --git a/hosts/router/configuration.nix b/hosts/router/configuration.nix index df81895..beabae6 100644 --- a/hosts/router/configuration.nix +++ b/hosts/router/configuration.nix @@ -35,6 +35,17 @@ 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.kea.dhcp4 = {