blob: 590f1581a07e510cfb1472eb439850adb33b6745 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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.
|