How to run Cisco AnyConnect inside of Azure Virtual Machine

Harsha Cheruvula 20 Reputation points
2024-03-08T13:04:44.4666667+00:00

My connection to the Azure Virtual Machine disconnects and is not reachable via RDP after running Cisco Anyconnect on my virtual machine. How can I run a Cisco Anyconnect to a clients network without losing my RDP connection to the Azure virtual machine?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,044 questions
0 comments No comments
{count} votes

Accepted answer
  1. v-vvellanki-MSFT 4,920 Reputation points Microsoft External Staff
    2024-03-08T15:08:01.5966667+00:00

    Hi @Harsha Cheruvula ,

    Thanks for contacting Microsoft Q&A platform.

    It seems like you have successfully installed Cisco AnyConnect VPN on Azure.

    There is restriction from Azure to block outbound connectivity to any VPN by default. If you have any outbound NSG rules defined to block the traffic, then make sure you allow outbound traffic to Internet.

    It seems like an issue with the Cisco Anyconnect config rather than an issue with the Azure VM. You can check this thread as well for more info.

    You can try to post your query on Cisco forum as well here.

    Hope it helps!!!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ghosh, Subrata 0 Reputation points
    2024-03-08T13:59:13.67+00:00

    When you "Connect" to Cisco Anyconnect, your client is joined to different Virtual Private Network.

    Cisco Anyconnect profile should have a VPN concentrator configured to allow or restrict your company network. You can check your new IP address after successfylly connected to Cisco Anyconnect profile(using ipconfig /all , ifconfig in Linux etc.). There could be other reasons like you VPN pool IPs are not allowed in the Azure Network (Network Security Group or any firewall if exists). There could be another possibility that VPN concentrator IP (public ip) is not allowed in Azure Entra conditional access policy.

    0 comments No comments

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.