From 8a00748447af82ef5b0d99f9812af57e3464affe Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 11 Oct 2022 21:31:55 +0200 Subject: [PATCH] Open additional torrent port --- hosts/architect/firewall.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/architect/firewall.nix b/hosts/architect/firewall.nix index dec5933..43117d5 100644 --- a/hosts/architect/firewall.nix +++ b/hosts/architect/firewall.nix @@ -17,7 +17,8 @@ let wireguard_udp = 1194; # TCP/UDP services - transmission = 51413; + torrent_a = 51413; + torrent_b = 51414; # grouping open_tcp_ports = lib.concatMapStringsSep "," (x: toString x) [ @@ -26,11 +27,13 @@ let https_tcp synapse_tcp gitea_tcp - transmission + torrent_a + torrent_b ]; open_udp_ports = lib.concatMapStringsSep "," (x: toString x) [ wireguard_udp - transmission + torrent_a + torrent_b ]; open_tcp_ports_vpn = lib.concatMapStringsSep "," (x: toString x) [ ssh_tcp