標籤:windows server 2003使用安全性原則禁止某ip訪問伺服器的方法
華普線上 提供海外伺服器 http://www.hpidc.net 華普線上!
開始—管理工具—本地安全性原則
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199200820.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199200820.jpg" />
建立IP安全性原則
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199200516.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199200516.jpg" />
下一步
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201732.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201732.jpg" />
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201580.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201580.jpg" />
我們就是要禁止他,不和他說話,那麼,取消勾選“啟用預設響應規則”。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201637.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201637.jpg" />
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201702.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201702.jpg" />
注意右下角的“添加嚮導”,如果勾選了,取消他,然後點擊“添加”。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201210.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201210.jpg" />
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201782.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201782.jpg" />
注意別把源地址和目標地址寫反了,源地址是要限制的IP,目標地址是本機地址。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201876.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201876.jpg" />
我這裡設定的是限制124.172.237.44不能夠訪問124.172.237.42上的網站。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201363.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201363.jpg" />
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201366.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201366.jpg" />
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201522.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201522.jpg" />
設定好策略之後,要指派才能成功。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199201430.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199201430.jpg" />
指派之後,試訪問124.172.237.42的網站,訪問不了。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199202162.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199202162.jpg" />
我們取消指派再看看。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199202772.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199202772.jpg" />
不指派策略,就是設定的安全性原則沒有起作用,可以訪問124.172.237.42上的網站。
650) this.width=650;" src="http://www.bjadn.net/upfile/201304/20134199202344.jpg" border="0" style="border:0px;font-family:verdana;font-size:14px;line-height:22px;white-space:normal;" alt="20134199202344.jpg" />
http://www.hpidc.net 華普線上!
本文出自 “維也納的海風” 部落格,請務必保留此出處http://yxwidc.blog.51cto.com/3598916/1540393