Hello @Vishu ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you would like to allow RDP to all VMs in subnet2 via a jump host VM in subnet1 and deny all other traffic for subnet2 VMs.
I recreated this setup in my lab and it works just fine.
Below are the rules that I added to my Subnet2 NSG:
I only created the below 2 rules:
- Rule to allow inbound RDP traffic from my jump host VM in Subnet1 with higher priority (100).
- Rule to deny all other traffic with lesser priority (1000).
I'm able to RDP to my Subnet2 VM from my jump host VM in Subnet1 and unable to access it from any other subnets.
Could you please re-check the NSGs that you have configured and make sure that there are no other NSGs on the network interfaces of the VM blocking the traffic?
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.