How to Open Passive FTP in iptable?

How to Open Passive FTP in iptable

To Open Passive FTP in iptable root login is require.

If you want to open port range from 30000:64000 then run the following command from shell.

iptables -A INPUT -p tcp -m tcp –dport 30000:64000 -j ACCEPT

Similarly you can open passive post range as per your requirement.

About Anant 386 Articles
Senior technical writer