diff options
-rw-r--r-- | ymir.nix | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -160,6 +160,8 @@ in rec { | |||
160 | allowedUDPPorts = [ 64738 # murmur | 160 | allowedUDPPorts = [ 64738 # murmur |
161 | 53 # DNS | 161 | 53 # DNS |
162 | ]; | 162 | ]; |
163 | allowedTCPPortRanges = [ { from = 20000; to = 21000; } # ftp | ||
164 | ]; | ||
163 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh | 165 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh |
164 | ]; | 166 | ]; |
165 | }; | 167 | }; |
@@ -973,6 +975,10 @@ in rec { | |||
973 | rsaCertFile = "/var/lib/acme/yggdrasil.li/fullchain.pem"; | 975 | rsaCertFile = "/var/lib/acme/yggdrasil.li/fullchain.pem"; |
974 | extraConfig = '' | 976 | extraConfig = '' |
975 | pam_service_name=vsftpd | 977 | pam_service_name=vsftpd |
978 | |||
979 | pasv_enable=true | ||
980 | pasv_max_port=20000 | ||
981 | pasv_min_port=21000 | ||
976 | ''; | 982 | ''; |
977 | }; | 983 | }; |
978 | 984 | ||