增加代理方式的打洞,进行tcp的转发

This commit is contained in:
2025-10-28 19:33:20 +08:00
parent c48c85f075
commit 2f4097b697
9 changed files with 236 additions and 67 deletions

View File

@@ -37,6 +37,8 @@ type (
Send(conn *websocket.Conn, typ string, data any) (err error)
// 只获取IPv4公网IP过滤IPv6结果
GetIPv4PublicIP() (string, error)
ProxyInit()
Tcp(key string, toPort int, myPort int, ip string)
}
)