I set up my openwrt router on a NanoPI R5C yesterday, I've been using the portmapper tool (link: UPnP PortMapper download | SourceForge.net) to test the UPNP service, But i couldn't get UPNP to work
Below are my current UPNP settings :
UPNP settings
I have ensured that I can connect to port 5000 on my router from my desktop using Test-NetConnection
Below are the upnp logs
Sun Oct 13 12:17:13 2024 daemon.warn miniupnpd[14443]: HTTP Connection from 192.168.2.249 closed unexpectedly
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: HTTP REQUEST from [::ffff:192.168.2.249]:54316 : POST /ctl/IPConn (HTTP/1.1)
Sun Oct 13 12:17:13 2024 daemon.debug miniupnpd[14443]: Host: 192.168.2.1:5000
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: AddPortMapping: ext port 50000 to 192.168.2.249:50000 protocol TCP for: test leaseduration=604800 rhost=
Sun Oct 13 12:17:13 2024 daemon.debug miniupnpd[14443]: UPnP permission rule 0 matched : port mapping accepted
Sun Oct 13 12:17:13 2024 daemon.debug miniupnpd[14443]: Check protocol tcp for port 50000 on ext_if eth0 192.168.1.100, 6401A8C0
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: redirecting port 50000 to 192.168.2.249:50000 protocol TCP for: test
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: Returning UPnPError 501: ActionFailed
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: HTTP REQUEST from [::ffff:192.168.2.249]:54318 : POST /ctl/IPConn (HTTP/1.1)
Sun Oct 13 12:17:13 2024 daemon.debug miniupnpd[14443]: Host: 192.168.2.1:5000
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: GetGenericPortMappingEntry: index=0
Sun Oct 13 12:17:13 2024 daemon.info miniupnpd[14443]: Returning UPnPError 713: SpecifiedArrayIndexInvalid
I have already spent countless hours trying to resolve this issue. Really appreciate your help here.