diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2020-04-09 02:15:56 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2020-04-09 16:03:13 +0300 |
| commit | 38b515c5470b74099b85a4f30aef2dce65600818 (patch) | |
| tree | 10a9e2399fd1db3a5f3a17110755144d4dac464c /IDEA | |
| parent | 3c4432e0f2fb8ddf54a2e441063d584b99572a4e (diff) | |
add socket path config option, fix env find order
Diffstat (limited to 'IDEA')
| -rw-r--r-- | IDEA | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,28 @@ +add simple tcp proxy: + in add tcp [host] port + out add tcp host port + + stream add in-tcp-1 out-tcp-1 + stream add in-tcp-2 mixer out-tcp-2 + stream add in-tcp-3 packer out-tcp-2 + + module add + + stream add tcp-listen/80 tcp/mikeos.ru:22 + stream add tcp-listen/80 hex tcp/mikeos.ru:22 + stream add tcp-listen/80 packer mixer tcp/mikeos.ru:22 + + stream add tcp-listen/80 >hex tcp/mikeos.ru:22 + stream add tcp-listen/80 <unhex tcp/mikeos.ru:22 + + stream add tcp-listen/80 hex - unhex proxy/host:port tcp/mikeos.ru:22 + + in show + out show + module show + stream show + +note: + client connection maybe created on accept client or + created on stream creation. + In the latter case client will be multiplexer |
