1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
This commit is contained in:
kev 2015-06-14 16:50:25 +08:00
parent 3f7e53c431
commit d99dba5b99

@ -4,7 +4,7 @@ encryption to create a secure private network between hosts on the Internet.
To use this image, you need to:
- Have baisc knowledges of tinc
- Create a directory tree by hand [read this][2]
- Create a directory tree by hand ([tutor][2])
- Use `docker-compose` to manage
## directory tree
@ -44,7 +44,24 @@ server:
## server
```
# run
$ fig up -d
# monitor
$ fig logs
# stats
$ watch docker exec tinc_server_1 ss -an
```
## client
```
# start
$ tincd -D -d -n netname --pidfile /tmp/tinc.pid
# stop
$ tincd -k --pidfile /tmp/tinc.pid
```
[1]: http://tinc-vpn.org/