Posted: Sun Dec 12, 2010 5:55 Post subject: Access LAN side services using WAN IP and port forwarding
I just got a Netgear WNDR3700 running DD-WRT v24-sp2 (r15778)to replace my Actiontec FiOS router, and I'm running into a behavior that's different from the Actiontec. I've configured the router to forward a few ports for services like SSH, HTTP, HTTPS to some servers on my LAN, and set up dynamic DNS to point to my WAN IP. I'm used to accessing these services by using those DDNS domain names, even when I'm on my LAN, that way I don't have to remember which internal IPs to use to access those services. However, with the WNDR3700 running DD-WRT, I can no longer access these services using the WAN IP while on my LAN. I can access them just fine from outside of my LAN, though, so the port forwards and DDNS are working just fine. I figure this is probably just a difference in default settings, but I have no idea what setting controls this behavior. Could someone point me in the right direction? Thank you very much.
Posted: Mon Dec 13, 2010 4:56 Post subject: Re: Access LAN side services using WAN IP and port forwardin
fyi2000 wrote:
solarein wrote:
However, with the WNDR3700 running DD-WRT, I can no longer access these services using the WAN IP while on my LAN.
Google "dns loopback" or "nat loopback".
Thanks for getting me onto the right track.
However, according to this wiki page:
http://www.dd-wrt.com/wiki/index.php/Port_Forwarding_Troubleshooting#Test_Loopback
Loopback should be enabled with the "Filter WAN NAT Redirection" option unchecked. Mine is unchecked, and my server isn't running a firewall and there is no additional routers/firewall between the WNDR3700 and the server, and I still can't get loopback to work. What could be the problem?
Also, sort of related to this, with regards to DNS loopback, it seems the DHCP server running on the router is not giving the address of the router itself as one of the DNS servers to DHCP clients, so lookups for internal DNS names on the LAN aren't working. How can I configure DD-WRT's default DHCP server so that it assigns itself as one of the DNS servers to DHCP clients?
What worked for you? Trying to controll my Dreambox with my smartphone... Via the 5G from my WNDR3700 it works, but with another acess-point in LAN it doesn't.
Even with a computer connectet via LAN it won't work!
Please give me some backup, that would be very nice!