azure-xplat-cli icon indicating copy to clipboard operation
azure-xplat-cli copied to clipboard

VMSS quick-create windows uses wrong port for NAT Rules

Open gatneil opened this issue 8 years ago • 1 comments

CLI Version: 0.10.8 (node: 4.2.6) OS Type: Ubuntu Installation via: npm Mode: ARM Environment: AzureCloud

Description: azure vm quick-create command makes NAT rules allowing incoming requests on port 22 for SSH regardless of whether the VM image is Windows or Linux. Instead, it should create NAT rules for port 22 only if the vm image is Linux; if the VM image is Windows, it should instead create NAT rules for port 3389 for RDP access.

Steps to reproduce:

  1. azure vmss quick-create -n myWin -g myWinrg -l westus -u ops -p P@44word! -C 2 -Q MicrosoftWindowsServer:WindowsServer:2016-Datacenter:latest
  2. See the target port on the NAT rules configured: they will be 22 when they should be 3389, since they are Windows machines

gatneil avatar Dec 24 '16 00:12 gatneil

@huangpf - Can you take a look at this issue?

amarzavery avatar Jan 03 '17 23:01 amarzavery