If you are looking to create a zerotier interface into an unprivileged lxc container in proxmox, you can simply update the lxc container as follows:
- Open the config of the container. It is usually located under /etc/pve/lxc.
sudo nano /etc/pve/lxc/XXX.conf
- Then add the following line and save the config file.
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
- Reboot the container
- run zerotier-cli listnetworks and you should see that the port_error has now disappeared.
Also, this client should now be able to ping other members in the same ZeroTier network and vice versa.
If you have any questions let me know by leaving a message in the comments below.