mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 23:31:54 -05:00
opened ports for soulseek
This commit is contained in:
parent
7c9cba9064
commit
bdadfded92
|
@ -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; }
|
||||||
];
|
];
|
||||||
}
|
}
|
Loading…
Reference in a new issue