Custom VPN gateway (VPN_GW_IP)

This commit is contained in:
gSpot
2023-12-24 16:13:41 +03:00
parent 9113ea57d0
commit 72d7f8336f
10 changed files with 50 additions and 22 deletions
@@ -213,6 +213,12 @@ return view.extend({
o.rmempty = false;
o.default = 'tun0';
// VPN_GW_IP
o = s.taboption('vpn_settings', form.Value, 'vpn_gw_ip',
_('VPN gateway IP address'),
_('If not specified, the VPN interface address is used (or peer address for PPP protocols)'));
o.datatype = 'ip4addr(1)';
// VPN_ROUTE_CHECK
o = s.taboption('vpn_settings', form.ListValue, 'vpn_route_check',
_('Type of adding a VPN rule to the routing table'));