lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

winbox: add UDP port range

Wine needs to listen to UDP ports 40k to 50k. Winbox can
use these ports to discover and connect.

Signed-off-by: Armin Mahdilou <Armin.Mahdilou@gmail.com>

+9 -1
+9 -1
nixos/modules/programs/winbox.nix
··· 24 24 25 25 config = lib.mkIf cfg.enable { 26 26 environment.systemPackages = [ cfg.package ]; 27 - networking.firewall.allowedUDPPorts = lib.optionals cfg.openFirewall [ 5678 ]; 27 + networking.firewall = lib.mkIf cfg.openFirewall { 28 + allowedUDPPorts = [ 5678 ]; 29 + allowedUDPPortRanges = [ 30 + { 31 + from = 40000; 32 + to = 50000; 33 + } 34 + ]; 35 + }; 28 36 }; 29 37 }