net: annotate the UPNP rule

This commit is contained in:
Colin 2024-01-15 01:08:10 +00:00
parent 6cbc0bedf3
commit 3856710faf

View File

@ -36,7 +36,9 @@
networking.networkmanager.plugins = lib.mkForce [];
networking.firewall.allowedUDPPorts = [
1900 # to received UPnP advertisements. required by sane-ip-check-upnp
# to receive UPnP advertisements. required by sane-ip-check.
# N.B. sane-ip-check isn't query/response based. it needs to receive on port 1900 -- not receive responses FROM port 1900.
1900
];
networking.firewall.extraCommands = with pkgs; ''