You need to set up route in both the server and client, which is complicated.
We have a post of using wireguard with two GL routers Building a Site-2-Site network manually using two GL.iNet routers(SDK 4.X)
But if you use other devices, I don’t have a guide.