diff --git a/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js b/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js index c1dcdc5660..5fc3245f5b 100644 --- a/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js +++ b/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js @@ -344,9 +344,10 @@ return view.extend({ fwtool.addMarkOption(s, false); fwtool.addLimitOption(s); fwtool.addLimitBurstOption(s); - + o = s.taboption('advanced', form.Flag, 'v2ray', _('Use V2Ray/XRay'), _('Forward a port (not a range) from server using V2Ray/XRay proxy (if enabled) instead of VPN')); + o.modalonly = true; if (!L.hasSystemFeature('firewall4')) { o = s.taboption('advanced', form.Value, 'extra', _('Extra arguments'),