opened ports for syncthing and kde connect

This commit is contained in:
Aly Raffauf 2024-03-02 17:06:12 -05:00
parent 15dd3a86bb
commit 92fd97c6b8

View file

@ -28,5 +28,20 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
# Open TXP ports for SSH and Syncthing.
networking.firewall.allowedTCPPorts = [ 22 8384 22000 ];
# Open UDP ports for Syncthing.
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
# Open ports for KDE Connect.
networking.firewall.allowedTCPPortRanges = [
# KDE Connect
{ from = 1714; to = 1764; }
];
networking.firewall.allowedUDPPortRanges = [
# KDE Connect
{ from = 1714; to = 1764; }
];
}