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
+1 -1
View File
@@ -4,7 +4,7 @@
include $(TOPDIR)/rules.mk
PKG_VERSION:=1.4-0
PKG_VERSION:=1.4-1
LUCI_TITLE:=LuCI support for ruantiblock
LUCI_DEPENDS:=+ruantiblock
LUCI_PKGARCH:=all
@@ -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'));
@@ -203,6 +203,9 @@ msgstr "Час"
msgid "If less than the specified number of entries are received from the source, then the lists are not updated"
msgstr "Если от источника получено меньше указанного количества записей, то списки не обновляются"
msgid "If not specified, the VPN interface address is used (or peer address for PPP protocols)"
msgstr "Если не задан, используется адрес VPN интерфейса (или адрес пира для протоколов PPP)"
msgid "IP address"
msgstr "IP-адрес"
@@ -524,6 +527,9 @@ msgstr "Использовать альтернативный DNS резолв
msgid "User entries"
msgstr "Записи пользователя"
msgid "VPN gateway IP address"
msgstr "IP адрес шлюза VPN"
msgid "VPN interface"
msgstr "VPN интерфейс"
@@ -187,6 +187,9 @@ msgstr ""
msgid "If less than the specified number of entries are received from the source, then the lists are not updated"
msgstr ""
msgid "If not specified, the VPN interface address is used (or peer address for PPP protocols)"
msgstr ""
msgid "IP address"
msgstr ""
@@ -488,6 +491,9 @@ msgstr ""
msgid "User entries"
msgstr ""
msgid "VPN gateway IP address"
msgstr ""
msgid "VPN interface"
msgstr ""