https://github.com/pibigstar/go-proxy
用Go写一个内网穿透工具
https://github.com/pibigstar/go-proxy
go-proxy proxy
Last synced: 12 months ago
JSON representation
用Go写一个内网穿透工具
- Host: GitHub
- URL: https://github.com/pibigstar/go-proxy
- Owner: pibigstar
- Created: 2019-11-28T13:38:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-03T01:55:55.000Z (over 5 years ago)
- Last Synced: 2024-12-12T06:11:49.600Z (over 1 year ago)
- Topics: go-proxy, proxy
- Language: Go
- Size: 26.4 KB
- Stars: 194
- Watchers: 7
- Forks: 76
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 内网穿透工具
- 多协程与通道配合达到快速响应
- 3秒发送一次心跳包维护连接
- client断开自动重连
## 说明
- server端: 具有公网地址的服务器
- client端: 需要内网穿透的主机
## 使用
server端, 默认本地为5200端口
```bash
./server -l 5200 -r 3333
```
client端
```bash
./client -l 8080 -r 3333 -h 公网IP地址
```
用户访问 `公网IP地址:5200` 即可访问到 内网中的 `8080`端口程序