Hello there,
This issue may occur if you configure the VPN connection to use the default gateway on the remote network. This setting overrides the default gateway settings that you specify in the Transmission Control Protocol/Internet Protocol (TCP/IP) settings.
To resolve this issue, configure the client computers to use the default gateway setting on the local network for Internet traffic and a static route on the remote network for VPN-based traffic.
This article describes how to set up routing and remote access for an Intranet. https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/set-up-routing-remote-access-intranet
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–