luci-app-sshtunnel: servers: ProxyCommand option
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
parent
23df9c2fbf
commit
255aef1748
2 changed files with 9 additions and 1 deletions
|
@ -7,7 +7,7 @@ LUCI_TITLE:=LuCI support for SSH Tunnels (sshtunnel package)
|
|||
|
||||
PKG_MAINTAINER:=Sergey Ponomarev <stokito@gmail.com>
|
||||
LUCI_DEPENDS:=+luci-base +sshtunnel
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_VERSION:=1.1.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include ../../luci.mk
|
||||
|
|
|
@ -127,6 +127,14 @@ return view.extend({
|
|||
o.default = 'accept-new';
|
||||
o.modalonly = true;
|
||||
|
||||
o = s.taboption('advanced', form.Value, 'ProxyCommand', _('Proxy tunnel command'),
|
||||
_('The command to use to connect to the server.') + '<br />' +
|
||||
_('For example, the following command would connect via an HTTP proxy:') + '<br />' +
|
||||
'<code>ncat --proxy-type http --proxy-auth alice:secret --proxy 192.168.1.2:8080 %h %p</code>' +
|
||||
_manSshConfig('ProxyCommand')
|
||||
);
|
||||
o.modalonly = true;
|
||||
|
||||
return m.render();
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue