cant ls,dir with ftp client
One ive been trying for ages... and its doin my head in!!
I have a redhat 9 box running vs FTP server.
I have it on the same lan ( simple 4 port hub) as my windows box, but when i use a dos prompt to ftp to my redhat box, i can log in ok, but cant do an 'ls' or 'dir' ??
Ive tried an ftp client on my windows box, and tried both passive and active modes, but still cant see files. I can create directories!!
On the redhat box, i can ftp 'localhost' and all works fine in a terminal window.
I know this is a firewall problem as when i do an 'iptables -f' , it works fine.
I have ports 20 and 21 set-up in the firewall, but they must be wrong, or some high port is not getting through.
I need some help to set the rules up correctly to get this working. Can anyone help??
Basically i only want the ftp and ssh services runnig, everything else to be rejected and the box to be stealthy.
There is no firewall between the boxes, no firewall on the PC, just iptables on the redhat box, (same box as vs ftp)