From: Andy Chiang Date: Sun, 19 Apr 2026 17:04:14 +0000 (+0700) Subject: luci-app-upnp: add ext_allow_private_ipv4 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=accb55956c5c38907870de0da79c6535176ce256;p=openwrt-luci.git luci-app-upnp: add ext_allow_private_ipv4 add ext_allow_private_ipv4 Link https://github.com/openwrt/packages/pull/29184 Signed-off-by: Andy Chiang --- diff --git a/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js b/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js index 4657113b58..955e1c45f5 100644 --- a/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js +++ b/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js @@ -144,6 +144,9 @@ return view.extend({ o = s.taboption('setup', form.Flag, 'enable_natpmp', _('Enable PCP/NAT-PMP protocols')); o.default = '1'; + s.taboption('setup', form.Flag, 'ext_allow_private_ipv4', _('Allow private IPv4'), + _('Enable forwarding for private/reserved IPv4 address')); + o = s.taboption('setup', form.Flag, 'igdv1', _('UPnP IGDv1 compatibility mode'), _('Advertise as IGDv1 (IPv4 only) device instead of IGDv2')); o.default = '1';