summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/elchos/test/ftpservers.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-12-24 23:46:02 +0100
committermakefu <github@syntax-fehler.de>2016-12-24 23:46:02 +0100
commit83ca6e1879f89c9fbc8a64442debb1f0c0a057c1 (patch)
treedef7fd43355f3326f49cbca624aef01c0fd4d013 /makefu/2configs/elchos/test/ftpservers.nix
parent4ae1d6e6d0efbe4eb625d7a7d5c056d024dd99ea (diff)
m 2 elchos/test/: init
Diffstat (limited to 'makefu/2configs/elchos/test/ftpservers.nix')
-rw-r--r--makefu/2configs/elchos/test/ftpservers.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/makefu/2configs/elchos/test/ftpservers.nix b/makefu/2configs/elchos/test/ftpservers.nix
new file mode 100644
index 000000000..bc7517209
--- /dev/null
+++ b/makefu/2configs/elchos/test/ftpservers.nix
@@ -0,0 +1,7 @@
+{...}:
+{
+ services.vsftpd.anonymousUser = true;
+ services.vsftpd.enable = true;
+ services.vsftpd.chrootlocalUser = true;
+ networking.firewall.allowedTCPPorts = [ 21 ];
+}