Skip to content

Commit 503f3c2

Browse files
authored
Merge pull request #126248 from tsimiz/patch-1
Adding knowledge about not using ports below 1024 on unix-based OS
2 parents 50e3152 + 2d3b93f commit 503f3c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/bastion-native-connect-tunnel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Steps:
2121

2222
1. Sign in to your Azure account using `az login`. If you have more than one subscription, you can view them using `az account list` and select the subscription containing your Bastion resource using `az account set --subscription "<subscription ID>"`.
2323

24-
1. Open the tunnel to your target VM.
24+
1. Open the tunnel to your target VM. Without root privileges use local port 1024 or above as ports below that are privileged ports only accessible by root.
2525

2626
```azurecli
2727
az network bastion tunnel --name "<BastionName>" --resource-group "<ResourceGroupName>" --target-resource-id "<VMResourceId or VMSSInstanceResourceId>" --resource-port "<TargetVMPort>" --port "<LocalMachinePort>"

0 commit comments

Comments
 (0)