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.

Was this answer helpful?

 Print this Article

Also Read

Managed server

Posted by jamesthorpe, 06-25-2008, 07:14 PMHey guys, I am having some problems with a server...

Vps and Nameservers

Posted by ASTRAPI, 04-20-2009, 03:03 PMHello If i create a vps using openvz and use a new ip...

Adult Hosting

Posted by Nell, 09-03-2002, 02:07 AMI search resellers hosting plan for adult sites. The main...

Configuring pureFTPd on a VPS

Posted by eta aquarii, 03-27-2008, 02:32 PMHi, I'm trying to install and configure pureFTPD on...

grsec kernel = no tcp traffic

Posted by dragon2611, 01-11-2008, 11:54 PMTried building a grsec patched kernel as I don't fancy...