1 Answer
Enable the passive mode by adding the following line in ftp config file.
PassivePortRange 30000 50000
Add the below iptable rules in /etc/sysconfig/iptables file to allow the passive port for FTP.
-A cP-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 30000:50000 -j ACCEPT
-A cP-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT
Your Answer
x