Forum Discussion

PhederalPhoenix's avatar
PhederalPhoenix
Settling in
3 days ago

UPnP Port Forwarding Issue

Hello, I am writing my own application and I require using UPnP to set up Port Forwarding. I have tried so many different methods which always fail. I can't seem to find documentation of the UPnP Protocol used by Virgin Media. It doesn't seem to have any form of IGDdevicedesc_brlan0.xml or even an ssdp. Am I using the wrong UPnP port? 49152. I can't find any information online

3 Replies

  • legacy1's avatar
    legacy1
    Alessandro Volta

    UPnP is port 5000 

    You may fine it best to use hub in modem mode and get your own router 

    • PhederalPhoenix's avatar
      PhederalPhoenix
      Settling in

      According to the SSDP M-Search I did, the UPnP port used is 49152. This is the lcoation hgeader used folowed by the full response:

      http://192.168.0.1:49152/IGDdevicedesc_brlan0.xml

      HTTP/1.1 200 OK
      CACHE-CONTROL: max-age=1800
      DATE: Thu, 14 Aug 2025 09:26:28 GMT
      EXT:
      LOCATION: http://192.168.0.1:49152/IGDdevicedesc_brlan0.xml
      OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
      01-NLS: 724417b6-78ed-11f0-b76e-a09dce7282b8
      SERVER: Linux/5.4.186-prod-22.3 UPnP/1.0 Portable-SDK-for-UPnP-devices/1.6.22
      X-User-Agent: redsonic
      ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
      USN: uuid:ebf5a0a0-1dd1-11b2-a90f-8c9a8f0e30a2::urn:schemas-upnp-org:device:InternetGatewayDevice:1