https://github.com/litongjava/go-tcp-agent
https://github.com/litongjava/go-tcp-agent
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/litongjava/go-tcp-agent
- Owner: litongjava
- License: apache-2.0
- Created: 2023-02-18T07:03:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T07:09:11.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T04:11:14.345Z (about 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# go-tcp-agent
使用Go语言编写tcp代理的程序
1.监听端口,并将接收到的数据转发到指定的IP和端口
2.监听的端口,转发的主机和端口从配置文件中读取,支持多个
启动命令
```shell
go-tcp-agent
```
读取的配置文件格式
proxy.config
```shell
3306 192.168.3.9 3306
6379 192.168.3.9 6379
```