plugins icon indicating copy to clipboard operation
plugins copied to clipboard

os-zerotier: Unable to add mulitple zerotier networks

Open zachsmith opened this issue 1 year ago • 1 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
  • [x] The title contains the plugin to which this issue belongs

Describe the bug I am unable to add more than one zerotier network. After adding a second network, there is no interface available for assignment. The first network I add, I am able to assign an interface.

I have used multiple networks in the past but I am not sure what version of the plugin I was using then.

To Reproduce Steps to reproduce the behavior:

  1. Make sure you have two different ZeroTier networks created in the ZeroTier portal: https://my.zerotier.com/
  2. Install zerotier plugin to OPNsense
  3. Make sure you have no networks configured in '/ui/zerotier' Networks tab. Delete them if you do.
  4. Add and enable the first network by following the steps outlined in the plugin documentation
  5. Make sure to Allow the host on the first zerotier network in ZeroTier portal.
  6. Go to '/interfaces_assign.php' and assign the new zt* interface - it should be able to be done successfully.
  7. Add a second ZeroTier network as in step 4.
  8. Make sure to Allow the host of the second zerotier network in ZeroTier portal.
  9. Go to '/interfaces_assign.php' and attempt to add the new zt* interface - no interface will appear for assignment.

Expected behavior An interface for all configured zerotier networks should be assignable

Screenshots

Relevant log files

Additional context I have tried removing all networks and re-adding. I have tried uninstalling and reinstalling the zerotier plugin. I have tried rebooting. I have upgraded OPNsense to the latest version.

Environment

OPNsense 23.10.1_2-amd64 FreeBSD 13.2-RELEASE-p7 OpenSSL 1.1.1w Licensed until 2026-10-15 AMD EPYC 3101 4-Core Processor (4 cores, 4 threads)

zachsmith avatar Jan 02 '24 14:01 zachsmith