Azure VPN Disconnects Every Few Minutes on macOS

Mac
1
Reputation point
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.
{count} votes
Hi SaiKishor,
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?
Thanks,
Mac
@Mac
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