From cf02d94edc290a6ffef3957189dbc8e4201dbb2e Mon Sep 17 00:00:00 2001 From: lpoujol Date: Thu, 31 May 2018 10:58:03 +0200 Subject: [PATCH] FTP Passif --- HowtoNetfilter.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HowtoNetfilter.md b/HowtoNetfilter.md index 4f58706d..86d78b91 100644 --- a/HowtoNetfilter.md +++ b/HowtoNetfilter.md @@ -173,4 +173,9 @@ Exemple si on a un serveur Munin centralisé, il a besoin de joindre les _munin- # iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 3128 ~~~ +### FTP Passif + +~~~ +# iptables -A INPUT -p tcp --dport 60000:61000 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT +~~~