What's new

Port-Forwarding missing data (RT-AC68U-Merlin384.12)

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

marius_rg

New Around Here
Hi guys,

since the recent FWs my port fw list has been empty and no matter what I add, when I go back or refresh the page, the newly added entry is again missing.

If I do from ssh "nvram get vts_rulelist" it doesn't show anything.

Thank you.
 
Maybe you've run out of free space in NVRAM. Check it on the Tools - System Information page.
 
If you ever used OpenVPN in the past, there might be some leftovers key/certs wasting nvram space (as these are now stored in the jffs partition).

Create the following script on your router and run it to remove these from nvram.

Code:
#!/bin/sh

echo "Removing unused cert/key from nvram..."

for i in 1 2 3 4 5
do
    nvram unset vpn_crt_client$i\_ca
    nvram unset vpn_crt_client$i\_extra
    nvram unset vpn_crt_client$i\_crt
    nvram unset vpn_crt_client$i\_key
    nvram unset vpn_crt_client$i\_crl
    nvram unset vpn_crt_client$i\_static
done

for i in 1 2
do
    nvram unset vpn_crt_server$i\_ca
    nvram unset vpn_crt_server$i\_dh
    nvram unset vpn_crt_server$i\_ca_key
    nvram unset vpn_crt_server$i\_extra
    nvram unset vpn_crt_server$i\_client_crt
    nvram unset vpn_crt_server$i\_crl
    nvram unset vpn_crt_server$i\_crt
    nvram unset vpn_crt_server$i\_key
    nvram unset vpn_crt_server$i\_static
    nvram unset vpn_crt_server$i\_client_key
done

nvram commit

echo "done."
 
Thank you, that cleared a bit the usage

NVRAM usage
54267 / 65536 bytes

That should be confortable enough for regular usage, as long you don't enter a lot of DHCP static leases with long hostnames.
 

Sign Up For SNBForums Daily Digest

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

Members online

Top