How does User connect to the Bastion

Banerjee, Somdutta 166 Reputation points
2022-11-16T21:20:35.42+00:00

I am trying to understand something about connecting to a VM through a Bastion host.
First the user connects to the Azure Portal and authenticates- at this point Source is User IP address and destination is azure portal. So, Conditional Access, Authentication, RBAC etc. takes place at this stage.

Once the user navigates to the VM and connects through the Bastion host, what is the source now - is it azure portal or the source is User IP ? Please can you elaborate on the steps.

It is mentioned that NSG can be set at the AzureBastionSubnet from selected IP addresses, does it mean after authentication, the User is accessing the public endpoint of the Bastian directly? How does the Azure Portal connect to the Bastian host(considering it is public IP interface)?

Thank you for your help.

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
293 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 42,511 Reputation points
    2022-11-16T21:39:24.347+00:00

    Hi,

    Please go through the learn module on Azure Bastion as this will assist you to understand the concept.

    Here is a quick diagram on the flow.

    261171-image.png

    You connect to a VM in the Azure portal. In the Azure portal, on the VM overview page, select Connect > Bastion > Use Bastion. Then enter your credentials for the VM.
    Browser connects to the Azure Bastion host. The browser connects to Azure Bastion over the internet by using Transport Layer Security (TLS) and the public IP of the Azure Bastion host. Azure Gateway Manager manages portal connections to the Azure Bastion service on port 443 or 4443.
    Bastion connects to the VM by using RDP or SSH. Azure Bastion is deployed in a separate subnet called AzureBastionSubnet within the virtual network. You create the subnet when you deploy Azure Bastion. The subnet can have address spaces with a /27 subnet mask or larger. Don't deploy other Azure resources to this subnet or change the subnet name.
    Bastion streams the VM to the browser. Azure Bastion uses an HTML5-based web client that's automatically streamed to your local device. The Azure Bastion service packages the session information by using a custom protocol. The packages are transmitted through TLS.

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.