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

Specify router IP instead of discovery (enhancement) #9

Open
my2038 opened this issue Sep 6, 2015 · 4 comments
Open

Specify router IP instead of discovery (enhancement) #9

my2038 opened this issue Sep 6, 2015 · 4 comments
Assignees

Comments

@my2038
Copy link

my2038 commented Sep 6, 2015

I have a cascading upstream router (2 routers configuration) and portmapper can only discovery the second router. Is it possible to specify the ip address on the command line of the upstream router so that we can configure the forwarding port?

@mikeshultz
Copy link

+1

@kaklakariada
Copy link
Owner

I am not sure if the UPnP libraries I use support specifying the IP of a router. I will investigate this.

@baq99
Copy link

baq99 commented May 17, 2024

I too have this issue. I'm running a mesh system using two routers and Portmapper cannot find the master router, only the mesh router in proximity to the PC. This does not successfully forward ports through UPnP. Any joy adding specific IP support?

@kaklakariada
Copy link
Owner

Sorry for the late answer. Seems that this is already implemented, see the readme for details.

Start PortMapper like this and use the Weupnp library:

java "-Dportmapper.locationUrl=<locationurl>" -jar portmapper.jar

The URL should look like this: http://192.168.178.1:49000/igddesc.xml.

@kaklakariada kaklakariada self-assigned this May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants