chuyskywalker
New Around Here
I've got my script all worked out and doing what I expect, ala:
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!
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!