router: reduce number of v6 addresses
1 file changed, 6 insertions(+), 4 deletions(-)
changed files
M system/roles/router.nix → system/roles/router.nix
@@ -50,6 +50,7 @@ enable = true; config = { networkConfig = { IPv6Forwarding = true; + IPv6PrivacyExtensions = false; }; }; networks = {@@ -102,6 +103,7 @@ Label = "${wan}:1"; }; dhcpV6Config = { UseDNS = false; + UseAddress = false; # I only want a prefix, not a /128 SendHostname = false; PrefixDelegationHint = "::/${toString wanPrefixLen}"; };@@ -177,11 +179,11 @@ "net.core.default_qdisc" = "fq"; "net.ipv6.conf.all.accept_ra" = 0; "net.ipv6.conf.all.autoconf" = 0; - "net.ipv6.conf.all.use_tempaddr" = 0; - - # "net.ipv6.conf.${wan}.accept_ra" = 2; - "net.ipv6.conf.${wan}.autoconf" = 1; + "net.ipv6.conf.default.autoconf" = 0; + "net.ipv6.conf.${wan}.autoconf" = 0; }; + + networking.tempAddresses = "disabled"; # use_tempaddr = 0 services.ddclient = { usev4 = "disabled";