1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to connect to a local server using WAN Hostname/IP?

Discussion in 'Tomato Firmware' started by WindSlash, Feb 26, 2009.

  1. WindSlash

    WindSlash Addicted to LI Member

    I'd like to be able to connect to a local server behind router using my WAN IP instead of Router IP or local IP.

    Let's assume I have a domain.com that points to my WAN IP of 1.2.3.4. My internal router IP is 10.0.0.1 while my server LAN IP is 10.0.0.2 (port forwarded to it) and my client LAN IP is 10.0.0.100. With the default tomato setup, if I connect:
    ...directly to 10.0.0.2, server would recognize the client as 10.0.0.100.
    ...directly to domain.com or WAN IP, server would recognize the client as 10.0.0.1.

    Is it possible to connect to domain.com or WAN IP, and server would recognize the client as WAN IP (1.2.3.4)? I've accomplished this with other routers, just don't know how with tomato..
     
  2. averylinden

    averylinden Addicted to LI Member

    Possibly what you want is the Advanced->Firewall->NAT Loopback->Forwarded Only option. This might be the default option if memory serves.
     
  3. WindSlash

    WindSlash Addicted to LI Member

    Thanks for the suggestion.. but that didn't seem to work. I know if that was set to Disabled, I wouldn't able to connect with a domain or WAN IP. By setting it to All or Forward Only, it does allow me to connect, but it still shows my router IP (instead of WAN IP) on the connected server. Any other thoughts?
     

Share This Page