A Tcp Proxy Server Written By Go
- support tcp proxy
- support catching exit signal
- support customize Your connect Params such as
dest
src
c
,n
ttl
cd $GOPATH;
git clone http://github.com/zheng-ji/goTcpProxy;
make
Usage of ./goTcpProxy:
-c=10000: max connections in the queue wait for servers.
-dest="172.16.1.250:3306": where proxy server forward requests to.
-n=25: max active connection.
-src="127.0.0.1:8999": proxy server's host.
-ttl=20: timeout of read and write
./goTcpProxy -src="127.0.0.1:8999" -dest="172.16.1.250:3306"
Copyright (c) 2015 released under a MIT style license.