Azure OpenVPN connectivity issue

Robert Halpop 0 Reputation points
2024-09-30T16:44:13.92+00:00

I have some computers that can not connect to our Azure OpenVPN gateway. The process will go through username, password and MFA response then fail with this error:

[Error] Connecting to VPN server failed with exception: Connecting to VPN server failed with exception: A socket operation was attempted to an unreachable host

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,543 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 46,016 Reputation points Microsoft Employee
    2024-10-01T05:47:47.0166667+00:00

    @Robert Halpop ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you are using Azure VPN Gateway with OpenVPN Tunnel and Entra Authentication

    Please correct me if I am wrong.

    • Are you using Azure VPN Client app? or Windows VPN App?
    • Is this a new set up? or was this working previously but recently resulted in this error
    • Can you please make sure there are no third-party firewall applications blocking this at OS Level?
      • If you have any such firewall, can you try again by disabling the firewall?
    • Can you confirm if you are able to repo this in a different machine with same credentials (without firewall)
    • Can you confirm if you are able to repo this in the same machine with different credentials
    • Can you check the "AzureVPNClient.Log" and "AzureVPNcxn.log" files of the Azure VPN client and see if you can observe any errors?
      • You can refer to this thread to learn how to fetch the log files above.

    Cheers,

    Kapil

    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.