docs: update README with SDWAN and build instructions
This commit is contained in:
10
README.md
10
README.md
@@ -36,15 +36,13 @@ INP2P 从协议层重新设计,解决以上所有问题。
|
||||
```bash
|
||||
git clone https://gitea.king.nyc.mn/openclaw/inp2p.git
|
||||
cd inp2p
|
||||
go build -o bin/inp2ps ./cmd/inp2ps/
|
||||
go build -o bin/inp2pc ./cmd/inp2pc/
|
||||
```
|
||||
|
||||
生产编译(更小体积):
|
||||
生产部署(静态编译,避免 glibc 版本问题):
|
||||
|
||||
```bash
|
||||
CGO_ENABLED=0 go build -ldflags="-s -w" -o bin/inp2ps ./cmd/inp2ps/
|
||||
CGO_ENABLED=0 go build -ldflags="-s -w" -o bin/inp2pc ./cmd/inp2pc/
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -extldflags=-static" -o bin/inp2ps ./cmd/inp2ps/
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -extldflags=-static" -o bin/inp2pc ./cmd/inp2pc/
|
||||
```
|
||||
|
||||
### 启动服务器
|
||||
@@ -289,7 +287,7 @@ WantedBy=multi-user.target
|
||||
- [x] UDP/TCP 打洞 + 双端协调
|
||||
- [x] 流多路复用隧道
|
||||
- [x] 中继握手 + TOTP 认证
|
||||
- [ ] SDWAN 虚拟组网(TUN 网卡 + 虚拟 IP)
|
||||
- [x] SDWAN 虚拟组网(TUN 网卡 + 虚拟 IP + raw binary 数据面)
|
||||
- [ ] Web 控制台
|
||||
- [ ] UDP 端口转发
|
||||
- [ ] 自动升级
|
||||
|
||||
Reference in New Issue
Block a user