1

I have added my role to a virtual subnet, and configured network security groups to allow 63389 inbound to 3389 I've tried various permutations 3389 to 3389 But I can never get RDP to work. If I remove the NSG it works ok. I'm basically doing what it says here

Here is what I am currently using for my web_sg subnet 10.1.0.0/16

# RDP inbound
Get-AzureNetworkSecurityGroup -Name "web_sg" | Set-AzureNetworkSecurityRule -Name RDP-web_dmz -Type Inbound -Priority 347 -Action Allow -SourceAddressPrefix 'INTERNET'  -SourcePortRange '63389' -DestinationAddressPrefix '10.1.0.0/16' -DestinationPortRange '3389' -Protocol TCP
# SSL Inbound
Get-AzureNetworkSecurityGroup -Name "web_sg" | Set-AzureNetworkSecurityRule -Name SSL-web_dmz -Type Inbound -Priority 348 -Action Allow -SourceAddressPrefix '*'  -SourcePortRange '*' -DestinationAddressPrefix '10.1.0.0/16' -DestinationPortRange '443' -Protocol TCP

I have also tried 3389 -> 3389, and * -> 3389 and have also added these as endpoints in my cloud service. Note that I am enabling remote desktop manually using the azure management website.

Any ideas?

2
  • It would be useful if you could post the rules/zones/subnets you have created for this purpose. Jun 18, 2015 at 7:19
  • Did the extra info help?
    – Ian1971
    Jun 22, 2015 at 10:03

1 Answer 1

0

If your cloud service is sitting behind an NSG, you may need to create rules that allow traffic on ports 3389 and 20000. Remote Desktop uses port 3389. Cloud Service instances are load balanced, so you can't directly control which instance to connect to. The RemoteForwarder and RemoteAccess agents manage RDP traffic and allow the client to send an RDP cookie and specify an individual instance to connect to. The RemoteForwarder and RemoteAccess agents require that port 20000* be opened, which may be blocked if you have an NSG.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .