unifios-utilities/zerotier-one
2024-05-13 19:34:28 -07:00
..
20-zerotier.sh 4.0 support (#608) 2024-05-13 19:34:28 -07:00
README.md change to official zerotier image (#529) 2023-04-17 15:01:55 -07:00

Run ZeroTier VPN on your UDM

Install

  1. Copy 20-zerotier.sh to /data/on_boot.d

  2. Create directories for persistent Zerotier configuration

    mkdir -p /data/zerotier-one
    
  3. Start the zeriotier container

    podman run -d \
    --name zerotier-one \
    --device=/dev/net/tun \
    --net=host \
    --cap-add=NET_ADMIN \
    --cap-add=SYS_ADMIN \
    --cap-add=CAP_SYS_RAWIO \
    -v /data/zerotier-one:/var/lib/zerotier-one \
    zerotier/zerotier
    
  4. Join your zerotier network

    podman exec zerotier-one zerotier-cli join <your network id>