Scripts to setup zerotier (as router) in an LXC container on Proxmox 6.5 (and maybe higher).
You will need an existing zerotier network (and the id). After creation auth the client and set up a managed route to your network as shown here: Zerotier Docs
The Via
field needs to have the assigned IP of the client in your network.
The Destination
field needs to have your local networks IP (with the last segment being 0), followed by /24
.
Also make sure that you have a debian template in your system and that a local-lvm
storage exists. If not, you might need to adjust the script to use your storage names.
Use this command to interactively create the container:
bash -c "$(curl -s https://raw.githubusercontent.com/schattenphoenix/zerotier-setup/main/setup.sh)"
Please read the files before using. I am not responsible for any damages caused!