P2S Azure VPN

Sérgio Sarabando 0 Reputation points
2025-01-11T03:07:34.6033333+00:00

Hello,

I cannto configute the P2S VPN to azure on MAC. I have it working on Windows.

I have installed both certificates Root and Client on MAC, create the Native VPN as descriver on the documentation and i dont get a conntection

https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-cert-mac

Configure P2S VPN clients - certificate authentication - macOS native client - Azure VPN Gateway | Microsoft Learn

Can anyone assist?

Best regards

Sergio Sarabando

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,602 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Ganesh Patapati 3,130 Reputation points Microsoft Vendor
    2025-01-22T22:22:59.29+00:00

    Hello Sérgio Sarabando

    We appreciate your patience!

    Configure server settings for P2S VPN Gateway certificate authentication

    In this article

    1. Prerequisites
    2. Generate certificates
    3. Add the VPN client address pool
    4. Specify the tunnel and authentication type
    5. Add another public IP address
    6. Upload root certificate public key information
    7. Generate VPN client profile configuration files
    8. Configure VPN clients and connect to Azure
    9. Add or remove trusted root certificates

    This warning indicates that the OpenVPN client is not configured to verify the server's certificate. While it may not prevent a connection. Please ensure that the correct CA certificate (ca.crt) is specified in your configuration file.

    For information about working with certificates, see Point-to site: Generate certificates - Linux.

    Refer below for Configure OpenVPN client for P2S certificate authentication connections - Linux

    Refer: https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-certificate-openvpn-linux

    Configure P2S VPN clients: certificate authentication - OpenVPN client - macOS

    Refer: https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-certificate-openvpn-mac


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    How to accept answer: https://learn.microsoft.com/en-us/answers/support/accept-answer#accept-an-answer

    Regards,

    Ganesh


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.