我正在尝试在我的.cscfg文件中实现ACL规则,以限制对我的云服务的RDP端点的访问(只允许来自我的VNet的子网的流量)。
我关注了凯文·威廉姆森How to restrict RDP Access in an azure pass cloud service的这篇文章,但根据Visual Studio2013,配置有问题(它在"Roles“文件夹中显示黄色三角形)。
我使用的是Azure SDK 2.6。
我在Visual Studio2013中启用了RDP扩展,然后在ServiceConfiguration.Cloud.cscfg中添加了必要的标记,但是当我添加AccessControl和EndpointAcls时,Visual Studio就会提醒我一个问题。
我有:
<!-- I added this in the NetworkConfiguration opening tag, but before the VirtualNetworkSite and AddressAssignments -->
<AccessControls>
<AccessControl name="RdpRestrictions">
<Rule order="100" action="permit" remoteSubnet="10.1.0.0/24" description="PermitRdp" />
<Rule order="200" action="deny" remoteSubnet="0.0.0.0/0" description="DenyRdp" />
</AccessControl>
</AccessControls>
<EndpointAcls>
<EndpointAcl role="MyEndpoint" endpoint="Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput" accessControl="RdpRestrictions"/>
</EndpointAcls>我检查了一下,根据NetworkConfiguration模式定义,我的cscfg文件似乎是有效的。
我检查了EndpointAcl中描述的角色确实指的是导入了远程转发器插件的WebRole。
会出什么问题呢?我在互联网上找不到任何关于如何解决这个问题的信息。
发布于 2015-09-28 02:45:17
微软的Network Configuration Schema在两个方面似乎已经过时了。
EndpointAcl的端点属性应该是"endPoint".
https://stackoverflow.com/questions/32732982
复制相似问题