Home > Microsoft Exchange Tips > > Setting up ISA Server 2004 for secure RPC communications
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Setting up ISA Server 2004 for secure RPC communications


Brien Posey
05.26.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Contributor Brien Posey explains why how ISA Server 2004 makes it relatively easy for Microsoft Outlook clients to establish secure RPC communications with their Exchange servers. In an accompanying tip below, he offers step-by-step advice on how to actually set it up.

TABLE OF CONTENTS:

   Why use ISA Server 2004 for remote e-mail access
   How to create an ISA Server 2004 rule to allow RPC communications

  Why use ISA Server 2004 for remote e-mail access Return to Top

You have a variety of solid options for providing remote e-mail access to end users, but contributor Brien Posey says one tool stands out above the rest. In this tip, he explains how ISA Server 2004 makes it relatively easy for Microsoft Outlook clients to establish secure RPC communications with their Exchange servers -- and he offers step-by-step advice on how to set it up.

E-mail ranks among the most critical applications for many companies whose employees demand e-mail accessibility from outside the company. External e-mail access can be achieved in a variety of ways: Some companies use Outlook Web Access (OWA); others have implemented virtual private networks (VPNs); still others use HTTP over Remote Procedure Call (RPC). But none of these are ideal solutions.

All three options are fine for remote e-mail access, but they have their downfalls: OWA doesn't provide the full functionalities of Outlook; VPNs tend to be slow (less computer-illiterate employees hate the connection process); and HTTP over RPC only works with Outlook 2000 -- and its server-side configuration can be complicated.

So what's the better option? If your network runs Internet Security and Acceleration (ISA) Server 2004 as a perimeter firewall, you can allow employees to connect to your mail server directly through Outlook. The primary requirement is simply that the remote client be configured in a way that allows it to resolve your mail server's NetBIOS name.

ISA Server 2004 makes remote e-mail access possible because it can function as an RPC proxy. Outlook uses RPC to communicate with an Exchange Server. However, the RPC protocol relies on dynamic port assignments. To make RPC function over a normal firewall, you would have to open port number 135 (the RPC endpoint mapper port), plus ports numbered 1,025 to 65,535 because you never know which ports RPC will use.

There are some tricks you can use to force RPC over specific ports. Even so, it would be a major security risk to leave the designated ports open. ISA Server 2004 solves these problems by dynamically opening and closing ports as required. ISA Server 2004 also performs a stateful inspection of all RPC packets to make sure they are valid and nonmalicious. Of course ISA Server 2004 isn't about to allow RPC traffic into your network by default. You will have to publish a rule to allow RPC communications to take place.

  How to create a rule to allow RPC communications Return to Top

1. Open ISA Server's management console and expand the container bearing the name of your ISA Server.

2. Right click on the Firewall Policy container (beneath the server container) and select the New/Mail Server Publishing Rule commands from the shortcut menus.

3. Windows will open the New Mail Server Publishing Rule Wizard.

4. Enter a name for the new publishing rule that you are creating in the space provided and click Next.

5. The wizard will now ask you which type of access the rule should provide. Select the option for Client Access: RPC, IMAP, POP3, SMTP and click Next.

6. You will now see a screen asking which services you are publishing on the mail server. Select the Outlook (RPC) option found in the Standard Ports column. Make sure no other options are selected and then click Next.

7. Now you will be prompted to enter the IP address of the Exchange Server you are trying to provide access to. If you need to provide access to multiple Exchange Servers, then you have to create a separate publishing rule for each Exchange Server. Click Next.

8. You will see a screen asking on which interface ISA Server should be listening for RPC communications. Select the external address that's connected to the Internet and click Next, followed by Finish. Your new publishing rule is now created.

9. You aren't quite done yet. Right-click on the newly created publishing rule and select the Configure Exchange RPC command from the resulting shortcut menu. When you do, Windows will display the Configure Exchange RPC Policy dialog box. Select the Enforce Encryption check box and click OK. This will force RPC communications to be encrypted so that no one can listen to them over the wire.

About the author: Brien Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. He has served as CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. As a freelance technical writer, he has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit his personal Web site at www.brienposey.com.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
ISA Server and Firewalls for Microsoft Exchange Server
Top 5 Exchange mobile tips of 2008
Microsoft Exchange Server security dos and don'ts
Windows SBS and Exchange Server security configuration best practices
Why Exchange ActiveSync fails with NAT firewalls
Deploying ISA Server as a firewall for Exchange Server mobile devices
Adjust your firewall to avoid Exchange 2007 Direct Push failures
OWA stops working from external network connection
Enhance OWA logon security using Microsoft ISA Server
Firewall problems with Exchange Server 2007 email attachments
How and why to disable certain ESMTP verbs

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
reverse proxy server  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts