From 503f8a2557605f7384d7f10eb6fa3a09a20fc6b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Tue, 4 Apr 2017 19:38:28 +0200
Subject: [PATCH] add firewall readme

---
 .../2.Install_FTP_watch_folder/readme.txt     | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 10.MediaFolder/2.Install_FTP_watch_folder/readme.txt

diff --git a/10.MediaFolder/2.Install_FTP_watch_folder/readme.txt b/10.MediaFolder/2.Install_FTP_watch_folder/readme.txt
new file mode 100644
index 00000000..be4ef325
--- /dev/null
+++ b/10.MediaFolder/2.Install_FTP_watch_folder/readme.txt
@@ -0,0 +1,20 @@
+Firewall
+========
+
+# echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
+
+ferm.conf
+        # FTP upload for MediaFolder
+        saddr $NET_FTP proto tcp dport (ftp 40110:40210) ACCEPT;
+        mod helper helper ftp ACCEPT;
+
+Debugging
+=========
+
+To enable debugging within pure-ftpd, 
+
+echo yes > /etc/pure-ftpd/conf/VerboseLog
+
+logs are visible with
+
+journalctl -f
-- 
GitLab