aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/pad/network.nix8
-rw-r--r--hosts/station/network.nix6
2 files changed, 8 insertions, 6 deletions
diff --git a/hosts/pad/network.nix b/hosts/pad/network.nix
index 6831f92..cf92f23 100644
--- a/hosts/pad/network.nix
+++ b/hosts/pad/network.nix
@@ -43,9 +43,11 @@
# Open ports in the firewall.
firewall = {
## 1313 is for HUGO
- allowedTCPPorts = [ 1313 ];
- ## 51820 is wg 53317 is localsend
- allowedUDPPorts = [ 51820 53317 ];
+ ## 2234 is nicotine
+ ## 53317 is localsend
+ allowedTCPPorts = [ 1313 2234 53317 ];
+ ## 51820 is wg
+ allowedUDPPorts = [ 51820 ];
};
# Or disable the firewall altogether.
# firewall.enable = false;
diff --git a/hosts/station/network.nix b/hosts/station/network.nix
index c1b08ea..682b74b 100644
--- a/hosts/station/network.nix
+++ b/hosts/station/network.nix
@@ -44,10 +44,10 @@
firewall ={
## 1313 is HUGO
## 2234 is nicotine
- allowedTCPPorts = [ 1313 2234 ];
- ## 51820 is wg
## 53317 is localsend
- allowedUDPPorts = [ 51820 53317 ];
+ allowedTCPPorts = [ 1313 2234 53317 ];
+ ## 51820 is wg
+ allowedUDPPorts = [ 51820 ];
};
# Or disable the firewall altogether.
# firewall.enable = false;
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.