Reputation: 5212
In my NSG I have inbound security rules like this:
Priority Name Port Protocol Destination
-------- ---- ---- -------- -----------
340 RDP 3389 TCP 10.0.0.4
350 Tn 22 TCP 10.0.0.5
In NSG -> Network Interfaces
Name Public IP Private IP
----- ---------- -----------
Svr1 137.116.x.x 10.0.0.4
Svr2 - 10.0.0.5
The NSG is only able to port forward port 3389 to Svr1 (10.0.0.4), where the public IP address was associated with.
I can't port forward any other port to Svr2 (10.0.0.5) or another VM within the subnet, where it Public IP address is not associated with.
My I know what is wrong with my setting?
Upvotes: 0
Views: 431
Reputation: 72176
you need to assign public ip to any vm you want to access externally. alternatively you need to assign all the vms to the same load balancer and configure NATing\load balancing
Upvotes: 0