nix-flake/base/firewall.nix

5 lines
129 B
Nix

{
networking.firewall.allowedTCPPorts = [ 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
#for syncthing
}