From f71ead2bde885f10ace179cb6df26c9908173701 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Wed, 6 Jul 2022 20:51:51 +0100 Subject: [PATCH] nixos/estuary: Disable link-local addressing on WAN --- nixos/boxes/colony/vms/estuary/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/colony/vms/estuary/default.nix b/nixos/boxes/colony/vms/estuary/default.nix index 270b1ea..64e0648 100644 --- a/nixos/boxes/colony/vms/estuary/default.nix +++ b/nixos/boxes/colony/vms/estuary/default.nix @@ -101,7 +101,12 @@ ipv4.gateway ipv6.gateway ]; - networkConfig.IPv6AcceptRA = false; + networkConfig = { + # We're using an explicit gateway and Linux uses link local address for neighbour discovery, so we + # get lost to the router... + LinkLocalAddressing = "no"; + IPv6AcceptRA = false; + }; }; "80-base" = mkMerge [ (networkdAssignment "base" assignments.base)