P2S VPN gateway, is it possible to connect one client to another client ?

Puneet Agarwal 1 Reputation point Microsoft Employee

I have a question around azure P2S VPN offering, I set it up nicely and installed VPN client on VM, which is able to access azure resources available on that Vnet, But i have a different requirement where I have two VMs where i have installed and connected via VPN client, is it possible Vm1 to be able to accesss VM2 ? currently, i am not able to do so, considering both are in same subnet, they should be able to access each other but i am not able to do so so far ?

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,401 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alan Kinane 16,796 Reputation points MVP

    VPN clients can't communicate with each other over the VPN but where are these VMs hosted? You mention they are on the same subnet, are these VMs in Azure already or on premises? They should be able to communicate with each other using their local (LAN) IPs, not the Azure VPN IP address.