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

https://github.com/pibigstar/go-proxy

用Go写一个内网穿透工具
https://github.com/pibigstar/go-proxy

go-proxy proxy

Last synced: 12 months ago
JSON representation

用Go写一个内网穿透工具

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`端口程序