Azure VPN Disconnects Every Few Minutes on macOS
I have been using an Azure P2S VPN from my Windows work laptop fine for the past year. I was recently given a macbook running macOS Big Sur. I reinstalled my P2S cert and can connect to the VPN. However, every 7-10 minutes my connection is dropped and I have to manually reconnect it on my macbook.
It appears that the issue is only with my Azure VPN. I have another VPN that runs fine and does not disconnect. I searched different timeout settings on the Azure VPN Gateway and can't find anything. Any advice or solutions would be appreciated.
@Mac Thank you for reaching out to Microsoft Q&A.
I understand that you are facing issues with Azure P2S VPN when used from the Macbook where the connection is dropping every 7-10 mins.
In order to troubleshoot this further, please provide more details such as:
- Azure Client VPN version
- Error message that you are seeing when you the connection drops if any
- Clientlogfiles (Here is the link on how to get this information)
I am using the native VPN client on macOS and not the "Azure Client VPN for macOS". I tried setting up the Azure client but I cannot find the server secret to complete the setup. I have access to the Azure Gateway but I do not see it in the configuration files or settings. Can you provide details on how to extract the server secret so I can try using the Azure Client VPN?
If you are using OpenVPN Tunnel Type, then when you download the client vpn profile from the portal, you should choose the AzureVPN option which then downloads the AzureVPNconfig.xml file which will have the serversecret specified. Please let me know if you are able to find it. Thank you!
My gateway is using IKEv2 and SSTP and the Microsoft instructions says it should have the secret in the config.xml but I do not see it.
Sign in to comment