fix: add firewall ports for kdeconnect

This commit is contained in:
Swarsel 2024-10-15 13:36:10 +02:00
parent 3f6f3fbed7
commit 9a12d78fc6
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 16 additions and 2 deletions

View file

@ -6,7 +6,13 @@
firewall = {
checkReversePath = lib.mkDefault false;
enable = lib.mkDefault true;
allowedUDPPorts = [ 51820 ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard
allowedUDPPorts = [ 51820 ]; # 51820: wireguard
allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # kde-connect
];
allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # kde-connect
];
};
networkmanager = {