I can successfully connect to another mac when it’s not using an VPN tool called Cisco AnyConnect. But when it’s using the VPN tool (for connecting a private server), I can’t use ssh to connect it.
I have tried zerotier-cli info on that computer.Normally it’s status is “online”, but when AnyConnect is used, the status wiil be “tunneled”.
That is probably due to AnyConnect forcing all traffic through its tunnel so the machine gets to the internet over that connection (and thus also the Zerotier connection). If you can get the AnyConnect to allow for split-tunneling so that only traffic required to go to the remote site goes over that connection and regular Internet traffic goes through the local router you should be OK.
But a lot of enterprise systems force all traffic through their tunnel while connected in order to ensure security.