0

FTP is not connected

Hi,

I cant able to connect with my server through FTP. On seeing the logs and surfed from the net, it gives something about the passive mode... Where to enable that mode..??

FTP Add a comment
grayson
asked Feb 08 2017

Answer

0

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
Add a comment
jagannatharumugam
asked Feb 08 2017
edited Oct 05 2018
Post your Answer