冷门协议PingTunnel的安装&使用

Dawn5ky Lv2

安装并启动PingTunnel服务端

事先准备的东西:服务器、脑子 去下载最新的PingTunnel包:https://github.com/esrrhs/pingtunnel/releases/

1
2
3
wget (zip的URL) -o pingtunnel.zip
unzip pingtunnel.zip
sudo ./pingtunnel -type server

为了方便管理,可以使用screen tmux 之类的软件运行PingTunnel。

Docker启动PingTunnel服务端

1
docker run --name pingtunnel-server -d --privileged --network host --restart=always esrrhs/pingtunnel ./pingtunnel -type server -key 123456

使用PingTunnel客户端

同样的,去https://github.com/esrrhs/pingtunnel/releases/ 下载并解压你系统对应的包,这里以Windows做示范。

Docker启动PingTunnel客户端

1
docker run --name pingtunnel-client -d --restart=always -p 1080: 1080 esrrhs/pingtunnel ./pingtunnel -type client -l: 1080 -s www.yourserver.com -sock5 1 -key 123456

转发Socks5

1
pingtunnel.exe -type client -l: 4455 -s yourserver.com -sock5 1

转发TCP

1
pingtunnel.exe -type client -l: 4455 -s yourserver.com -t www.yourserver.com:4455 -tcp 1

转发UDP

1
pingtunnel.exe -type client -l: 4455 -s yourserver.com -t www.yourserver.com:4455
  • 标题: 冷门协议PingTunnel的安装&使用
  • 作者: Dawn5ky
  • 创建于 : 2022-05-09 03:55:02
  • 更新于 : 2023-10-16 18:11:04
  • 链接: https://dawn.best/121/
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
 评论