如何在Azure虚拟机上启用端口转发 [英] How to Enable port forwarding on azure vm

查看:144
本文介绍了如何在Azure虚拟机上启用端口转发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个蔚蓝的vm,我想在其上配置端口转发,以便可以将流量重定向到1100端口,我创建了一个公共负载均衡器,并且在NAT规则中,我已经配置了端口,但是似乎我无法将RDP移至VM使用我的端口1100,有人可以建议我一些文档来完成此工作吗?

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?

推荐答案

据我了解,您希望通过负载均衡器的前端端口1100来对Azure VM进行RDP.

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

因此,您需要将您的VM添加到Load Balancer的后端池中,然后创建NAT规则,以通过暴露于Internet的端口1100将流量转发到您的VM.

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.

NAT规则设置面板将如下所示:

The NAT rule setting panel will like this:

如果将红笔添加到负载均衡器后端池中,则可以用红笔选择要在其上进行构架的VM.您可以将RDP实际使用的端口设置为1100,将目标端口设置为3389.可以的话您可以通过端口1100连接Azure VM.

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.

您可以通过 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆