NAS200 FTP and Linksys WRT54GP2

Discussion in 'Cisco/Linksys Network Storage Devices' started by bloodlust, Feb 6, 2009.

  1. bloodlust

    bloodlust Guest

    Hello was wondering if someone can help me out? I have a NAS200 with the FTP setup on the default port 21 and I add the port 21 to the application and gaming tab within my WRT54GP2(Wireless/Vonage Router) I can connect but it does not allow me to list directories or anything else that does not use port 21. The only way I can get it to work is by putting in the entire port range listed beside the fTP option in the NAS200. I do not feel safe with that as then I am left totally open. I can connect locally via the FTP programs such as Filezilla or Cuteftp but not externally. Can you specify the port ranges the NAS200 uses?

    Any help would be appreciated.

    Thank you all in advanced.
  2. jac_goudsmit

    jac_goudsmit Super Moderator Staff Member Member

    Running an FTP server behind a NAT firewall such as the WRT54GP2 will always give trouble because of the way the protocol was designed. Basically, the NAT firewall will have to know that you have an FTP server and it has to rewrite the packets to make it work. No consumer NAT gateway that I know of, can do this. For more information, try googling for something like FTP server behind NAT router.

    One way to fix this is to install a smarter firmware into your router, such as OpenWRT.

    Another way to fix it is to install my Jac2b firmware on your NAS200 and open port 22 on your router. That way you will not only be able to log in to the NAS via a secure shell (SSH) connection from anywhere in the world, but you will also be able to upload and download files via the SCP protocol e.g. by using the WinSCP program.

    This also solves the issue that FTP is not a secure protocol: the files, directories, as well as the user ID and password are transferred over the network in clear text when you use FTP, but SCP and SSH use encryption to keep your data safe.

  3. dush

    dush Addicted to LI Member

    force your ftp client to use passive mode ftp. it should work just fine with any nat router then.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice