summaryrefslogtreecommitdiff
path: root/IDEA
diff options
context:
space:
mode:
Diffstat (limited to 'IDEA')
-rw-r--r--IDEA28
1 files changed, 28 insertions, 0 deletions
diff --git a/IDEA b/IDEA
new file mode 100644
index 0000000..17c558b
--- /dev/null
+++ b/IDEA
@@ -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