Closed xan86 closed 5 years ago
I love these kinds of contributions, it makes the difference between someone using the package effortlessly and someone being frustrated from it not working.
Thank you.
I confirm that versionedIGD works with WANIPConnection:2 Just tested, it perfectly forwards the http service port!
Thank you.
Not a problem. Thank you very much for the confirmation.
there are explicit uses of the WANPPPConnection service even if if the serviceTypeName is WANIPConnection, I suggest to replace:
strcat_P(body_tmp, PSTR(" xmlns:u=\"urn:schemas-upnp-org:service:WANPPPConnection:1\">\r\n<NewRemoteHost></NewRemoteHost>\r\n<NewExternalPort>"));
with:
and:
_wifiClient.print(F("SOAPAction: \"urn:schemas-upnp-org:service:WANPPPConnection:1#"));
with:
also my router responds with service "WANIPConnection:2" I swapped 1 in 2 in:
const String UPNP_SERVICE_TYPE_2 = "urn:schemas-upnp-org:service:WANIPConnection:1";
it worked for me, but I don't think it's the right solution