Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printAllPortMapping only displays UPnP mappings #7

Open
Ponkabonk opened this issue Oct 25, 2017 · 1 comment
Open

printAllPortMapping only displays UPnP mappings #7

Ponkabonk opened this issue Oct 25, 2017 · 1 comment

Comments

@Ponkabonk
Copy link

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
Copy link
Owner

ofekp commented Oct 27, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants