diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-09-22 12:59:37 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-09-22 12:59:37 +0300 |
commit | 5927e3cbd1df5dea83ebdc853d02cf272a319713 (patch) | |
tree | 16b8bd4844a7c1b0f11737d760a517648a1a4994 /doc/ssh_tunnels_config_util.md | |
parent | f4df17cfbb702c7388308bbd78f1f34319cc3d9c (diff) |
doc: write ssh_tunnels_config_util doc
Diffstat (limited to 'doc/ssh_tunnels_config_util.md')
-rw-r--r-- | doc/ssh_tunnels_config_util.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/ssh_tunnels_config_util.md b/doc/ssh_tunnels_config_util.md new file mode 100644 index 0000000..590f158 --- /dev/null +++ b/doc/ssh_tunnels_config_util.md @@ -0,0 +1,23 @@ +## Config example + +`~/.config/ssh_tunnels_config_util.toml`: + +```toml +network = "192.168.1" +http_bind_base = 20000 +ssh_bind_base = 21000 + +[nas1] +ipv4 = 100 +http_port = 80 +bind_slot = 0 + +[nas2] +ipv4 = 101 +http_port = 8080 +bind_slot = 1 +``` + +## Usage + +Write config, run the script and use the output in the ssh tunnel service.
\ No newline at end of file |