Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to use Azure as Transit between P2S Clients and OnPrem network.
Your case is documented here : One VNet and a branch office (BGP)
There are two requirements to be met here,
- You must enable BGP for Azure VPN Gateway to Advertise the P2S address range to the OnPremise network
- Manually add the OnPrem route to the P2S Client configuration file. (for Windows clients)
Advertise custom routes for P2S VPN clients:
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.