WRT54G, WRT54GC port question

Discussion in 'Cisco/Linksys Wireless Routers' started by AsGF2MX, Apr 12, 2006.

  1. AsGF2MX

    AsGF2MX LI Guru Member

    I am not sure if the proper term for this is port mapping/translation or what exactly but how do I setup my routers (1 WRT54G with Linksys firmware and 1 WRT54GC) so that if I have an FTP server running on port 21, I can access it from outside using say port 9123 or something?

    In other words map <EXTERNAL IP>: 9123 to <INTERNAL IP>:21?
  2. NateHoy

    NateHoy Network Guru Member

    This is called "port redirection". As far as I know, it is not available on any default Linksys firmware, so you'll need aftermarket firmware on the WRT54G (assuming it's not a V5, of course!), and you won't be able to do it at all on the WRT54GC.

    HyperWRT Thibor 14 has port redirection. I would also assume that DD-WRT and the others have it, probably in the GUI but at the very least from the command line.

    An alternative, of course, is to get the FTP server to run on port 9123, then it's a simple port forward.

    I don't know exactly how your routers are configured, of course, since you state you have two of them. But you'd only need to do the redirect once.
  3. vincentfox

    vincentfox Network Guru Member

    FTP is one of those protocols which can be a bit of a problem to get it working through a firewall. It uses multiple ports.

    You would have an easier time of it (and more secure!) forwarding to an SSHD server on the internal network. If you have Windows platforms there's CygWin and several other ways to add that capability. At that point you can use SFTP on the client end of things and only need to forward 9821 (or whatever) to internal port 22.
  4. AsGF2MX

    AsGF2MX LI Guru Member

    The two routers are being used seperately in two seperate locations and have no physical connection with each other but there are some common questions so I rolled them into one. :grin:

    Well getting the FTP to run on a different port may be possible but is there any good reason why Linksys doesn't support port redir?

    That would be another possibility but I don't think it's too viable at the moment.
  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