Bastion wont connect to deployed servers from custom images

Javier Juarez 21 Reputation points
2022-09-09T18:40:16.817+00:00

Hello.

I have deployed a few servers from different custom image (Windows server 2012, 2016 and 2019). The images were created following this KB article: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image

I have access to those VMs using RDP from the network. Its only Bastion that cannot connect to the servers. Of course the Bastion works for other servers in the same subnet deployed using Azure images.

Please confirm what I could be missing on the recently deployed servers using the custom images. An extension or agent?

Thanks for the 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.
258 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,920 questions
{count} votes

Accepted answer
  1. Limitless Technology 39,591 Reputation points
    2022-09-12T20:04:06.92+00:00

    Hello there,

    Do you have any error message triggered in your Custom build ? Do you any inbound or outbound rules firewall rules that could block this connection ?

    This could happens when there is either a network connectivity issue between your web browser and Azure Bastion (your client Internet firewall may be blocking WebSockets traffic or similar), or between the Azure Bastion and your target VM. Most cases include an NSG applied either to AzureBastionSubnet, or on your target VM subnet that is blocking the RDP/SSH traffic in your virtual network. Allow WebSockets traffic on your client internet firewall, and check the NSGs on your target VM subnet.

    Troubleshoot Azure Bastion https://learn.microsoft.com/en-us/azure/bastion/troubleshoot

    I hope this information helps. If you have any questions please let me know and I will be glad to help you out.

    -------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--


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.