Update ftp

This commit is contained in:
Bob Mottram 2014-09-22 09:20:40 +01:00
parent 0ae29f175a
commit 8d151fc6d1
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ function configure_firewall_for_ftp {
if grep -Fxq "configure_firewall_for_ftp" $COMPLETION_FILE; then if grep -Fxq "configure_firewall_for_ftp" $COMPLETION_FILE; then
return return
fi fi
iptables -I INPUT -i eth0 -p tcp --dport 20:21 -j ACCEPT iptables -I INPUT -i eth0 -p tcp --dport 1024:65535 --sport 20:21 -j ACCEPT
save_firewall_settings save_firewall_settings
echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE echo 'configure_firewall_for_ftp' >> $COMPLETION_FILE
} }