summaryrefslogtreecommitdiff
path: root/IDEA
blob: 17c558b2868e07ab5157281fd2020f9ced5a54ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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