☰ 菜单
命令行 开源 2 次安装/月

ptunnel for Mac 版

ptunnel 是什么

ptunnel 是一款通过 ICMP 协议建立隧道的命令行工具,能把 TCP 流量封装进 ping 数据包里传输。它解决的是网络受限环境下的连通问题:当常规端口或协议被防火墙拦截、但 ping 仍可通行时,可以借助它把 SSH、HTTP 等 TCP 连接“藏”在 ICMP 报文中送出去。工具面向需要排查网络、做连通性测试或研究协议隧道的人,通常在两端分别运行客户端与服务端配合使用。它体积小、用途明确,属于偏技术向的实用工具,普通用户日常上网一般用不到,但对网络管理员和爱好者来说是个顺手的小帮手。

如何安装 ptunnel

  1. 打开 终端(按 ⌘ + 空格,输入“终端”)。
  2. 如果还没安装 Homebrew,先运行下面这条安装命令。
  3. 运行下面这条命令:

二进制包支持平台

Homebrew 官方提供的预编译包(bottle)覆盖:

  • Apple 芯片 · 最新 macOS
  • Apple 芯片 · macOS 26 Tahoe
  • Apple 芯片 · macOS 15 Sequoia
  • Apple 芯片 · macOS 14 Sonoma
  • Apple 芯片 · macOS 13 Ventura
  • arm64_monterey
  • arm64_big_sur
  • Intel · macOS 14 Sonoma
  • Intel · macOS 13 Ventura
  • Intel · macOS 12 Monterey
  • big_sur
  • Linux · ARM64
  • Linux · x86_64

安装注意事项

Normally, ptunnel uses raw sockets and must be run as root (using sudo, for example).nnAlternatively, you can try using the -u flag to start ptunnel in 'unprivileged' mode,nbut this is not recommended. See https://www.cs.uit.no/~daniels/PingTunnel/ for details.n

与同类应用对比

只对比公开元数据,不做主观推荐;需要逐项对比时见对比页。

与同类应用对比
应用版本许可证架构近 30 天安装
ptunnel0.72BSD-3-Clause命令行2
zssh1.5cGPL-2.0-only命令行6
udp2raw-multiplatform20230206.0MIT命令行4
jigdo0.8.2GPL-2.0-only WITH openvpn-openssl-exception命令行10

命令行工具中的类似应用

评论加载中…

评论表单加载中…