Hi, This happens when you route all traffic via VPN from the client. Can you do a route print and check the routing table of the client when connected to vpn gateway? If you see default route via the vpn interface, you will need to add a static route to get your internet connection on you client.
Internet connection does not work with Azure P2S VPN on Linux
Azure VPN setup and fully working, configuration allows for Azure AD authentication and using certificates for Linux users. Linux users are complaining of being unable to browse the internet when the VPN is switched on.
Appears to be some sort of configuration issue from the client side, users who use Azure AD do not report such issues. Is there a configuration setting that must be in place to allow for internet traffic to work alongside VPN traffic. VPN has a DNS forwarder in place, no issues with other users only Linux users.
2 answers
Sort by: Most helpful
-
msrini-MSFT 9,286 Reputation points Microsoft Employee
2023-01-16T07:22:44.4833333+00:00 -
Bas Pruijn 951 Reputation points
2023-01-17T14:56:05.8566667+00:00 I see in your previous answers you are using the 149.16.254.0/24 network as a range for your P2S addresses. This should not be done, unless you own that range of IP addresses. You should use a subset of the RFC1918 range address ([https://netbeez.net/blog/rfc1918/).
Furthermore I see the metric of the VPN connection is lower than the metric of the internet connection. This routes all traffic via the VPN. Therefor it seems logical that no internet traffic is possible anymore.