Hi all,
I recently got a Netgear Nighthawk X4S R7800 and I immediately installed Voxel custom firmware. I customised the VPN following the guide from this forum, and everything worked great, except the DNS change.
I wanted to change the DNS entries for the CloudFlare ones, I first did it on the GUI, but everytime I tried changing them I lost internet connectivity.
I then gained SSH access and just modified /etc/resolv.conf with the nameservers I wanted, and that worked great! Internet worked, and the GUI showed the new DNS entries as well.
The problem is that /etc/resolv.conf gets overwritten at some point to be my ISP automatically.
I've tried to remove write permissions on the file, but it gets overwritten anyway.
Normally I would make the file immutable with chattr +i but that command is not available on the R7800.
Can anyone think of a way to prottect that file so it doesn't get overwritten, or any other way to set the DNS that is not the GUI?
Thanks!
You should be able to input DNS into the UI. Yes you will loose internet and after you apply and reboot both the router and your PC, internet should be gained.
Whats the Mfr and model# of your ISP modem?
I use 1.1.1.1 and 9.9.9.9 for DNS now days...
Hi there, I did apply, test, reboot, several times. But I didn't get internet back on any try :(
My ISP modem is a BT Smart Hub (BT HUB 6A)
DNS nameservers in resolv.conf are generated /etc/init.d/net-wan script. See the function set_dns() in this script.
But if you are using VPN I'd suggest to use dnscrypt-proxy. See the same README. It allows to keep your privacy avoiding dnsleaks. Works with VPN and w/o VPN connection.
Voxel.
is the ISP modem in router mode or modem only mode? Modem only mode is recommended if your using an external router like the R7800.
Hi all,
I solved it and I thought i post the solution for future reference.
The solution was going to my modem and setting the router into the DMZ, then setting the DNS again on the Netgear, reboot, and it worked!
Thank you all for your help!
DMZ works to. Enjoy.