Last year I set up an OpenWrt router with ZeroTier, and it was a member of two different ZT networks. At that time, the ZT configuration allowed you to specify a different port for each ZT network (i.e. "option port 'x'" was valid per network).
However, I'm trying to set up a new device this year with OpenWrt 24.10.0 and ZT 1.14.1, and the configuration layout has changed significantly.
There appears to be a single, global secret and single, global port choice. As far as I can see, specifying "option port" for individual networks doesn't work?
Can this still be done? Is it unnecessary due to a change in ZeroTier design/behaviour?
I don't think anything has changed with Zerotier itself. It was always possible to connect to multiple networks using the same local secret and port. You could have two instances of Zerotier with different secrets and ports but that would take two licenses on the Central system instead of one.
The ZeroTier configuration file has changed significantly. That said, I dont know for sure if it was actually starting two instances all of the time.
On the old device, different networks were configured with separate "list join" blocks with independent secrets.
Now the config has a "global" block with the secret and the "option port" line if desired, and the individual networks are specified with their own "config network" blocks that don't contain a secret entry.
As long as my 2 networks will work correctly and independently using one port and secret, then this isn't a problem; I just didn't know how to verify that.