Update README.md
This commit is contained in:
parent
41ccdf6d7f
commit
cd21d586ae
11
README.md
11
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
|
pingtunnel.exe -type client -l :4455 -s www.yourserver.com -t www.yourserver.com:4455
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker
|
### 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
|
||||||
```
|
```
|
||||||
|
- 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
|
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
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user