From cd21d586aef4cfac7ab76269f1605713d3c25212 Mon Sep 17 00:00:00 2001 From: zhao xin Date: Thu, 1 Apr 2021 11:49:07 +0800 Subject: [PATCH] Update README.md --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4807612..f075389 100644 --- a/README.md +++ b/README.md @@ -69,16 +69,13 @@ 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 ``` -### Docker - -server: - +### Docker(高玩推荐) +也可直接用docker启动,更方便。参数同上 +- server: ``` docker run --name pingtunnel-server -d --privileged --network host --restart=always esrrhs/pingtunnel ./pingtunnel -type server -key 123456 ``` - -client: - +- 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 ```