Pingtunnel v2.7 releases: advertises tcp/udp/socks5 traffic as icmp traffic for forwarding


Pingtunnel is a tool that advertises tcp/udp/sock5 traffic as icmp traffic for forwarding.


Install server

  • First prepare a server with a public IP, such as EC2 on AWS, assuming the domain name or public IP is
  • Download the corresponding installation package from releases, such as, then decompress and execute with root privileges
sudo wget (link of latest release)
sudo unzip
sudo ./pingtunnel -type server
  • (Optional) Disable system default ping
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

Install GUI client (recommended by novices)

  • Download the gui version of qt from pingtunnel-qt
  • Double-click the exe to run, modify the server (such as, listen port (such as 1080), tick sock5, other settings can be a default, and then click GO
  • Everything is normal, there will be a ping value on the interface, and then you can click X to hide it in the status bar
  • Set the browser’s sock5 proxy to, If you do not connect to the Internet, a socks version not supported error log appears, indicating that the browser’s proxy is not a socks5 proxy. If it prompts a non-secure connection, it means there is a problem with dns. Check “Use socks5 proxy DNS query” on the browser.


Install the client (recommended for high play)

  • Download the corresponding installation package from releases, such as, and decompress it
  • Then run with administrator privileges. The commands corresponding to different forwarding functions are as follows.
  • If you see a log of ping pong, the connection is normal

Forward sock5

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

Forward tcp

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

Forward udp

pingtunnel.exe -type client -l: 4455 -s -t

Use Docker (recommended for high play)

It can also be started directly with docker, which is more convenient. Same parameters as above

  • server:

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

  • client:

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

Copyright (c) 2018 zhao xin