From 6a52b310565b2f0c93fe3e069394ed4a8aef81b0 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 30 Jan 2024 16:02:49 -0500 Subject: Router --- modules/router.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/router.nix b/modules/router.nix index 33e8407..1e05b08 100644 --- a/modules/router.nix +++ b/modules/router.nix @@ -50,6 +50,14 @@ let "net.ipv4.conf.default.forwarding" = true; "net.ipv6.conf.all.forwarding" = true; "net.ipv6.conf.default.forwarding" = true; + # Do not prevent IPv6 autoconfiguration. + # See . + "net.ipv6.conf.all.accept_ra" = 2; + "net.ipv6.conf.default.accept_ra" = 2; + + # Forward IPv6 packets. + "net.ipv6.conf.all.forwarding" = true; + "net.ipv6.conf.default.forwarding" = true; }; environment.systemPackages = with pkgs; [ tcpdump ]; -- cgit v1.2.3