You could try enabling Force Tunneling on the P2S VPN. See: Configure forced tunneling for Virtual WAN Point-to-site VPN.
Please upvote or accept this thread as answered if it's helpful, thanks!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hey,
Is it possible to get internet access over the P2S vpn ( VPN Gateway or VWAN with Virtual Hhub ) I want be able to access the resources within Azure VNET as well as access Internet using the P2S connection, whihc will change my computer IP and regions depending on which VPN I'm connecting to.
Kind Regsards
@Burak Cetin ,
If it helps you can refer to below threads with similar issues and see if it helps troubleshoot the issue.
Hi,
The VPN issue is resolved for me. I actually did not work on the original problem. All I had to do was to go to our Virtual network gateway resource on Azure portal and download the VPN client through there. it is not user friendly though, I waited a few minutes until the download started. I remember visiting this resource and seeing the download button, but probably since it did not respond immediately I skipped it. Once I installed the client, then I was able to connect to the VPN and keep connected to the internet at the same time.
I am not sure if other people are using Virtual network gateway as their VPN server, but I hope this helps.
Thank you for your reply.
@Burak Cetin that is the default setup. Internet works when connected, but it is going over your private internet service provider and not through Azure. The P2S VPN is only using Azure when connecting to IP's that match your Subnet (i.e a VM in your Gateway's vNet or Peered vNets).
NAT is required for internet and NAT is supported for IPsec/IKE cross-premises connections only. VNet-to-VNet connections or P2S connections aren't supported. You need a VM for a VPN that both forwards Private and Public IPs.
Thank you for the explanation, it makes sense.
On the other hand, we do not have to use any specific tool for Mac. We just use Mac's built-in VPN function.
Configurations we provide:
And it just works as expected. We can connect to the resources in Azure and connect to the internet at the same time. But this is not the case with Windows's built-in VPN function. We have to download a VPN client from Azure Portal.
Do you have any insights about this?
Sign in to comment