PDA

Bekijk de volledige versie : ‘Satus & Log’->‘Port Forwarding’: How to cleanup?



sags
11-08-2009, 11:29
Hello all,

After Bittorrent failing a few times on a client computer (not the Bittorrent client inside the router, but a client running on a computer on the LAN), quite a few port forwardings remained showing in ‘Satus & Log’/ ‘Port Forwarding’. These are not needed anymore. How can I delete these for good?

(I have an ASUS WL-500G Premium with fw 1.9.7.7.)

wpte
12-08-2009, 00:12
you can try to remove the upnp portforwarded ports in a special client.

original download site: http://www.codeproject.com/KB/IP/PortForward.aspx
you do need to register here... but you can also download a slightly modified version I compiled.

I only removed some nag screens: http://wpte.kicks-ass.net/downloads.php?cat_id=3&download_id=11

it's easy to add, edit and delete upnp rules:)

Kolandr
14-08-2009, 10:34
through ssh:
to view ports:

nvram show | grep forward_port
to delete port:

nvram unset forward_portX
where X number of port from nvram show command

sags
14-08-2009, 11:06
Thanks both.

For now I used the UPnP tool pointed by wpte, but I’ll keep in mind Kolandr’s solution too for the next time it happens, as it does not require any 3rd party tool. Also want to mention the ‘nvram … | grep …’ works (and I don’t see any reason for the other command not to work either, but for now I cannot test it) from the hidden command page (http://router.s.ip.addr/Main_AdmStatus_Content.asp) too, so I don’t need to hunt for a Windows-based ssh client.

After the cleanup, I also saved the current config to a file. Next time it happens, I’ll check to see if uploading this settings file cleans up the port forwardings too.