unifios-utilities/zerotier-one
John Dorman df2a0f9144
moved to bash (#499)
thanks @kb9gxk
2023-02-22 21:44:27 -08:00
..
20-zerotier.sh moved to bash (#499) 2023-02-22 21:44:27 -08:00
README.md Auto set correct data path (#491) 2023-02-22 08:49:54 -08: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 \
    bltavares/zerotier
    
  4. Join your zerotier network

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