fix new issues
This commit is contained in:
parent
49d1af71b4
commit
8db60694b6
22
README.md
22
README.md
@ -13,7 +13,7 @@ pingtunnel 是把 tcp/udp/sock5 流量伪装成 icmp 流量进行转发的工具
|
||||
|
||||
[Readme EN](./README_EN.md)
|
||||
|
||||
### 注意:本工具只是用作学习研究,请勿用于非法用途!!!
|
||||
## 注意:本工具只是用作学习研究,请勿用于非法用途!!!
|
||||
|
||||
![image](network.jpg)
|
||||
|
||||
@ -21,8 +21,8 @@ pingtunnel 是把 tcp/udp/sock5 流量伪装成 icmp 流量进行转发的工具
|
||||
|
||||
### 安装服务端
|
||||
|
||||
- 首先准备好一个具有公网 ip 的服务器,假定域名或者公网 ip 是www.yourserver.com
|
||||
- 从[releases](https://github.com/esrrhs/pingtunnel/releases)下载对应的安装包,如 pingtunnel_linux64.zip,然后解压,以**root**权限执行
|
||||
- 首先准备好一个具有公网 ip 的服务器,假定域名或者公网 ip 是www.yourserver.com
|
||||
- 从[releases](https://github.com/esrrhs/pingtunnel/releases)下载对应的安装包,如 pingtunnel_linux64.zip,然后解压,以**root**权限执行
|
||||
|
||||
```
|
||||
sudo wget (最新release的下载链接)
|
||||
@ -30,7 +30,7 @@ sudo unzip pingtunnel_linux64.zip
|
||||
sudo ./pingtunnel -type server
|
||||
```
|
||||
|
||||
- (可选)关闭系统默认的 ping
|
||||
- (可选)关闭系统默认的 ping
|
||||
|
||||
```
|
||||
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
|
||||
@ -38,18 +38,18 @@ echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
|
||||
|
||||
### 安装 GUI 客户端(新手推荐)
|
||||
|
||||
- 从[pingtunnel-qt](https://github.com/esrrhs/pingtunnel-qt)下载 qt 的 gui 版本
|
||||
- 双击 exe 运行,修改 server(如www.yourserver.com)、listen port(如 1080),勾上 sock5,其他设置默认即可,然后点击*GO*
|
||||
- 一切正常,界面上会有 ping 值显示,然后可点击 X 隐藏到状态栏
|
||||
- 设置浏览器的 sock5 代理到 127.0.0.1:1080,如果连不上网,出现 socks version not supported 错误日志,说明浏览器的代理不是 socks5 代理。如果提示非安全连接,说明 dns 有问题,勾上浏览器的【使用 socks5 代理 DNS 查询】
|
||||
- 从[pingtunnel-qt](https://github.com/esrrhs/pingtunnel-qt)下载 qt 的 gui 版本
|
||||
- 双击 exe 运行,修改 server(如www.yourserver.com)、listen port(如 1080),勾上 sock5,其他设置默认即可,然后点击*GO*
|
||||
- 一切正常,界面上会有 ping 值显示,然后可点击 X 隐藏到状态栏
|
||||
- 设置浏览器的 sock5 代理到 127.0.0.1:1080,如果连不上网,出现 socks version not supported 错误日志,说明浏览器的代理不是 socks5 代理。如果提示非安全连接,说明 dns 有问题,勾上浏览器的【使用 socks5 代理 DNS 查询】
|
||||
|
||||
![image](qtrun.jpg)
|
||||
|
||||
### 安装客户端(高玩推荐)
|
||||
|
||||
- 从[releases](https://github.com/esrrhs/pingtunnel/releases)下载对应的安装包,如 pingtunnel_windows64.zip,解压
|
||||
- 然后用**管理员权限**运行,不同的转发功能所对应的命令如下
|
||||
- 如果看到有 ping pong 的 log,说明连接正常
|
||||
- 从[releases](https://github.com/esrrhs/pingtunnel/releases)下载对应的安装包,如 pingtunnel_windows64.zip,解压
|
||||
- 然后用**管理员权限**运行,不同的转发功能所对应的命令如下
|
||||
- 如果看到有 ping pong 的 log,说明连接正常
|
||||
|
||||
#### 转发 sock5
|
||||
|
||||
|
22
README_EN.md
22
README_EN.md
@ -11,7 +11,7 @@
|
||||
|
||||
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.
|
||||
## Note: This tool is only to be used for study and research, do not use it for illegal purposes.
|
||||
|
||||
![image](network.jpg)
|
||||
|
||||
@ -19,8 +19,8 @@ Pingtunnel is a tool that advertises tcp/udp/sock5 traffic as icmp traffic for f
|
||||
|
||||
### 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](https://github.com/esrrhs/pingtunnel/releases), such as pingtunnel_linux64.zip, then decompress and execute with **root** privileges
|
||||
- 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](https://github.com/esrrhs/pingtunnel/releases), such as pingtunnel_linux64.zip, then decompress and execute with **root** privileges
|
||||
|
||||
```
|
||||
sudo wget (link of latest release)
|
||||
@ -28,7 +28,7 @@ sudo unzip pingtunnel_linux64.zip
|
||||
sudo ./pingtunnel -type server
|
||||
```
|
||||
|
||||
- (Optional) Disable system default ping
|
||||
- (Optional) Disable system default ping
|
||||
|
||||
```
|
||||
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
|
||||
@ -36,18 +36,18 @@ 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](https://github.com/esrrhs/pingtunnel-qt)
|
||||
- Double-click the exe to run, modify the server (such as www.yourserver.com), listen port (such as 1080), tick sock5, other settings can be 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 127.0.0.1:1080, 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.
|
||||
- Download the gui version of qt from [pingtunnel-qt](https://github.com/esrrhs/pingtunnel-qt)
|
||||
- Double-click the exe to run, modify the server (such as www.yourserver.com), listen port (such as 1080), tick sock5, other settings can be 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 127.0.0.1:1080, 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.
|
||||
|
||||
![image](qtrun.jpg)
|
||||
|
||||
### Install the client (recommended for high play)
|
||||
|
||||
- Download the corresponding installation package from [releases](https://github.com/esrrhs/pingtunnel/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
|
||||
- Download the corresponding installation package from [releases](https://github.com/esrrhs/pingtunnel/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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user