By default, UPNP is already activated. If not, follow these steps:
Enter the login page of your FRITZ!Box (http://fritz.box http://192.168.178.1) and enter the password.
Maybe you have to click on “Settings” in the overview of your routers webinterface.
Script:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
POST /upnp/control/WANIPConn1 HTTP/1.1
Host: %%%routerip%%%:49000
Content-Type: text/xml; charset="utf-8"
SoapAction:urn:schemas-upnp-org:service:WANIPConnection:1#ForceTermination
<?xml version='1.0' encoding='utf-8'?> <s:Envelope s:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'> <s:Body> <u:ForceTermination xmlns:u='urn:schemas-upnp-org:service:WANIPConnection:1' /> </s:Body> </s:Envelope>
[[[/REQUEST]]]
[[[/STEP]]]
[[[/HSRC]]]