• Stars
    star
    2,603
  • Rank 16,984 (Top 0.4 %)
  • Language
    Go
  • License
    MIT License
  • Created over 5 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pingtunnel is a tool that send TCP/UDP traffic over ICMP

Pingtunnel

Go Report Card

Pingtunnel is a tool that send 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

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
  • “-key” parameter is int type, only supports numbers between 0-2147483647
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
  • “-key” parameter is int type, only supports numbers between 0-2147483647

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

Thanks for free JetBrains Open Source license

More Repositories

1

spp

A simple and powerful proxy
Go
622
star
2

majiang_algorithm

麻将胡牌算法以及AI算法
Java
350
star
3

xiaohuangji

小黄鸡表情收集
Shell
294
star
4

atmosphere-switch

大气层switch破解方案
213
star
5

hookso

linux动态链接库的注入修改查找工具 A tool for injection, modification and search of linux dynamic link library
C++
202
star
6

fake

嵌入式脚本语言 Lightweight embedded scripting language
C++
198
star
7

fuckbaiduyun

百度网盘快速加解密工具
Go
80
star
8

pLua

Lua 性能分析工具 Lua profiler tool like gperftools
C++
78
star
9

go-engine

golang engine
Go
63
star
10

pingtunnel-qt

pingtunnel qt
Go
63
star
11

texas_algorithm

texas algorithm 德州扑克算法
Java
62
star
12

docker-thunder-xware

迅雷离线下载 docker 镜像 采用centos镜像和最新的xware 修复了大文件会挂掉的bug
Shell
49
star
13

fakejava

嵌入式脚本语言 Lightweight embedded scripting language
Java
49
star
14

lua-family-bucket

Lua全家桶,命令行调试、性能分析、代码覆盖率等. Lua family bucket, command line debugging, performance analysis, code coverage
43
star
15

dLua

类似gdb的lua调试器。Lua debugger like gdb
C++
38
star
16

yellowsocks

transparent TCP to SOCKS5 redirector
Go
32
star
17

go-cpuminer

纯go实现的cpu挖矿工具。cpu miner implemented by pure go
Go
30
star
18

connperf

多协议带宽测试工具. network bandwidth perf
Go
28
star
19

go-mosaic

相片马赛克 (Photographic mosaic)
Go
27
star
20

fanqiang-diy

自己搭建科学上网环境
21
star
21

cLua

Lua的代码覆盖率工具 Lua code coverage.
Go
20
star
22

fakengine

c++编写的游戏服务器引擎
C
17
star
23

teenpatti_algorithm

teenpatti algorithm
Java
13
star
24

wireshark_protobuf_plugin

wireshark的protobuf协议插件
C++
12
star
25

yellowdns

dns server proxy
Go
11
star
26

socksserver

simple socks5 server
Go
11
star
27

paodekuai_ai

跑得快AI 采用蒙特卡洛算法
Java
10
star
28

farmer_ai

斗地主AI 采用蒙特卡洛算法
Java
9
star
29

libmeng

跨平台的轻量级协程库
Assembly
8
star
30

selfmd5

计算自身md5的最小ELF64程序.The minimum ELF64 program to calculate its own md5
C
7
star
31

fakelua

FakeLua is a library for fast implementation of custom Lua
C++
7
star
32

socksfilter

socks5过滤器。socks5 server with filtering and forwarding
Go
7
star
33

AliEncoder

阿里味编解码。Alibaba Style Encoder
JavaScript
6
star
34

fakego

嵌入式脚本语言 Lightweight embedded scripting language
Go
6
star
35

spp-shadowsocks-plugin

spp shadowsocks plugin
Go
6
star
36

fakechat

P2P聊天工具
C++
6
star
37

wLua

监视lua状态机内部的工具。a tool that watch running lua state
C
6
star
38

bLua

C++ binding to Lua
C++
5
star
39

fake_game_server

fake脚本写的游戏服务器框架
C++
5
star
40

fastreplace

多线程文件替换工具. fast replace file content
Go
4
star
41

fLua

Diffing and patching for Lua variable
C++
4
star
42

liblu

c++ net framwork
C++
4
star
43

switch-crack

switch破解经验
4
star
44

spp-shadowsocks-plugin-android

spp shadowsocks plugin android
Shell
4
star
45

tetris

tetris ai
JavaScript
4
star
46

frps-GUI

frp server GUI
Visual Basic
3
star
47

gohome

some common go library
Go
3
star
48

fakecore

core code for game
Java
3
star
49

oLua

Optimize lua code
Go
3
star
50

fuck-music-player

C++
3
star
51

libmo

memory lib
C++
2
star
52

tcloud-cns-tool

腾讯云-域名解析-查询设置-工具
Go
2
star
53

fruit_machine

用cmd模拟水果机转圈算法
C++
2
star
54

renpy_translate

auto translate renpy game script
Batchfile
2
star
55

printf_vector

like libc printf, but can use vector input
C++
1
star
56

esrrhs.xyz

个人网站
CSS
1
star
57

multisim

1
star
58

build-v8

1
star
59

get-your-wheel

No need to reinvent the c++ wheel
1
star
60

fastremove

fast remove
Go
1
star
61

libyang

消息生成工具
C++
1
star
62

mLua

Lua's memory optimization management tool
C++
1
star