docker build -t my/zerotier .
You have to load tun module on docker host.
modprobe tun
docker-compose up -d
docker-compose exec zerotier zerotier-cli join 565799d8f6bba354
You can choose working mode on the web page. If you turn on bridge (mode) on the web site, you can create site2site vpn solution with some ZeroTier nodes easily.
This way is more quicker and simpler.
Check my Github page for an example docker-compose.yml file.
NETWORK_IDROUTES and use <Remote Network>,<Zerotier node IP>;<another network>,<another Zerotier node IP>;... if you would like to use Site-to-Site function between the networks. But do not forget to add the routes to your router too (because DHCP clients on LAN use default routes)!config/route.list files for route rules too. Check the example file for format.docker-compose up -d
Good Luck!
Content type
Image
Digest
sha256:047c3beed…
Size
95.7 MB
Last updated
5 days ago
docker pull croc/zerotier:1.16.2