mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
b16d653429
* change to official zerotier image * Update 20-zerotier.sh |
||
---|---|---|
.. | ||
20-zerotier.sh | ||
README.md |
Run ZeroTier VPN on your UDM
Install
-
Copy 20-zerotier.sh to /data/on_boot.d
-
Create directories for persistent Zerotier configuration
mkdir -p /data/zerotier-one
-
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
-
Join your zerotier network
podman exec zerotier-one zerotier-cli join <your network id>