Hi,
Yes it should work. In the default rules, there is a allow rule for any any inbound virtual network traffic. Your P2S client address gets added there. So, it should work.
Regards,
Karthik Srinivas
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
Can you help me with the following?
"I had created a VM in azure with just the 3 default NSG inbound and outbound rules each. I had setup a P2S connection to this VM from my local client machine. I also had disassociated the public IP from the VM's network interface. Now, before I RDP onto the VM's private IP from my machine over the VPN tunnel, I just wanted to know whether this works. If yes, I am curious to know how is it possible to RDP onto the VM's private IP if no RDP ports are opened? "
Appreciate your responses!!
Hi,
Yes it should work. In the default rules, there is a allow rule for any any inbound virtual network traffic. Your P2S client address gets added there. So, it should work.
Regards,
Karthik Srinivas
Hi @Anonymous ,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to understand more about P2S VPN gateway connectivity.
When you configure VPN Gateway and establish a S2S/P2S Connection, all the VMs in Azure and Servers in OnPrem/Remote form a single private network.
The routes to this network range are automatically updated in the default routes of the VMs.
So, unless there is any Firewall blocking inside the OS of the VM, RDP via Private IP range should work regardless of whether or not we have a NSG on the subnet/NIC
Refer: Optional default routes
P.S:
I hope this helps.
Please let us know if you are facing issues with RDP to the VM from your P2S Clients.
Thanks,
Kapil
----------------------------------------------------------------------------------------------------------------
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.