Need help with pingtunnel?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

esrrhs
1.9K Stars 339 Forks MIT License 335 Commits 3 Opened issues

Description

ping tunnel is a tool that advertises tcp/udp/socks5 traffic as icmp traffic for forwarding.

Services available

!
?

Need anything else?

Contributors list

# 14,976
Shell
Go
icmp
xmrig
303 commits
# 127,391
MATLAB
Dart
fileser...
webrtc
3 commits
# 39,491
golang
tuntap
Shell
Docker
1 commit

Pingtunnel

Go Report Card

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

Note: This tool is only to be used for study and research, do not use it for illegal purposes

image

Usage

Install server

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

Install the client

  • Download the corresponding installation package from releases, such as pingtunnel_windows64.zip, 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 www.yourserver.com -sock5 1

Forward tcp

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

Forward udp

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

Use Docker

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 www.yourserver.com -sock5 1 -key 123456

Test

download the centos image centos mirror

| | wget | ss | kcp | pingtunnel | | ------------ | -------- | -------- | ------- | ---------- | | AlibabaCloud | 26.6KB/s | 31.8KB/s | 606KB/s | 5.64MB/s |

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.