I am having some trouble FTPing out of a Red Hat 7.3 box. Can anyone give me a hand with the rules I need to use in order to ftp out of the box. As of right now I can ftp out but when I try to do a "ls" it says entering into passive mode and freezes. Here are the rules I have now.
-A input -p tcp -s 0/0 ftp -d 0/0 1024:65535 -j ACCEPT
-A input -p tcp -s 0/0 ftp-data -d 0/0 1024:65535 -j ACCEPT
-A input -p tcp -s 0/0 1024:65535 -d 0/0 ftp-data -j ACCEPT
Thanks for your help,