Skip to the content.

Pingtunnel

Pingtunnel is a tool that sends TCP/UDP traffic over ICMP.

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

image

Usage & Detailed Documentation

📖 For detailed documentation, see USAGE.md: includes complete command-line parameters, configuration file usage (-c config.json), and setup guides for various proxy scenarios (global SOCKS5 proxy, TCP port forwarding, UDP forwarding, forward proxy, end-to-end AES/ChaCha20 encryption, etc.).

Quick Start

1. Server

sudo ./pingtunnel -type server -key 123456
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

2. Client

Run with administrator privileges:

3. Config File Mode (-c)

Both client and server support JSON configuration files:

# Start server with config
sudo ./pingtunnel -c server.json

# Start client with config
./pingtunnel -c client.json

See USAGE.md for JSON configuration templates and rules.

Use Android Client

A dedicated Android client for pingtunnel is available, developed by the community:

Big thanks to itismoej for developing this Android client!

Use Docker

You can also start pingtunnel directly with Docker: