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

Genius-hosting??

Posted by Luminance, 09-03-2002, 06:13 PMHello guys, Is there any other company comparable to...

clamscan command

Posted by persianwhois, 04-21-2009, 05:04 AMCan you please provide a clamscan ssh command for...

Help copy sql colume

Posted by jimmysback, 03-04-2010, 05:23 PMHi guys i need some help desining a sql query what i...

how to install shared ssl in cpanel server

Posted by yajur, 04-19-2009, 01:36 PMhow to install shared ssl in cpanel server any tutio or...

PHP/MySQL -> memcached?

Posted by Sammy89, 02-14-2011, 01:41 PMWhat is the best way to improve PHP/MySQL sites? I'm...