What's new

Accessing modem web GUI

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

tarassippo

Regular Contributor
By reading a few forums I was able to find a solution on how to access the web GUI of my modem (IP address is 192.168.2.1) which is connected to the WAN port of my R7800:
Code:
ifconfig $(nvram get wan_ifname):1 192.168.2.2 netmask 255.255.255.0

iptables -t nat -I POSTROUTING -s ! $(nvram get lan_ipaddr) -d 192.168.2.1 -j SNAT --to 192.168.2.2
At least I know that 'iptables' mean a change in the firewall, so could someone confirm there is no security breach/risk by adding that rule?

Now, the issue I have is that after a while I can't access the GUI anymore, why ?

Could someone shed some light on what I'm doing wrong?

Also, would someone please explain to me what to do in order to automatically load those lines each time the router reboot ? :rolleyes:

Tia.
 
Last edited:
If you have a leased modem from Spectrum that is why. All of spectrum’s modems including older ones are having their GUI’s blocked. All of the new ones already have the GUI blocked and the rest are updates until they are all blocked. They apparently had too to many support calls from customers who did not know what they were looking at either in the logs or the values in the GUI pages.
 
Netgear has an own firewall that now and then resets all rules you add...

If you use Voxel FW there is a way to make the iptables you add "stick", using e.g. /opt/scripts/firewall-start.sh.
https://www.snbforums.com/threads/custom-firmware-build-for-r7800-v-1-0-2-74-1sf.61190/
https://www.snbforums.com/threads/c...r-r7800-v-1-0-2-72sf.59894/page-5#post-524447
https://www.snbforums.com/threads/c...r-r7800-v-1-0-2-54sf.47947/page-2#post-420955
https://www.snbforums.com/threads/p...to-source-ip-address-range.42821/#post-365354

Read the Voxel documentation for instructions:
http://www.voxel-firmware.com/Downloads/Voxel/readme.docx

By reading a few forums I was able to find a solution on how to access the web GUI of my modem (IP address is 192.168.2.1) which is connected to the WAN port of my R7800:
Code:
ifconfig $(nvram get wan_ifname):1 192.168.2.2 netmask 255.255.255.0

iptables -t nat -I POSTROUTING -s ! $(nvram get lan_ipaddr) -d 192.168.2.1 -j SNAT --to 192.168.2.2
At least I know that 'iptables' mean a change in the firewall, so could someone confirm there is no security breach/risk by adding that rule?

Now, the issue I have is that after a while I can't access the GUI anymore, why ?

Could someone shed some light on what I'm doing wrong?

Also, would someone please explain to me what to do in order to automatically load those lines each time the router reboot ? :rolleyes:

Tia.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top