ofekp / TinyUPnP

A very small UPnP IGD implementation for your ESP8266 for automatic port forwarding
GNU Lesser General Public License v2.1
103 stars 15 forks source link

printAllPortMapping only displays UPnP mappings #7

Open Ponkabonk opened 6 years ago

Ponkabonk commented 6 years ago

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. log rules

ofekp commented 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.