Added support for SSH ports other than 22.

This commit is contained in:
Martin Sekera 2019-10-26 00:08:41 +02:00
parent d0c9ea6aa4
commit 2781209eb0
2 changed files with 19 additions and 2 deletions

View file

@ -1,7 +1,15 @@
{
// host and port of the SSH server that's going to act as the proxy
"host": "rusty.wafe.eu",
"port": 10022,
// username I'm allowed to use on that server
"user": "tunnel",
// a list of associations
"mapping": [
// local port 22 will be available as port 39999 on the above server
{
"remote": 39999,
"local": 22