If it is your own vpn server, you should know how to set up the vpn server. It should be openvpn or wireguard.

Then you can connect the router to your server as OpenVPN Client - GL.iNet Docs

There is dns encryption on the router as well.