proftpd hangs at "LIST -al"
Hi! Whenever I use my dyndns hostname to access proftpd it hangs at:
Code:
LIST -aL How do I fix this? P.S. I'm using a linksys router btw :) |
So when you go bu network address, do you mean internal private ip? That behaviour you are describing seems to be a firewall not configured to properly handle passive ftp connections.
|
Yes! How do I configure my router properly for passive ftp connections?
|
bumping this thread up :)
|
Anwar,
I think lord-fu was pointing to your firewall/router being the cause of the problem as you do not experience this on internal network (not going via firewall) but do from outside the network (running via firewall). There is a detailed description about Active and Passive FTP through Linksys firewalls here: http://www.allaboutjake.com/network/linksys/ftp/ The FTP protocol uses two channels, a control channel and a data channel. Which port the data channel runs on depends on whether you are using Active or Passive FTP. From what you have said it appears the control channel is working (you get login) but not the data channel (ls command fails). This could be due to: 1. NAT on firewall causing data channel to fail. 2. Data port being blocked or not forwarded on firewall. 3. FTP client set to use Active rather than passive transfers. how you resolve this depends on what your firewall, FTP server and connecting clients support. The link above explains theory, from there you should be able to decide what is best in your situation. You may also want to look on the Linksys site to see if there is info on there how to setup FTP access on their routers/firewallls. Thanks Martin |
Thanks MartinUK for the informative post! It's a bit clearer now thanks :)
|
Quote:
I opened up ports 50000 - 50100 on my firewall for passive connections. Not sure how many people this will support at one time but it seems to get the job done... |
All times are GMT -5. The time now is 05:07 PM. |