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.
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?