luci-app-upnp: add ext_allow_private_ipv4
authorAndy Chiang <redacted>
Sun, 19 Apr 2026 17:04:14 +0000 (00:04 +0700)
committerPaul Donald <redacted>
Mon, 20 Apr 2026 13:23:20 +0000 (15:23 +0200)
add ext_allow_private_ipv4
Link https://github.com/openwrt/packages/pull/29184

Signed-off-by: Andy Chiang <redacted>
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js

index 4657113b5813aa3219f09079c34a9f8a79d6fc4b..955e1c45f5f813f9730c2c579f6e7e16850e7c7e 100644 (file)
@@ -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';
git clone https://git.99rst.org/PROJECT