Sign inSign up

zetanova/tinc

By zetanova

Updated over 6 years ago

tinc is a Virtual Private Network (VPN) daemon

Image
0

165

zetanova/tinc repository overview

setup

docker volume create tinc
docker run --rm -it --volume tinc:/etc/tinc zetanova/tinc --generate-keys

#todo add the tinc config to volume

docker run --rm -it --volume tinc:/etc/tinc busybox chmod +x /etc/tinc/tinc-up /etc/tinc/tinc-down
firewall centos
firewall-cmd --permanent --zone=public --add-port=655/tcp 
firewall-cmd --permanent --zone=public --add-port=655/udp 

run

docker run -it -d \
    --name tinc \
    --restart=always \
    --net=host \
    --device=/dev/net/tun \
    --cap-add NET_ADMIN \
    --volume tinc:/etc/tinc \
    zetanova/tinc

#docker update --restart=no

control

  1. reload docker kill --signal=HUP tinc
  2. force reconnect to all docker kill --signal=ALRM tinc
  3. dump connection list to log docker kill --signal=USR1 tinc
  4. dump all known network to log docker kill --signal=USR2 tinc
  5. set debug level 0-5 docker kill --signal=0 tinc

Tag summary

Content type

Image

Digest

Size

10.4 MB

Last updated

over 6 years ago

docker pull zetanova/tinc:1.0.36