« Centos 7 X won't start after installing CUDA 7.5 | Setting the primary monitor for gdm on Centos 7 » |
All of a sudden port forwarding stopped working in dd-wrt, checking the nvram showed lots of old upnp port forwards hanging around and no space left in the nvram.
root@DD-WRT:~# nvram show | grep forward_port
forward_port66=37084-37084>192.168.0.65:37084-37084,udp,on,Skype UDP at 192.168.0.65:37084 (2587)
forward_port67=37084-37084>192.168.0.65:37084-37084,tcp,on,Skype TCP at 192.168.0.65:37084 (2587)
forward_port68=45327-45327>192.168.0.244:45327-45327,udp,on,Skype UDP at 192.168.0.244:45327 (2587)
forward_port69=45327-45327>192.168.0.244:45327-45327,tcp,on,Skype TCP at 192.168.0.244:45327 (2587)
forward_port350=14494-14494>192.168.0.228:14494-14494,udp,on,Skype UDP at 192.168.0.228:14494 (2718)
forward_port351=14494-14494>192.168.0.228:14494-14494,tcp,on,Skype TCP at 192.168.0.228:14494 (2718)
forward_port190=58936-58936>192.168.0.207:58936-58936,udp,on,Teredo
forward_port191=51556-51556>192.168.0.156:51556-51556,udp,on,Teredo
forward_port352=49419-49419>192.168.0.228:49419-49419,udp,on,Teredo
forward_port353=21858-21858>192.168.0.159:21858-21858,udp,on,Skype UDP at 192.168.0.159:21858 (2718)
forward_port192=15255-15255>192.168.0.199:15254-15254,udp,on,Skype UDP at 192.168.0.199:15254 (2661)
forward_port354=21858-21858>192.168.0.159:21858-21858,tcp,on,Skype TCP at 192.168.0.159:21858 (2718)
forward_port193=49313-49313>192.168.0.228:49313-49313,udp,on,Teredo
forward_port194=49977-49977>192.168.0.167:49977-49977,udp,on,Teredo
forward_port230=49460-49460>192.168.0.207:49460-49460,udp,on,Teredo
forward_port355=63293-63293>192.168.0.159:63293-63293,udp,on,Teredo
forward_port231=56557-56557>192.168.0.228:56557-56557,udp,on,Teredo
forward_port195=60778-60778>192.168.0.156:60778-60778,udp,on,Teredo
forward_port356=61598-61598>192.168.0.244:61598-61598,udp,on,Teredo
size: 65549 bytes (-13 left)
This command removes all the old forwards and freed up enough nvram so that the wifi parameters could be saved.
root@DD-WRT:~# for i in `nvram show | grep forward_port | cut -f1 -d=""`; do nvram unset $i; done
root@DD-WRT:~# nvram commit
root@DD-WRT:~# nvram show | grep forward_port
forward_port7=51891-51891>192.168.0.228:51891-51891,udp,on,Teredo
size: 26808 bytes (38728 left)