diff options
| author | mykmo <mike.osipov@gmail.com> | 2013-02-01 10:21:43 +0400 |
|---|---|---|
| committer | mykmo <mike.osipov@gmail.com> | 2013-02-01 10:21:43 +0400 |
| commit | 3acbe8b5ca99aaa128b6bb0265620ede02a1c0b9 (patch) | |
| tree | 98cd4bafa1e38bc81556a00dd5c4b787b68dd444 /README | |
| parent | a25171a94baf72c6e4d87c4fe3b4f7ac1e29a5d6 (diff) | |
Update README
Diffstat (limited to 'README')
| -rw-r--r-- | README | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,17 +1,23 @@ tcpproxy - proxy for tcp connections -Usage: tcpproxy config +Usage: tcpproxy [OPTION...] +Application Options: + -c, --config config file + -u, --unix unix socket path -Format of config file: each line containes following three values: -local_port host port +Config file format: +local_port [type] host|path [port] Where: local_port - local port to listen + type - tcp or unix, tcp if omitted host - ip address of remote host + path - address of the unix socket port - remote port Port value may be specified as a service name Example: 4000 remoteip ssh - connection to 0.0.0.0:4000 will be forwarded to remoteip:22 +4001 unix /tmp/socket - connection to 0.0.0.0:4001 will be forwarded to /tmp/socket -tcpstat - tool for retrieve information about current connections from tcpproxy +tcpproxy_stat - tool for retrieve information about current connections from tcpproxy |
