net: annotate the UPNP rule
This commit is contained in:
parent
6cbc0bedf3
commit
3856710faf
|
@ -36,7 +36,9 @@
|
||||||
networking.networkmanager.plugins = lib.mkForce [];
|
networking.networkmanager.plugins = lib.mkForce [];
|
||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [
|
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; ''
|
networking.firewall.extraCommands = with pkgs; ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user