diff --git a/tinc/README.md b/tinc/README.md index 5a9f842..a9675cf 100644 --- a/tinc/README.md +++ b/tinc/README.md @@ -1,6 +1,7 @@ [`tinc`][1] is a Virtual Private Network (VPN) daemon that uses tunnelling and encryption to create a secure private network between hosts on the Internet. +This tiny image (6.74 MB) is based on `alpine` (5.254 MB). To use this image, you need to: - Have baisc knowledges of tinc @@ -29,13 +30,15 @@ To use this image, you need to: ## docker-compose.yml ``` -server: +tinc: image: vimagick/tinc ports: - "655:655/tcp" - "655:655/udp" volumes: - tinc:/etc/tinc + environment: + - VERBOSE=2 cap_add: - NET_ADMIN restart: always @@ -51,7 +54,7 @@ $ docker-compose up -d $ docker-compose logs # stats -$ watch docker exec tinc_server_1 ss -an +$ watch docker exec tinc_tinc_1 netstat -an ``` ## client