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 ```