opened ports for soulseek

This commit is contained in:
Aly Raffauf 2024-03-09 20:05:39 -05:00
parent 7c9cba9064
commit bdadfded92

View file

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