Open Ponkabonk opened 6 years ago
From a quick search, I think not... But that is just by seeing no information about it. Most routers will allow CLI commands to show the thing you are interested in but will not provide an API to see their configuration (other than the Web UI). CLIs can be cumbersome and they differ from router to router, contrary to a defined protocol such as UPnP. To make certain that this is the case, I do suggest posting a question on Stack Overflow. Just to be sure. You do not need any ranking for posing questions on SO. Please attach the link to the post when you post your question so that I will be able to follow.
Is there a way to get a list of all port mappings? printAllPortMapping only shows those that were configured with UPnP. Any manually-mapped ports are not displayed (at least on my Fios router). See attached.