mirror of
https://github.com/ayflying/p2p.git
synced 2026-03-04 17:29:22 +00:00
增加代理方式的打洞,进行tcp的转发
This commit is contained in:
@@ -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)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user