Reputation: 1073
Are there any prerequisites (nsg rules / firewall rules) required for RDP'ing into a VNet Windows VM (private IP only) using Azure Bastion? What ports does it use? Does it use a P2S VPN IP?
Upvotes: 1
Views: 191
Reputation: 1502
You don't need to open any ports in NSG for your VM in the VNET for Azure Bastion. The traffic flow is as follows:
Client from Portal via HTTPS --> Azure Bastion in the VNET --> Translates HTTPS to RDP session and forwards the traffic to VMs within the same VNET with Private IP. So, from the VM's perspective the traffic will be coming from Azure Bastion Instance IP addresses.
You don't need to make any changes to your environment. You can just add Bastion to your VNET and you can RDP to the VMs without Public IP from portal.
Upvotes: 2