1 m = Map("vpnbypass", translate("VPN Bypass Settings"))
2 s = m:section(NamedSection, "config", "vpnbypass")
5 o1 = s:option(Flag, "enabled", translate("Enable VPN Bypass"))
10 p1 = s:option(DynamicList, "localport", translate("Local Ports to Bypass"), translate("Local ports to trigger VPN Bypass"))
15 p2 = s:option(DynamicList, "remoteport", translate("Remote Ports to Bypass"), translate("Remote ports to trigger VPN Bypass"))
20 r1 = s:option(DynamicList, "localsubnet", translate("Local IP Subnets to Bypass"), translate("Local IP ranges with direct internet access (outside of the VPN tunnel)"))
25 r2 = s:option(DynamicList, "remotesubnet", translate("Remote IP Subnets to Bypass"), translate("Remote IP ranges which will be accessed directly (outside of the VPN tunnel)"))
31 s4 = d:section(TypedSection, "dnsmasq")
33 di = s4:option(DynamicList, "ipset", translate("Domains to Bypass"),
34 translate("Domains to be accessed directly (outside of the VPN tunnel), see ")
35 .. [[<a href="https://github.com/openwrt/packages/tree/master/net/vpnbypass/files#bypass-domains-formatsyntax" target="_blank">]]
36 .. translate("README") .. [[</a>]] .. translate(" for syntax"))