Solved

Exchange Administrative center external access

Posted on 2016-10-26
4
70 Views
Last Modified: 2016-11-09
One of the concerns that has been raised is the ability to access Exchange Control panel for Exchange 2010 and Exchange Administrative Center for 2013/2016 externally.  Is there a way to prevent external access maybe by limiting the IP ranges that could access it to internal IP ranges only.
0
Comment
Question by:georgedschneider
4 Comments
 
LVL 15

Accepted Solution

by:
Todd Nelson earned 450 total points
ID: 41861033
1
 
LVL 39

Expert Comment

by:Adam Brown
ID: 41861110
For information, the only way to block ECP without resorting to an application aware firewall is to create a second version of the ECP site that is only accessible using an Internal IP address that is assigned as a secondary IP on the Exchange server. Todd's second link explains the process, but be aware that it is a fairly involved process.
1
 
LVL 4

Expert Comment

by:El Fierro
ID: 41861119
Here are some steps for 2013..good luck

1) Add a second IP address to the Exchange 2013 CAS server
   
2) Create the folder in this path %SystemDrive%inetpubwwwroot2
 
3)  Create a second website in IIS pointed to the wwwroot2 folder and call it CustomEAC
 
4) Bind the website on ports 80 and 443 to the new IP address
 
5) Create a new ECP virtual directory using the command
    New-EcpVirtualDirectory -Server ServerName -WebSiteName "CustomEAC" -InternalUrl  
    "https://eac.yourdomain.com/ecp"
   
 6) Create a new OWA virtual directory with this command
     New-OwaVirtualDirectory -Server ServerName -WebSiteName "CustomEAC" -InternalUrl   "https://eac.yourdomain.com/owa"     
   
7) Set the original ECP virtual directory to restrict admin access with this command
   
Set-ECPVirtualDirectory -Identity "MailServerNameecp (default web site)" -AdminEnabled $false
   
8) Edit the IP Address restrictions to only allow access to the EAC website from the internal subnets
 
  Add a host record in DNS for the new EAC URL
1
 
LVL 7

Assisted Solution

by:CodeTwo Software
CodeTwo Software earned 50 total points
ID: 41861833
Hi George,

All of the above suggestions should get you on the right track.

If you would like to check out our guide on this topic with screenshots, go to:

http://www.codetwo.com/admins-blog/how-to-disable-external-access-to-ecp/?sts=6423

Best regards (and good luck!),
- CodeTwo
1

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question