Different Lovelace Pages for LAN/external access

Hi,

I would like to set up different views onto the HASS UI if accessed from my home network/over VPN or from the external internet. The external version would be limited to viewing some status information (weather readings/temperatures etc), while all control panels would be only visible if accessed over the VPN or locally.

Is it possible to do something like this reasonably easily? In particular I would like for (e.g.) the phone app the automatically load the different version depending on where I am accessing from, rather than manually setting a different URL and e.g. assuming the phone will always access the remote version.