This should be done by default.
When you reboot, the vpn is disabled or connection failed?
Pls try 3.211 beta4 which fixed some bugs related to wireguard GL.iNet download center