Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
esrrhs authored Apr 1, 2021
1 parent 41ccdf6 commit cd21d58
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit cd21d58

Please sign in to comment.