luci-app-upnp appears incompatible with OpenWrt 22.03
See original GitHub issueSteps to reproduce:
- Upgrade to OpenWrt 22.03
- Install the
luci-app-upnp
package and its dependencies from the System -> Software panel - Enable the service and configure it
Actual behavior:
Applications on the local network are unable to create a uPnP redirect. No redirects show up on the Services -> UPnP panel, and applications like Plex and Transmission show network ports are closed. uPnP services are inaccessible from outside the local network.
Expected behavior:
It should functional largely the same as it did under OpenWrt 21.02.
Additional Information:
OpenWrt version information from system /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='22.03.0'
DISTRIB_REVISION='r19685-512e76967f'
DISTRIB_TARGET='mvebu/cortexa9'
DISTRIB_ARCH='arm_cortex-a9_vfpv3-d16'
DISTRIB_DESCRIPTION='OpenWrt 22.03.0 r19685-512e76967f'
DISTRIB_TAINTS=''
This is apparently a known problem (per https://forum.openwrt.org/t/22-03-0-netgear-r7800-upnp-not-working/136306) but I didn’t seen any GitHub issues opened up about it. Here’s the package installation confirmation:
And the actual results of the install:
Installing luci-app-upnp (git-20.332.74200-03c77da) to root...
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/arm_cortex-a9_vfpv3-d16/luci/luci-app-upnp_git-20.332.74200-03c77da_all.ipk
Installing libcap-ng (0.8.2-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/arm_cortex-a9_vfpv3-d16/packages/libcap-ng_0.8.2-1_arm_cortex-a9_vfpv3-d16.ipk
Installing libuuid1 (2.37.3-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/arm_cortex-a9_vfpv3-d16/base/libuuid1_2.37.3-3_arm_cortex-a9_vfpv3-d16.ipk
Installing miniupnpd-nftables (2.2.3-4) to root...
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/arm_cortex-a9_vfpv3-d16/packages/miniupnpd-nftables_2.2.3-4_arm_cortex-a9_vfpv3-d16.ipk
Configuring libcap-ng.
Configuring libuuid1.
Configuring miniupnpd-nftables.
Configuring luci-app-upnp.
These are the contents of /etc/config/upnpd
(which I deleted prior to reinstalling the packages to make sure it’s a clean install):
config upnpd 'config'
option download '1024'
option upload '512'
option internal_iface 'lan'
option port '5000'
option upnp_lease_file '/var/run/miniupnpd.leases'
option igdv1 '1'
option enabled '1'
option uuid '94c30bb7-6571-4ff7-adb3-5c79eda38efc'
config perm_rule
option action 'allow'
option ext_ports '1024-65535'
option int_addr '0.0.0.0/0'
option int_ports '1024-65535'
option comment 'Allow high ports'
config perm_rule
option action 'deny'
option ext_ports '0-65535'
option int_addr '0.0.0.0/0'
option int_ports '0-65535'
option comment 'Default deny'
Oddly, /var/run/miniupnpd.leases
shows the appropriate uPnP redirects:
TCP:19787:192.168.0.184:32400:1663085781:Plex Media Server
TCP:51413:192.168.0.184:51413:1663085782:Transmission at 51413
UDP:51413:192.168.0.184:51413:1663085782:Transmission at 51413
but nothing shows up in the Services -> UPnP panel:
It’s not clear if this is a problem with luci-app-upnp
or one of its dependencies, but I think this is the right place to start with this issue. If it needs to be moved elsewhere, that’s fine. It’s unclear if the PR https://github.com/openwrt/luci/pull/5839 will resolve this issue or not, and if it does, this issue can be closed.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Correct.
The packages are now there…
luci-app-upnp_git-22.250.64651-a61c041_all.ipk | 5.0 KB | Fri Sep 9 00:11:44 2022
Buildbot builds packages for all ~30 targets in round-robin fashion. It is pure luck in which order your target is in the queue. (It takes 6-9 hours per target, and currently there seem to be 8 concurrent builds… See https://buildbot.openwrt.org/openwrt-22.03/packages/#/