Open my2038 opened 8 years ago
+1
I am not sure if the UPnP libraries I use support specifying the IP of a router. I will investigate this.
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?
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
.
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?