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代理程序,将服务端内部服务代理到公网,可用于开发测试等
- Host: GitHub
- URL: https://github.com/shiguanghuxian/tcp-proxy
- Owner: shiguanghuxian
- License: mit
- Created: 2018-09-30T05:26:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-19T15:21:23.000Z (about 7 years ago)
- Last Synced: 2023-03-08T02:54:50.247Z (about 3 years ago)
- Topics: proxy, socket, tcp, tcp-proxy
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```