mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-02 23:07:27 +02:00
update
This commit is contained in:
parent
7bf5408f79
commit
438d9e5f24
@ -1,6 +1,7 @@
|
|||||||
[`tinc`][1] is a Virtual Private Network (VPN) daemon that uses tunnelling and
|
[`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.
|
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:
|
To use this image, you need to:
|
||||||
|
|
||||||
- Have baisc knowledges of tinc
|
- Have baisc knowledges of tinc
|
||||||
@ -29,13 +30,15 @@ To use this image, you need to:
|
|||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```
|
```
|
||||||
server:
|
tinc:
|
||||||
image: vimagick/tinc
|
image: vimagick/tinc
|
||||||
ports:
|
ports:
|
||||||
- "655:655/tcp"
|
- "655:655/tcp"
|
||||||
- "655:655/udp"
|
- "655:655/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- tinc:/etc/tinc
|
- tinc:/etc/tinc
|
||||||
|
environment:
|
||||||
|
- VERBOSE=2
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
restart: always
|
restart: always
|
||||||
@ -51,7 +54,7 @@ $ docker-compose up -d
|
|||||||
$ docker-compose logs
|
$ docker-compose logs
|
||||||
|
|
||||||
# stats
|
# stats
|
||||||
$ watch docker exec tinc_server_1 ss -an
|
$ watch docker exec tinc_tinc_1 netstat -an
|
||||||
```
|
```
|
||||||
|
|
||||||
## client
|
## client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user