UPnP & Port Forwarding - AdrianCassar/xenia-canary GitHub Wiki

Enabling UPnP

UPnP is disabled by default for security reasons, you must enable it to host sessions. If you're locally hosting the server for systemlink or LAN UPnP is not required.

upnp = true

Checking if UPnP is working

Go to Netplay->Status.

0 is the UPnP error code this means UPnP is working. If a different error code is displayed check the error code summary to understand what's causing it to fail.

image

What is Port Forwarding?

Video: What The Heck Is Port Forwarding?

What is Universal Plug and Play (UPnP)?

Universal Plug and Play (UPnP) - TechTarget

UPnP Specification:

Internet Gateway Device (IGD) V 2.0

UPnP WANIPConnection:

UPnP WANIPConnection v2 Service.pdf

Error Code Summary - Page 62


MiniUPnPc return codes :

  • UPNPCOMMAND_SUCCESS (0)
  • UPNPCOMMAND_UNKNOWN_ERROR (-1)
  • UPNPCOMMAND_INVALID_ARGS (-2)
  • UPNPCOMMAND_HTTP_ERROR (-3)
  • UPNPCOMMAND_INVALID_RESPONSE (-4)
  • UPNPCOMMAND_MEM_ALLOC_ERROR (-5)

Common Xbox 360 Ports:

  • 1000
  • 1001
  • 1002
  • 1004