How to Enable port forwarding on azure vm

陌路散爱 提交于 2021-01-29 14:16:26

问题


Hi I have a azure vm on which I want to configure port forwarding so that I can redirect traffic to 1100 port, I have created a public loadbalancer and in NAT rule I have configured the ports, but seems that I cant RDP onto the VM using my port 1100, can anyone suggest me some documents where I can get this thing done?

Or point me in the right direction?


回答1:


As I understand, you want to RDP your Azure VM through the front port 1100 of Load Balancer.

So you need to add your VM into the Backend pools of Load Balancer, and then create NAT rule to forward the traffic to your VM through port 1100 exposed to the internet.

The NAT rule setting panel will like this:

You can select your VM at which I frame up with the red pen if you added it to the Load Balancer backend pools. And you can set port as 1100 and target port as 3389 which RDP really used. When it's OK. You can connect your Azure VM through port 1100.

You can get more details with the document Create inbound NAT rules.



来源:https://stackoverflow.com/questions/51094655/how-to-enable-port-forwarding-on-azure-vm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!