question

Sudhakar-1220 avatar image
0 Votes"
Sudhakar-1220 asked msrini-MSFT answered

point to site vpn connection

i am using a free trial and practicing point to site connection from my laptop to vm
i have set up connection and downloaded vpn client and also connected to vpn i created
now from mstsc from my laptop how to do connect do i need to connect to private ip of the vm or ip of virtual network or ip address of gateway subnet

when creating this setup from vpn gateway and then point to site connectivity the address pool by default gives an ip address how to go about giving this ip address and then using an ip address in mstsc to connect to azure virtual network

how to go about

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.

1 Answer

msrini-MSFT avatar image
0 Votes"
msrini-MSFT answered

Hi,

P2S is used to connect to Azure Vnet from remote clients. You need a VPN gateway for this setup and you configure P2S by uploading certs and providing Address space for your client.

When you install the setup in your laptop and got connected, your laptop will get an IP address from the address space which you have provided in the configuration in VPN gateway.

If you want to connect to any VM within that VNET which has the VPN gateway with P2S configured, just open MSTSC and type in the private IP of your VM and your credentials. By this way you can connect from your laptop to Azure VM privately using Azure P2S.

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.