/dev/ubi0_1 97.2M 32.9M 59.6M 36% /overlay
File is config/upnpd ....
Oh okay, https://openwrt.org/docs/guide-user/firewall/upnp/upnp_setup mentioned both files.
If it is not the reason, need to find out what keeps the service from creating all the redirects.
It should be in the logread -e upnp
In general you can check with like upnpc fif you can set up port redirect.
root@OpenWrt:~# upnpc
-ash: upnpc: not found
root@OpenWrt:~# logread -e upnp
Mon Aug 12 00:08:36 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 00:08:36 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 00:08:36 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 00:34:45 2024 daemon.warn miniupnpd[7016]: HTTP Connection from 192.168.13.132 closed unexpectedly
Mon Aug 12 00:53:09 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 00:53:09 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 00:53:09 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
You have double nat, you need to set front router to DMZ or passthrough mode.
Thanks again for your patience.
I did put this router's WAN IP (192.168.1.12) into DMZ on the app of my fiber modem in front.
Tried XBOX service again and below the log output.
root@OpenWrt:~# logread -e upnp
Mon Aug 12 00:34:45 2024 daemon.warn miniupnpd[7016]: HTTP Connection from 192.168.13.132 closed unexpectedly
Mon Aug 12 00:53:09 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 00:53:09 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 00:53:09 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.12 is not suitable for external IP
Mon Aug 12 01:00:00 2024 daemon.warn miniupnpd[7016]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Mon Aug 12 01:00:19 2024 daemon.warn miniupnpd[7016]: upnp_event_process_notify: connect(192.168.13.133:2869): Host is unreachable
Mon Aug 12 01:00:19 2024 daemon.err miniupnpd[7016]: upnpevents_processfds: 0x77d46d00, remove subscriber uuid:bcaa1c79-4b45-4a6d-9a27-029cc28db358 after an ERROR cb: http://192.168.13.133:2869/upnp/eventing/shfvcjvuxv
Mon Aug 12 01:00:50 2024 daemon.warn miniupnpd[7016]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Mon Aug 12 01:02:33 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.2 is not suitable for external IP
Mon Aug 12 01:02:33 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.2 is not suitable for external IP
Mon Aug 12 01:02:33 2024 daemon.notice miniupnpd[7016]: private/reserved address 192.168.1.2 is not suitable for external IP
I then connected the XBOX to another router (FreshTomoto firmware) behind the modem not even in the DMZ. Here is the UPnP created automatically on its web interface:
Is there any difference on how the UPnP works on these 2 firmwares? Oh, btw, the MiWifi factory firmware also worked identical to FreshTomato before I flashed them.
Does it function at all?
I don't think so. Never saw a single redirect created by the UPnP service. And that's the reason I turned to this forum in the first place.
OK, so OpenWRT does proper network diagnostics and does not create faux upnp entries.
I believe so. Whereas UPnP on FreshTomato and Miwifi (a fully customized OpenWrt according to the the maker) did work.
No idea how that could work as both use same miniupnpd but ancient versions.
Yea... Thanks a lot for your time all the same.
The thing is they have such an old version that it does not check "wan" network at all and sets redirects anyway.