diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-18 15:07:24 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-18 15:07:24 +0100 |
commit | 5a3b6d80405c3319089104a6b3120094ce6e25ba (patch) | |
tree | b3fef8d3db86edf37c203503cc1517f77140b605 /nixos | |
parent | 30531facff062d140079e2e354fb6e62b184b5cd (diff) | |
download | user-config-5a3b6d80405c3319089104a6b3120094ce6e25ba.tar.gz user-config-5a3b6d80405c3319089104a6b3120094ce6e25ba.zip |
Open syncthing firewall port
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/common.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/common.nix b/nixos/common.nix index a840d3b..798fbc0 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -144,8 +144,12 @@ }; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ + 22000 # syncthing + ]; + networking.firewall.allowedUDPPorts = [ + 22000 # syncthing + ]; # Or disable the firewall altogether. # networking.firewall.enable = false; |