【笔记】Pingtunnel学习笔记
前言
Pingtunnel is a tool that send TCP/UDP traffic over ICMP.(Github)
下载项目
1 | wget https://github.com/esrrhs/pingtunnel/releases/download/2.8/pingtunnel_darwin_arm64.zip |
服务端监听
1 | ./pingtunnel -type server |
客户端建立与服务端的连接
- 将客户端的ICMP协议转换为TCP协议
-l 127.0.0.1:<port_local>:指定本地IP地址和端口号-t <ip_remote>:<port_remote>:指定服务端IP地址和端口号
1 | pingtunnel.exe -type client -l 127.0.0.1:<port_local> -s <ip_remote> -t <ip_remote>:<port_remote> -tcp 1 -noprint 1 -nolog 1 |