IP-based connection lets you connect to your on-premises, non-Azure, and Azure virtual machines via Azure Bastion over ExpressRoute or a VPN site-to-site connection using a specified private IP address.
Configuring IP-Based Connection:
- Create a Bastion:

2. Enable IP Based Connection

3. RDP/SSH to the VM (on-premise / non-Azure) from the Bastion Resource:
