immortalwrt/packages

能否添加强制启用upnp的选项

Canary233 opened this issue · 4 comments

Describe the bug

log:miniupnpd[465]: private/reserved address x.x.x.x is not suitable for external IP
以下引用自恩山:新版miniupnpd(upnp后端)多了一个IPv4公网地址检测环节,需要WAN口地址为公网地址时,miniupnpd才会工作。 如果WAN不是公网地址,miniupnpd会在 [管理后台-状态-系统日志] 中有提示[miniupnpd: **** is not suitable for external IP]
istore的作者用这条commit解决这个问题jjm2473/luci@122b947
immoralwrt能否考虑pick此提交来解决国内大内网用户的upnp问题?

ImmortalWrt version

latest

ImmortalWrt release

latest

ImmortalWrt target/subtarget

all

Device

all

Image kind

Official downloaded image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for ImmortalWrt, not an unsupported fork.
image

猛击这里
自己动手,丰衣足食

没有公网ip开upnp是没用的,请使用https://github.com/immortalwrt/luci/tree/master/applications/luci-app-natmap

NAT1的upnp可以用啊

jjm2473/luci@122b947 这个提交并不能解决log:miniupnpd[465]: private/reserved address x.x.x.x is not suitable for external IP,这个commit只是为配置文件增加了一个选项。
全双锥NAT1:1建议先尝试使用stun(https://github.com/miniupnp/miniupnp/blob/0ff36e5397f36cd0bda626bc548192d10832d57f/miniupnpd/miniupnpd.conf#L21C1-L40C20)