mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:53:55 -05:00
opened ports for syncthing and kde connect
This commit is contained in:
parent
15dd3a86bb
commit
92fd97c6b8
|
@ -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; }
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue