miniupnpd: can not work with openwrt master
the miniupnpd commit 107f3376b5114cd17c115e25026b031bd439e9be test not work with openwrt commit ac4e8aa2f8d98158ea7b749f877269f1f5fa9c
and miniupnpd commit b8f9e4354efd7f722a28eb45cec429a22a0d7a9d can work with openwrt master very well
check and fix bugs thks
bye the way the miniupnpd PKG_VERSION:=2.2.2 PKG_RELEASE:=3 not work with openwrt master the miniupnpd PKG_VERSION:=2.2.1 PKG_RELEASE:=2 work with openwrt master very well
Which test? Can you provide more details on what is happening with your environment?
thks your reply my test img is TARGET_x86_64
with OpenWrt SNAPSHOT r16765-6f3a05ebb0 / LuCI Master git-21.124.24916-0faf9a4 and miniupnpd 2.2.1-2
they work very well

with OpenWrt SNAPSHOT r17247-022d1fe80f / LuCI Master git-21.196.22411-7d9ab8d and miniupnpd 2.2.2-3
luci can not see any upnp clients

all the configs is same
if you want something else ,tell me pls thks very much
I am so sorry, but from the screenshots, it is not clear what is going on. I need to ask you for logs from miniupnd, which can be seen in system log or in /var/log/messages. Also, how did you configure miniupnpd can be helpful as well.
thks your reply my test img is TARGET_x86_64
with OpenWrt SNAPSHOT r16765-6f3a05ebb0 / LuCI Master git-21.124.24916-0faf9a4 and miniupnpd 2.2.1-2 they work very well
with OpenWrt SNAPSHOT r17247-022d1fe80f / LuCI Master git-21.196.22411-7d9ab8d and miniupnpd 2.2.2-3 luci can not see any upnp clients
all the configs is same
if you want something else ,tell me pls thks very much
What's your WAN IP address? Is it a private address (10.0.0.0 – 10.255.255.255, 172.16.0.0 – 172.31.255.255, 192.168.0.0 – 192.168.255.255 or 100.64.0.0 to 100.127.255.255)?
I have 3 wan. one have public ipv4 ,the other 2 have private ipv4,and 1 public ipv6
the upnp use the port with 1 privat ipv4 and 1 public ipv6 to work

my upnpd config
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 ext_ip_reserved_ignore '1' option enabled '1' option uuid 'b12a26f3-e262-4cd3-978b-2f67e8b17c85' option igdv1 '1'
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'
with OpenWrt SNAPSHOT r16765-6f3a05ebb0 / LuCI Master git-21.124.24916-0faf9a4 and miniupnpd 2.2.1-2 they work very well miniupnpd log is here upnp_ok.log
with OpenWrt SNAPSHOT r17247-022d1fe80f / LuCI Master git-21.196.22411-7d9ab8d and miniupnpd 2.2.2-3 luci can not see any upnp clients miniupnpd log is here upnp_false.log
if you want something else ,tell me pls thks again
with OpenWrt SNAPSHOT r17247-022d1fe80f / LuCI Master git-21.196.22411-7d9ab8d and miniupnpd 2.2.2-3 luci can not see any upnp clients miniupnpd log is here upnp_false.log
"option ext_ip_reserved_ignore '1'" no longer works as of miniupnpd 2.2.2-3 due to this commit: https://github.com/openwrt/packages/commit/107f3376b5114cd17c115e25026b031bd439e9be. The author of that commit may be able to suggest a way to make it work again. Currently I have to use my own build, with the miniupnpd patch added back, to preserve the previous behavior.
I am so sorry, but from the screenshots, it is not clear what is going on. I need to ask you for logs from miniupnd, which can be seen in system log or in
/var/log/messages. Also, how did you configure miniupnpd can be helpful as well.
the log is here
To follow this bug
@openips The necessary details are included once miniupnd starts and that's missing. Feel free to include it and consult it with miniupnd developers. Also, it is missing the content of configuration file miniupnpd.conf. Which should be generated dynamically before the start.
@openips Also, you can include output from ip address show to see how do you have configured your network to be able to help you more.
@openips Also, you can include output from
ip address showto see how do you have configured your network to be able to help you more.
@BKPepe I have provided it above, please check
my upnpd config
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 ext_ip_reserved_ignore '1' option enabled '1' option uuid 'b12a26f3-e262-4cd3-978b-2f67e8b17c85' option igdv1 '1'
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'
@BKPepe
I have 3 wan. one have public ipv4 ,the other 2 have private ipv4,and 1 public ipv6 the upnp use the port with 1 privat ipv4 and 1 public ipv6 to work
![]()
@BKPepe
Well, I am still missing the miniupnd log from start to know something more. Otherwise, it would help if you reached miniupnd developers regarding it like @pali. OpenWrt does not have any maintainer for this package and the patch there was a hack, which is not accepted here as it was rejected in upstream. Because of that, I'm closing it here.
Feel free to continue it here: https://github.com/miniupnp/miniupnp/issues/556
Next time, include outputs and format it as code instead of screenshots. It makes it hard to find there anything as you can not search in it, etc.
Thomas BERNARD, the author of @miniupnp project must read it.