This commit is contained in:
esrrhs 2020-01-08 10:35:57 +08:00
parent 00dfd7246b
commit a33439b013
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ sudo ./pingtunnel -type server
![image](qtrun.jpg) ![image](qtrun.jpg)
### 安装客户端 ### 安装客户端(高玩推荐)
* 从[releases](https://github.com/esrrhs/pingtunnel/releases)下载对应的安装包如pingtunnel_windows64.zip解压 * 从[releases](https://github.com/esrrhs/pingtunnel/releases)下载对应的安装包如pingtunnel_windows64.zip解压
* 然后用管理员权限运行,不同的转发功能所对应的命令如下 * 然后用管理员权限运行,不同的转发功能所对应的命令如下
* 如果看到有ping pong的log说明连接正常 * 如果看到有ping pong的log说明连接正常
@ -57,7 +57,7 @@ pingtunnel.exe -type client -l :4455 -s www.yourserver.com -t www.yourserver.com
pingtunnel.exe -type client -l :4455 -s www.yourserver.com -t www.yourserver.com:4455 pingtunnel.exe -type client -l :4455 -s www.yourserver.com -t www.yourserver.com:4455
``` ```
# 使用Docker ### Docker
server: server:
``` ```
docker run --name pingtunnel-server -d --privileged --network host --restart=always esrrhs/pingtunnel ./pingtunnel -type server -key 123456 docker run --name pingtunnel-server -d --privileged --network host --restart=always esrrhs/pingtunnel ./pingtunnel -type server -key 123456

View File

@ -33,7 +33,7 @@ sudo ./pingtunnel -type server
![image](qtrun.jpg) ![image](qtrun.jpg)
### Install the client ### 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 * 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. * 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 * If you see a log of ping pong, the connection is normal
@ -50,7 +50,7 @@ pingtunnel.exe -type client -l: 4455 -s www.yourserver.com -t www.yourserver.com
pingtunnel.exe -type client -l: 4455 -s www.yourserver.com -t www.yourserver.com:4455 pingtunnel.exe -type client -l: 4455 -s www.yourserver.com -t www.yourserver.com:4455
``` ```
# Use Docker ### Use Docker
server: server:
``` ```
docker run --name pingtunnel-server -d --privileged --network host --restart = always esrrhs / pingtunnel ./pingtunnel -type server -key 123456 docker run --name pingtunnel-server -d --privileged --network host --restart = always esrrhs / pingtunnel ./pingtunnel -type server -key 123456