mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
1.0 KiB
1.0 KiB
tinc
is a Virtual Private Network (VPN) daemon that uses tunnelling and
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
- Use
docker-compose
to manage
directory tree
~/fig/tinc/
├── docker-compose.yml
└── tinc/
├── netname/
│ ├── hosts/
│ │ ├── client
│ │ ├── client-down
│ │ ├── client-up
│ │ └── server
│ ├── rsa_key.priv
│ ├── tinc.conf
│ ├── tinc-down
│ └── tinc-up
└── nets.boot
docker-compose.yml
server:
image: vimagick/tinc
ports:
- "655:655/udp"
volumes:
- tinc:/etc/tinc
net: host
privileged: true
restart: always