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


Setting up ISA Server 2004 for secure RPC communications


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


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


Contributor Brien M. 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 Table of Contents

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 Table of Contents

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 M. 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.


More information from SearchWindowsSecurity.com

  • Tip: Keeping remote PCs patched
  • Book Excerpt: Six steps for deploying Network Access Quarantine Control
  • Checklist: Seven steps to properly set account lockout


  • Rate this Tip
    To rate tips, you must be a member of SearchWindowsSecurity.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
    Setup
    Email archiving: what's right for your enterprise?
    Protect LAN communications
    Use SMB message signing and session security for NTLM
    When malware attacks: Steps to proactively defend Windows
    E-mail authentication will not end spam, panelists say
    Ask Microsoft: SMTP addresses, auto-backup for Outlook
    Disabling file transfer in MSN Messenger
    Deploying an In-Depth, Managed Email Defense Solution to Protect Your Corporate Enterprise
    Expert: New OS e-mail client coming, but Outlook remains strong
    E-mail management is growing concern

    Hardening
    Anti-spyware, anti-virus proetction for Windows e-mail needed
    Enterprise email and IM security journal
    10 tips in 10 minutes: Phishing exposed
    Learning Guide: How to fight spam on Exchange Server
    Office 2003 SP2's antiphishing filter for Outlook
    Blocking peer-to-peer applications
    Step 1: Blocking peer-to-peer applications
    Symantec to purchase IMlogic
    Security Bytes: New threats target IM chatters, Web browsers
    Step-by-step guide: Simple e-mail encryption

    ISA Server
    How to use Windows SBS to manage Internet security
    Running Web Applications in ISA Server: Interactive Discussion
    Penetration testing for Windows systems
    ISA Server and RADIUS
    'It's soup' for Windows R2 and ISA Server 2004 SP2
    Updates to ISA Server imminent
    Microsoft security tools vs. third party
    What do I need in order to block and filter certain Web sites?
    Free analyzer tool checks ISA Server health
    Step-by-Step Guide: How to create a VPN for your wireless network

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    ISA Server  (SearchWindowsSecurity.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.

    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT DownloadsBlogs
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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