please look at my ftp problem
Posted by TEGnet, 09-13-2008, 12:48 PM i am trying to setup a simple ftp server in my home, i found that all my ports were blocked so i requested my isp to open port 21 for me and now i have been able to access my server from outside but i can execute commands like ls get put it says no route to host but it works while i execute cd here is wt i have pls check this and provide me a solution btw my port 20 is still blocked, does it needs to be open to use my ftp server
Posted by SecFilterEngine, 09-14-2008, 04:02 AM Hello : Your problem is because of blocking port 20 ( Data Port ). you might ask why are you able to connect an execute command then ? Because port 21 ( Command Channel ) is open. If your ISP open the port 20 and you still have problem, try to flush the iptable : HTH,
Posted by eth1, 09-16-2008, 11:25 AM Use this rule to resolve this issue. iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Posted by Panopta, 09-16-2008, 12:36 PM Another approach might be to use SFTP, which is both more secure and uses just the SSH port (port 22) which makes it easier to route through firewalls. There are a number of good SFTP clients, such as WinSCP or Filezilla.