Yes. Synergy will connect between a client and server computer, but only if the VPN allows local network traffic.
You can easily verify whether your VPN allows local traffic in your system preferences. For example, if you are using Cisco AnyConnect client, follow the steps in the image below:
Now you can follow the steps in our installation guide and install Synergy.
If this article didn't help, you can talk to someone on our support team.