This section provides a scenario for creating rules in ISA Server. A basic network design is described, which applies to the solutions in this document. The relationship between ISA Server rules and Exchange features is explained, including which features will be published in each rule. The concept of delegated authentication is explained, followed by a discussion of the Domain Name System (DNS) and certificates.
Network Design
There are many deployment topologies used to deploy Exchange services to the Internet. These topologies can vary in complexity, cost, and level of security. This document assumes a simple design topology (which is often the most effective). These design principles can be used in any environment where ISA Server 2004 is publishing Exchange.
This document assumes that ISA Server is placed as a second layer firewall between the perimeter network (also known as DMZ, demilitarized zone, or screened subnet) and the Internal network, and is a member of the internal Active Directory directory service domain. ISA Server is very effective in this position because it adds layer 7 firewall security at the edge of the internal local area network (LAN) with good connectivity for authentication purposes. It is also assumed than a traditional layer 4 packet filtering firewall is placed between the Internet and the perimeter network. However, this is not an explicit requirement. ISA Server 2004 can also operate effectively as the only firewall layer where two layers are not required.
The following network addresses are used in the examples for this document:
-
Perimeter network (ISA Server External LAN): 10.0.0.0/8
-
Internal network (ISA Server Internal LAN): 192.168.0.0/24
This guide assumes that the Exchange front-end server is placed on the Internal network along with the Exchange back-end servers and not in the perimeter network. This design is a recommended scenario in the Planning an Exchange Server 2003 Messaging System guide. For additional security, it is also appropriate to place the Exchange front-end and back-end servers on a separate network with an ISA Server computer separating them from the internal LAN. This way, Exchange servers also benefit from the ISA Server remote procedure call (RPC) filter to protect the mailbox servers.
Note: |
|---|
|
We do not recommend placing an Exchange front-end server in a perimeter network because it is not designed to be a security context, and it requires extensive connectivity to Active Directory and the Exchange back-end servers.
|
For smaller Exchange deployments where only a single back-end server exists, it is not required to install an Exchange front-end server. In these scenarios, publish the Exchange back-end server through ISA Server. We still recommend using an SMTP relay in front of the back-end server. This could even be installed on the ISA Server computer along with the ISA Server Message Screener.
For information about how to deploy Microsoft Office Outlook Web Access for Exchange Server 2003, see Planning an Exchange Server 2003 Messaging System at the Microsoft TechNet Web site.
ISA Server Rules
Various rules are required to provide access to all the features of Exchange. The New Mail Server Publishing Rule Wizard can bundle many of the features into a single rule. However, this removes the ability to provide granular security to each Exchange feature because the HTTP filter settings are applied on a per-rule basis. To achieve granular security, each Exchange feature should be published in a separate rule.
Each of the Exchange features described in the following table will be published using separate ISA Server rules.
|
Exchange feature
|
Description
|
|---|
|
Outlook Web Access
|
Feature rich Web browser-based access
|
|
Outlook Mobile Access
|
Simple access using a mobile device, for example, Wireless Application Protocol (WAP)
|
|
Exchange ActiveSync
|
Synchronize directly with Microsoft Windows mobile-based devices
|
|
RPC over HTTP
|
Microsoft Office Outlook 2003 remote connectivity without a virtual private network (VPN)
|
|
SMTP
|
Send and receive Internet e-mail
|
Delegated Authentication
A key feature of ISA Server is the ability to pre-authenticate incoming connections by using delegation. In this configuration, ISA Server can test the validity of the provided credentials before they are sent to the published resource. This is done in a seamless way such that users only have to log on once, but they are actually logging on to the ISA Server computer and the published server. We recommend that pre-authentication be used when deploying ISA Server to protect Exchange. This prevents anonymous traffic from reaching the Exchange server, with the exception of SMTP.
ISA Server is able to natively validate authentication requests against Active Directory or to other directory services by using Remote Authentication Dial-In User Service (RADIUS). The ISA Server in this guide is a member of the internal Active Directory domain, and thus it has the required access to the domain controllers to perform pre-authentication. RADIUS implementations of ISA Server are less flexible than domain joined scenarios. A key sacrifice is the ability to assign permissions by using group membership. Joining ISA Server to the domain is a recommended approach.
Two types of authentication are used in this guide, Basic authentication and forms-based authentication. The following table lists the Exchange features to be published, including the protocol and recommended pre-authentication types used in this document.
|
Exchange feature
|
Protocol
|
Pre-authentication type
|
|---|
|
Outlook Web Access
|
HTTPS (HTTP over SSL)
|
Forms-based or Basic
|
|
Outlook Mobile Access
|
HTTPS (HTTP over SSL)
|
Basic
|
|
Exchange ActiveSync
|
HTTPS (HTTP over SSL)
|
Basic
|
|
RPC over HTTP
|
HTTPS (HTTP over SSL)
|
Basic
|
|
SMTP
|
SMTP
|
None (Anonymous)
|
When forms-based authentication is used, a minimum of two external Internet Protocol (IP) addresses are required on the ISA Server computer, one for forms-based authentication and one for Basic authentication. This is because ISA Server 2004 does not support both forms-based and Basic authentication types on a single Web listener, so two IP addresses and two listeners are required.
When ISA Server uses the forms-based filter, it receives the user credentials in plain text into the logon page form. ISA Server then validates the credentials against an authentication source (for example, Active Directory) and then replays the credentials using Basic authentication onto the Exchange server. Basic authentication transmits the username and password using Base64 Encoding, which is easily reversed and should be considered to be plain text. For this reason, Secure Sockets Layer (SSL) should always be used between the client and the ISA Server computer, and either SSL or Internet Protocol security (IPsec) encryption used between the ISA Server computer and the Exchange server to secure the users credentials in transit.
Note: |
|---|
|
Outlook Web Access can be configured to use Basic or forms-based authentication (over SSL for protection). Forms-based authentication is the recommended authentication approach because the Web browser session is maintained by using a cookie association with the ISA Server computer, which makes Outlook Web Access logoff possible without closing the browser. It also provides a method for a user to select certain Outlook Web Access preferences and features before logging on.
|
DNS and Certificates
To enable SSL connections for the Exchange Web-based services, a Web server certificate is required. Each SSL Web server certificate is tied to a specific Domain Name System (DNS) name (unless an SSL wildcard character certificate is used). Because two IP addresses are required to publish the Exchange services when forms-based authentication is used, and each IP address has to be resolved by a different DNS name, two SSL Web server certificates are also required on the ISA Server computer. An additional SSL certificate will be required on the Exchange front-end server to provide end-to-end encryption.
If you are familiar with SSL certificates and DNS name resolution, it is possible to use the same SSL certificate on the ISA Server computer as on the Exchange front-end server. However, separate certificates are used in this guide for clarity. Some certificate providers have extra licensing requirements if the certificate is to be used on multiple machines, please check with your provider before purchasing or deploying their certificates to ensure all requirements are met.
The ISA Server must trust the SSL certificate on the Exchange server. If the certificate on the Exchange server has been internally generated, the root certification authority (CA) certificate must be imported into the Trusted Root Certification Authorities store on the ISA Server. This can be done manually or by using Active Directory, if ISA Server is a member of Active Directory. We recommend purchasing the SSL certificates for the ISA Server computer from a trusted third-party provider so that external clients automatically trust them.
This guide uses the names and IP addresses shown in the following table in the instructions.
|
Server placement
|
Certificate common name
|
DNS A record
|
IP address
|
|---|
|
ISA Server
|
mail.contoso.com
|
mail.contoso.com
|
10.0.0.1
|
|
ISA Server
|
owa.contoso.com
|
owa.contoso.com
|
10.0.0.2
|
|
Exchange front-end server
|
frontend.contoso.com
|
frontend.contoso.com
|
192.168.0.1
|
For more information about digital certificates for Outlook Web Access on ISA Server, see Digital Certificates for ISA Server 2004 at the Microsoft TechNet Web site.
In this scenario, the external DNS Mail Exchanger (MX) record for the contoso.com domain resolves to mail.contoso.com. In this way, the SMTP service will be published on the 10.0.0.1 address.
This deployment scenario uses a split DNS infrastructure. The host records mail and owa, and the MX record must be resolvable by external clients. The host name frontend must be resolvable internally by ISA Server. ISA Server can be configured to resolve this name by adding it to the internal Active Directory DNS zone or by entering it in the local Hosts file. Separate DNS namespaces can also be used if required.
Note: |
|---|
|
This document assumes that the external DNS resolution and MX records are already in place, and that the relevant SSL certificates have been generated and imported into the machine certificate store of the ISA Server and the Exchange server.
|