Enable ZeroTier 1.6.6 ProxMox 6.4 LXC Container

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:

  1. Open the config of the container. It is usually located under /etc/pve/lxc.
sudo nano /etc/pve/lxc/XXX.conf
  1. Then add the following line and save the config file.
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
  1. Reboot the container
  1. 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.

Leave a Comment