An open API service indexing awesome lists of open source software.

https://github.com/shiguanghuxian/tcp-proxy

tcp代理程序,将服务端内部服务代理到公网,可用于开发测试等
https://github.com/shiguanghuxian/tcp-proxy

proxy socket tcp tcp-proxy

Last synced: 5 months ago
JSON representation

tcp代理程序,将服务端内部服务代理到公网,可用于开发测试等

Awesome Lists containing this project

README

          

# tcp-proxy
tcp代理程序,可以将服务器内网tcp服务代理到外网访问。

一般用于服务端内部服务(例如:redis、mysql、rabbitmq等)代理到公网方便查看调试自己开发的程序。

安装:

`go get github.com/shiguanghuxian/tcp-proxy`

配置:

```
bin/config/cfg.yaml

proxys:
-
name: test1 # 代理组名
listen: 0.0.0.0:9898 # 代理组监听地址和端口
reverse: # 被代理地址列表,可多个
- 127.0.0.1:8114
- 127.0.0.1:8115
```