What's new

How to apply nvram changes from the CLI (RT-N66U)?

  • 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!

chuyskywalker

New Around Here
I've got my script all worked out and doing what I expect, ala:

Code:
...
nvram set vts_rulelist="<clusterfollow>80>192.168.1.50>80>TCP"
nvram commit

And when I pull up the port forwarding configuration page, it shows the changes. However, if you go to the "System Log - Port Forwarding" page (http://192.168.1.1/Main_IPTStatus_Content.asp) it does not show that my change has actually been put into place (which means, I suppose, that the iptables rules haven't actually been updated).

I can reboot the router every time I run this script, but that seems waaaay overkill since the router clearly has some way of redoing these settings without halting all operations. Can that method (the equivalent of pressing "Apply") be run via ssh?

Thanks!
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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