Hello, I have installed OpenWrt 23.05.5 on my Xiaomi AX3200 and everything seems to work fine except I can't get the UPnP to work, I've installed luci-app-upnp and miniupnpd-iptables but the UPnP but my Xbox still says UPnP not successful and I don't get any active redirects at Services-UPnP
You need to use miniupnpd-nftables
I've just installed it with miniupnpd-nftables but it still doesn't work..
Have you enabled it? And uninstalled the other one?
I checked through Services-UPnP and it says it is enabled, Is there any other way for enabling it? yes the other one is uninstalled.
There is a checkbox on top of luci-app-upnp page.
Now restart service from system/ submenu and check log from status menu.
I just restarted the miniupndp service from the system-start up and the only related thing that showed up in the logs even after restarting my Xbox is this:
Sat Nov 16 23:31:01 2024 daemon.notice miniupnpd[10594]: shutting down MiniUPnPd
Sat Nov 16 23:31:01 2024 daemon.notice miniupnpd[10857]: HTTP listening on port 5000
Sat Nov 16 23:31:01 2024 daemon.notice miniupnpd[10857]: HTTP IPv6 address given to control points : [fda1:3287:3e03::1]
Sat Nov 16 23:31:01 2024 daemon.notice miniupnpd[10857]: Listening for NAT-PMP/PCP traffic on port 5351
If you renamed lan network you have to rename it here.
No, I haven't renamed it..
Enable extended log and check the detail why it does not enable ip4 listener. If you have transmission torrent it easily checks upnp incoming forward.
How can I enable extended log?, sorry but I'm not familiar with a lot of things about OpenWrt as I've just started using it...
Look at the upnpd first tab -> something about more log, then save and apply
Then luci/system/log and scroll to the end
OK here's the log after opening a game on my Xbox that requires UPnP:
CONFIGID.UPNP.ORG: 1337
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: HTTP REQUEST from [::ffff:192.168.0.111]:57871 : GET /rootDesc.xml (HTTP/1.1)
Sun Nov 17 10:26:08 2024 daemon.debug miniupnpd[4786]: Host: 192.168.0.1:5000
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: HTTP REQUEST from [::ffff:192.168.0.111]:57872 : POST /ctl/IPConn (HTTP/1.1)
Sun Nov 17 10:26:08 2024 daemon.debug miniupnpd[4786]: Host: 192.168.0.1:5000
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress
Sun Nov 17 10:26:08 2024 daemon.notice miniupnpd[4786]: private/reserved address 192.168.1.100 is not suitable for external IP
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: HTTP REQUEST from [::ffff:192.168.0.111]:57873 : POST /ctl/IPConn (HTTP/1.1)
Sun Nov 17 10:26:08 2024 daemon.debug miniupnpd[4786]: Host: 192.168.0.1:5000
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: AddPortMapping: ext port 56922 to 192.168.0.111:56922 protocol UDP for: DemonwarePortMapping leaseduration=604800 rhost=
Sun Nov 17 10:26:08 2024 daemon.debug miniupnpd[4786]: UPnP permission rule 0 matched : port mapping accepted
Sun Nov 17 10:26:08 2024 daemon.debug miniupnpd[4786]: Check protocol udp for port 56922 on ext_if wan 192.168.1.100, 6401A8C0
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: redirecting port 56922 to 192.168.0.111:56922 protocol UDP for: DemonwarePortMapping
Sun Nov 17 10:26:08 2024 daemon.info miniupnpd[4786]: Returning UPnPError 501: ActionFailed
Get rid of double NAT and UPNP will work.