Skip to content

Commit 8bc615d

Browse files
committed
nixos/yggdrasil: correct documentation
The option `LinkLocalTCPPort` does not exist anymore in recent versions of Yggdrasil. The port for incoming link-local connections is now configured as part of the `MulticastInterfaces` option. Our documentation should reflect that.
1 parent cf8b1fb commit 8bc615d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

nixos/modules/services/networking/yggdrasil.nix

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ in
4646
4747
If no keys are specified then ephemeral keys are generated
4848
and the Yggdrasil interface will have a random IPv6 address
49-
each time the service is started, this is the default.
49+
each time the service is started. This is the default.
5050
5151
If both {option}`configFile` and {option}`settings`
5252
are supplied, they will be combined, with values from
@@ -83,14 +83,14 @@ in
8383
type = bool;
8484
default = false;
8585
description = lib.mdDoc ''
86-
Whether to open the UDP port used for multicast peer
87-
discovery. The NixOS firewall blocks link-local
88-
communication, so in order to make local peering work you
89-
will also need to set `LinkLocalTCPPort` in your
90-
yggdrasil configuration ({option}`settings` or
91-
{option}`configFile`) to a port number other than 0,
92-
and then add that port to
93-
{option}`networking.firewall.allowedTCPPorts`.
86+
Whether to open the UDP port used for multicast peer discovery. The
87+
NixOS firewall blocks link-local communication, so in order to make
88+
incoming local peering work you will also need to configure
89+
`MulticastInterfaces` in your Yggdrasil configuration
90+
({option}`settings` or {option}`configFile`). You will then have to
91+
add the ports that you configure there to your firewall configuration
92+
({option}`networking.firewall.allowedTCPPorts` or
93+
{option}`networking.firewall.interfaces.<name>.allowedTCPPorts`).
9494
'';
9595
};
9696

0 commit comments

Comments
 (0)