unifios-utilities/zerotier-one
Christian bc54b90f77
Update 20-zerotier.sh (#223)
replaced the name wireguard whit zerotier-one
2021-08-26 03:44:49 -07:00
..
20-zerotier.sh Update 20-zerotier.sh (#223) 2021-08-26 03:44:49 -07:00
README.md Add a zerotier VPN container (#191) 2021-07-02 22:34:16 -07:00

Run ZeroTier VPN on your UDM

Install

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

  2. Create directories for persistent Zerotier configuration

    mkdir -p /mnt/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 /mnt/data/zerotier-one:/var/lib/zerotier-one \
    bltavares/zerotier
    
  4. Join your zerotier network

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