標籤:internet 檢測裝置 手機訪問 使用者名稱 輸入密碼
在很多情境中Exchange 的OWA都是發布到Internet的,但這也給駭客提供了一個暴力破解使用者名稱和密碼的入口。(我個人覺得在沒有入侵檢測裝置的情況下,可以將使用者的登陸名設定為和SMTP首碼不一致,以及對使用者的輸入密碼錯誤次數進行限制,這樣也可以啟動一定的防護作用。唯一的缺點就是使用者需要記錄SMTP地址為,還要記錄一個登陸名)基於這種情況,很多人就會想辦法解決此問題,有的人提出我將本公司的Exchange OWA和OutlookanyWhere都不對公網發布,但是現在是隨處工作時代,仍然需要開啟手機移動端訪問Exchange的入口。下面就簡單介紹一下如何?Exchange在公網只發布行動裝置訪問入口,而不發布OWA和Outlookanywhere。
一、準備條件
我的環境裡面有兩台Exchange CAS伺服器,分別為CAS01和CAS02。
1、首先我們需要為每台CAS伺服器指定兩個內網IP地址。(一個用於OWA使用10.1.1.1,一個用於Microsoft-Server-Activesync使用10.1.1.2)
2、禁用CAS01和CAS02上的Outlookanywhere功能。(也可以不用禁用,只要公網不發布443連接埠,那麼Outlookanywhere功能只能在內網使用。)
3、提前申請CAS01和CAS02伺服器上的認證,讓認證的備用名稱中包含需要發布的手機公網登陸網域名稱。
備忘:操作思路是,預設情況下Exchange的OWA和手機訪問都是掛載在一個預設網站下面,我們只需要建立一個網站,在此網站下建立手機訪問虛擬目錄即可。如果要讓手機能夠正常查看日曆等資訊,還需要在此網站下建立EWS虛擬目錄。
二、操作過程
1、登入伺服器CAS01,在IIS管理器中添加一個名稱為ActiveSync的網站網站。綁定該網站網站使用IP地址10.1.1.2,。
650) this.width=650;" title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/82/DE/wKiom1djUUPS9nKzAAKI2x6bZCg787.png" "539" height="439" />
2、使用命令建立虛擬目錄。(需要注意的是ExternalUrl為手機外網登陸入口,需要在公網DNS添加對應的DNS解析記錄。)
650) this.width=650;" title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/82/DE/wKiom1djUUTzNasDAACQ8MabRX8655.png" "808" height="138" />
3、在伺服器CAS02上進行同樣的操作,添加一個網站網站。。
650) this.width=650;" title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/82/DC/wKioL1djUl3S7hK_AAMYH8iGCiE991.png" "804" height="400" />
4、使用命令建立手機登了的虛擬目錄。
650) this.width=650;" title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/82/DE/wKiom1djUUjxTEX0AADo71MLYwg653.png" "802" height="144" />
5、命令建立完成後,使用命令查看當前伺服器的手機登了的虛擬目錄設定,。
650) this.width=650;" title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/82/DC/wKioL1djUl-TruuUAAGFSYCjQ0o959.png" "805" height="251" />
6、建立完成後,啟動網站網站ActiveSync。。
650) this.width=650;" title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/82/DC/wKioL1djUmKyqDX3AAK7NWIlz7E438.png" "782" height="305" />
7、接下來就是網路工程師發布Exchange手機登入的連接埠,然後使用手機驗證公網是否能夠成功登入。
分離Exchange的OWA和Microsoft-Server-Activesync手機訪問