point to site vpn connection

Sudhakar 1 Reputation point
2020-06-13T11:46:02.143+00:00

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
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,380 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,256 Reputation points Microsoft Employee
    2020-06-17T09:04:41.85+00:00

    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.

    0 comments No comments