NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
taylorbf
Nov 05, 2017Tutor
Forward from custom URL to IP on offline router (R7000)
I have a Nighthawk AC1900 that I am using as a local network only (not connected to the internet). My goal is to create a namespace like www.mydomain.com that forwards to a static IP that is on...
- Nov 06, 2017
Your use case isn't supported by stock firmware. You will need to set up your own DNS server that can resolve www.mydomain.com to your static IP.
You can run a DNS server on a separate machine. If you do this, then you will also have to disable the DHCP server on the R7000 and run your own DHCP server. The reason is that the R7000 DHCP server will always advertise itself as a DNS server. This will interfere with your DNS server.
Alternatively, you can install third-party firmware on the R7000, like Tomato, Asuswrt-Merlin or DD-WRT. These firmwares have dnsmasq, which is a DNS server that can do what you want.
Note: The above options will only help with DNS. If you want to redirect URLs, then you'll need to set up a web server.
TheEther
Nov 06, 2017Guru
Your use case isn't supported by stock firmware. You will need to set up your own DNS server that can resolve www.mydomain.com to your static IP.
You can run a DNS server on a separate machine. If you do this, then you will also have to disable the DHCP server on the R7000 and run your own DHCP server. The reason is that the R7000 DHCP server will always advertise itself as a DNS server. This will interfere with your DNS server.
Alternatively, you can install third-party firmware on the R7000, like Tomato, Asuswrt-Merlin or DD-WRT. These firmwares have dnsmasq, which is a DNS server that can do what you want.
Note: The above options will only help with DNS. If you want to redirect URLs, then you'll need to set up a web server.
taylorbf
Nov 06, 2017Tutor
Thanks so much for the detailed reply!
Two follow up questions:
1) Can you point me in the right direction for getting my router to use a separate DNS server? How do you tell the router to use a DNS server that is on a separate machine? I am hoping to avoid a dd-wrt install... it sounds like there is a danger of bricking the router.
2) Is there any way to have a captive portal for the Guest network? I.e. how some guest networks forward all traffic to a static address automatically. This would be another way to accomplish my goal (forward users to a specific IP). I'm guessing this also requires dd-wrt but I wanted to double-check.
- TheEtherNov 06, 2017Guru
1) Unfortunately, Netgear didn't provide a way to change the DNS server. You may want to upvote this request to add the capability, but don't hold your breath. Your only option is to completely disable the DHCP server on the router and run your own. Yes, this means you have to run your own DHCP and DNS servers. With your own DHCP server, you can configure it to advertise whatever DNS server you want.
2) You can't do a captive portal with stock firmware. You'll need third-party firmware.
- taylorbfNov 09, 2017Tutor
TheEther, thanks again for the detailed advice.
I ended up flashing DD-WRT onto the router and was able to accomplish my goal. The process was intimidating, but everything seems to be working fine and I have pretty powerful DNS configuration capabilities from dnsmasq in DD-WRT. Thanks --