Local NAT with WRT54G

Discussion in 'Networking Issues' started by snnrb, Nov 24, 2004.

  1. snnrb

    snnrb Network Guru Member

    I would like to set up local NAT in my network, in this scenario:

    - Linksys WRT54G configured as Internet gateway.
    - LAN host A, with a web server listening on port 8080.
    - Port range forward configured to forward incoming traffic from WAN to the router port 8080, to LAN host A.

    With this setup, an external computer connecting to my public IP, port 8080, gets access to the internal web server. However, I would like to access LAN host A from LAN host B, but using the WAN IP, so that traffic goes from host B to the WRT54G, and then from there is natted to LAN host A. This is known as local NAT. Is there any way to configure a WRT54G to make this work.

    In Zyxel routers you can achieve this with the command "ip nat loopback on".

    Thanks in advance.
  2. 4Access

    4Access Network Guru Member

    "Local NAT" may work by default, have you tried it? (I know it does on at least some of the older Linksys routers.) If not, the Sveasoft firmware includes a Loopback option that may be of interest:

  3. snnrb

    snnrb Network Guru Member

    Thanks a lot!

    It didn't work by default. But with Sveasoft's Satori loopback option it works like a charm.

  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