Azure P2S with certificate

Ramin Zamani 41 Reputation points
2022-10-15T04:40:19.17+00:00

Hello, I have set up my Basic VPN gateway with certificate authentication and successfully imported Root cert in Azure and both certs in my computer. I then downloaded the VPN client and ran it on my computer but whenever press the Connect button it shows me the error message below.

250698-azure-vpn-error.png

Thanks,
Ramin

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,795 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 50,096 Reputation points Microsoft Employee Moderator
    2022-10-17T14:25:21.473+00:00

    Hello @Ramin Zamani ,

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

    I understand that you have set up a Basic VPN gateway with certificate authentication for point to site VPN connection but when trying to connect to the VPN client, it fails with the following error : "A connection attempt failed because the connected party did not properly responder after a period of time, or established connection failed because connected host has failed to respond. Error 0x8007274c."

    First, I would like to draw your attention towards the P2S VPN support on Basic VPN gateway. Only SSTP connections are supported.
    NOTE : IKEv2/OpenVPN P2S Connections are not supported on Basic Azure VPN gateway.

    Please make sure that the tunnel type on your Azure VPN gateway is set to SSTP as below:

    251000-image.png

    Refer : https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways#gwsku

    If it is not, please change it to SSTP and save it and then re-download the VPN client and re-install it on your computer and try connecting again.

    If it is set to SSTP, then this issue may be occurring because the VPN client is not getting the routes from the Azure VPN gateway.
    To resolve the issue, please try resetting your VPN gateway and redownload the VPN client and try connecting again.
    Refer : https://learn.microsoft.com/en-us/azure/vpn-gateway/reset-gateway#reset-a-gateway

    Kindly let us know if the above helps or you need further assistance on this issue.

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

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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. JimmySalian-2011 42,511 Reputation points
    2022-10-15T09:30:45.263+00:00

    Hi,

    Check this page for troubleshooting looks like NIC drivers or configuration is not correct and it is timing out, check your local firewall rules on the PC.

    vpn-gateway-troubleshoot-vpn-point-to-site-connection-problems
    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 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.