question

JaimeStuardo-5606 avatar image
0 Votes"
JaimeStuardo-5606 asked DmytroKalchenko-9945 commented

VPN Client does nothing in Windows 10

Hello...

I have created a VPN gateway with P2S connection. Al steps in this page https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal were succesfully completed.

I have downloaded thr VPN Client, and when I run VpnClientSetupAmd64.exe, 2 cmd windows appear for a while and then close. Nothing else happens afterwards.

Gateway SKU I used was VpnGw1

What may be going on?

Thanks
Jaime

azure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlanKinane avatar image
0 Votes"
AlanKinane answered JaimeStuardo-5606 edited

I think the application installs silently. Are you sure it hasn't installed? Do a search for 'Azure VPN' on your device.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes... it is not in the system.

0 Votes 0 ·

Ahh, I was thinking of the Azure AD VPN client which is deployed through the Microsoft store. I think for this certificate based VPN client if you go to your network connections, you should see a VPN connection installed there now.

https://docs.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-configuration-azure-cert#verify-and-connect

0 Votes 0 ·

Thanks!! That was the step I was missing. That installer did not install a new application but created a new network connection instead.

I have connected and my computer was assigned an IP does not belong to address space.

Please take a look at this:

127159-image.png

The IP I was assigned was 192.168.2.2...... that IP was defined in a range I defined yesterday, in one of my installation attempts, however, all the elements I created yesterday were removed to start over. Today I chose all default values and the default ranges were class A type. Perhaps there is someting I forgot to remove yesterday?

127149-image.png

Regards
Jaime


0 Votes 0 ·
image.png (26.2 KiB)
image.png (7.4 KiB)
GitaraniSharmaMSFT-4262 avatar image
0 Votes"
GitaraniSharmaMSFT-4262 answered DmytroKalchenko-9945 commented

Hello anonymous usertuardo-5606 ,

Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

Sometimes, the VPN package installer doesn't complete and this problem can be caused by the previous VPN client installations.

To resolve this issue, please follow the below solution:
Delete the old VPN client configuration files from C:\Users\UserName\AppData\Roaming\Microsoft\Network\Connections<VirtualNetworkId> and run the VPN client installer again.

Kindly let us know if the above helps or you need further assistance on this issue.


Please "Accept the answer" below if the information helped you. This will help us and others in the community as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It works for me. Thanks.

0 Votes 0 ·
JaimeStuardo-5606 avatar image
0 Votes"
JaimeStuardo-5606 answered AlanKinane commented

Hello @GitaraniSharmaMSFT-4262,

Thanks for your help. I could finally install the VPN, however, I am very disappointed with this, because my goal to use Azure VPN was to be able to browse web sites which only allow connections from USA. However, I have realized that Azure VPN is only for connecting to resources in the same Azure network.

Regards
Jaime

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No, Azure P2S connections do not support forced tunnelling.

0 Votes 0 ·
GitaraniSharmaMSFT-4262 avatar image
0 Votes"
GitaraniSharmaMSFT-4262 answered GitaraniSharmaMSFT-4262 commented

Hello anonymous usertuardo-5606 ,

Forced tunneling is supported on P2S VPN via custom routes and that forces all traffic from the client to Azure. You can direct all traffic to the VPN tunnel by advertising 0.0.0.0/1 and 128.0.0.0/1 as custom routes to the clients.
Reference : https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-p2s-advertise-custom-routes#forced-tunneling

Note : Internet connectivity is not provided through the VPN gateway. As a result, all traffic bound for the Internet is dropped.

Kindly let us know if the above helps or you need further assistance on this issue.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello anonymous usertuardo-5606 ,

You will be able to browse the Internet from the Azure VM which you connect to via P2S VPN, however the P2S client will lose Internet connectivity. So you should be able to browse web sites in USA from the connected Azure VM. However, if your requirement is to browse the web sites from the local machine where P2S client is installed with forced tunneling, it is not possible.

Kindly let us know if the above helps or you need further assistance on this issue.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

0 Votes 0 ·