windows IIS7 只允许访问本地网络
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2789330/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
IIS7 permit access only to local network
提问by user335518
I am having a problem with the IIS 7 on a Win 2008 server. I only want to have access to it inside my network and denied access from anyone outside the network. I had created a rule to permit access to the group of computers with the IP: 192.168.0.1 (255.255.255.0). In the IIS6 this was enougth to prevent access of any IP that don't belong to the network. Any idea of how can I block these access? Thanks!
我在 Win 2008 服务器上的 IIS 7 有问题。我只想在我的网络内访问它,并拒绝网络外的任何人访问它。我创建了一个规则来允许访问 IP 为 192.168.0.1 (255.255.255.0) 的计算机组。在 IIS6 中,这足以阻止访问任何不属于网络的 IP。知道如何阻止这些访问吗?谢谢!
回答by tyger
Use IP Seсurity (IP Address and Domain restrictions role for IIS7) - it allows you to block a list of IP addresses.
使用 IP 安全(IIS7 的 IP 地址和域限制角色) - 它允许您阻止 IP 地址列表。
Look at IP Security
查看IP 安全
回答by Nate
The same rule should work in IIS7, you may need to install the component for IP Filtering though via the Role Manager.
相同的规则应该适用于 IIS7,您可能需要通过角色管理器安装 IP 过滤组件。
In addition to the built-in request filtering, there is an addon for dynamic filtering -- http://www.iis.net/download/DynamicIPRestrictions
除了内置的请求过滤,存在一种用于动态过滤的插件- http://www.iis.net/download/DynamicIPRestrictions