Home > Security Channel Tips > Network Security > Firewall troubleshooting: How to modify the scope of Windows XP and Vista firewall rules
Security Channel Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK SECURITY

Firewall troubleshooting: How to modify the scope of Windows XP and Vista firewall rules


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


Security Channel Update
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


In this series on troubleshooting the Windows XP firewall, I have shown you several issues that can prevent your customers' firewalls from operating. In this final tip I introduce scopes, which can prevent a confirmed active Windows XP firewall rule from working. I also explain how to configure firewall rules for Microsoft Vista.

Scopes allow you to differentiate between a public network and a private network. The basic idea is that, while security is always important, there may be some ports that can be open if the computer is on a trusted, private network. However, these same ports should be closed while the system is connected to a public network.

Using the Windows XP firewall applet

The Windows XP implementation of the scope feature doesn't fully differentiate between public and private networks. In Windows XP, a private network is considered to be any computer that exists in the same subnet as the computer that you're configuring. This tends to be problematic, because when connecting to a public Wi-Fi hot spot the workstation uses DHCP to acquire an IP address from the access point. Then the computer becomes a member of the same subnet as every other computer that's attached to the access point. Users do, however, have the option of protecting themselves by entering specific IP addresses, rather than simply defining the private network as being anyone with the same subnet.

To modify a scope of a customer's Windows XP firewall rule, open the Windows Firewall applet found in the Control Panel. When the Windows Firewall properties sheet opens, select the Exceptions tab. Then select the program or port that you want to take a closer look at and click the Edit button. You'll see a dialog box that's similar to the one shown in Figure A.


Figure A You can use the Change Scope button to change the port's scope.

Notice that the dialog box contains a Change Scope button. Click this button, and you'll see a dialog box similar to the one that's shown in Figure B. Here, you can configure the program or port rule to apply to any computer (the equivalent to a public network), your customer's network (subnet) only or to a custom list of IP addresses.


Figure B The Change Scope dialog box allows you to specify for which computers the ports will be unblocked.

Configuring firewall rules on Windows Vista

This series on firewall troubleshooting focuses on Windows XP because that's what the majority of customers are still using, but the general concepts also apply to Windows Vista. However, there are various differences between the Windows XP firewall rules and the Windows Vista firewall rules, and there's one major difference in particular that I want to point out.

Troubleshooting Windows XP firewalls
  • Learn how to override Windows XP firewall default settings
  • Learn how to troubleshoot Windows XP firewall configuration problems
  • Learn how to audit the Windows XP firewall.
  • Learn how to use Netstat to determine which ports to open on a Windows firewall.
  • Most of Vista's basic firewall settings can be controlled via the Control Panel. However, in an effort to simplify the interface for the average home user, Microsoft removed from Vista's Control Panel some settings that are available in Windows XP. To gain additional control over the Vista firewall, you'll need to access a separate console by entering the MMC command at the Run prompt located on the Accessories menu.

    In response to this command, Windows opens an empty Microsoft Management Console. Choose the Add/Remove Snap-In command from the console's File menu for a list of the available console snap-ins. Choose the Windows Firewall option from the list, and then click Add. When prompted, verify that the Local Computer option is selected, and then click Finish, followed by OK.

    Space limitations prevent me from discussing every available option, but there are two aspects of this console that I want to show you. First, navigate through the console tree to Windows Firewall With Advanced Security | Monitoring, and you'll see a summary of the firewall's current configurations, as shown in Figure C. This is useful for troubleshooting Microsoft Vista firewalls.


    Figure C Obtain greater control over Vista firewall rules via the Windows Firewall with Advanced Security console.

    The other thing that I want to point out is the Private Profile and Public Profile sections at the bottom of the figure. As in Windows XP, scopes exist in Windows Vista, but they are greatly expanded. As you can see in Figure C, Vista allows you to establish completely separate profiles for public and private networks.

    Another major difference between Vista and Windows XP is that Vista includes a Domain scope. The Domain scope takes effect when the computer functions as a part of a domain. This allows Windows to truly differentiate between a corporate network and a public Wi-Fi connection.

    To see how scopes are implemented in Vista, select the Inbound Rules container, right-click on one of the existing rules, and choose the Properties command from the resulting shortcut menu. This displays the firewall rule's properties sheet. If you look at the properties sheet's Advanced tab, you can see that Vista allows you to control which profiles the rule is a part of (Domain, Private or Public), as shown in Figure D.


    Figure D Windows Vista's firewall creates separate profiles for each scope.

    You might notice that there is a separate tab for Scope. The Scope tab allows you to specify for which IP addresses the rule should apply. Notice in Figure E that Vista differentiates between local and remote addresses.


    Figure E Windows Vista differentiates between local and remote addresses.

    About the author
    Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. Brien 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, CNET, ZDNet, TechTarget, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at www.brienposey.com.


    Rate this Tip
    To rate tips, you must be a member of SearchSecurityChannel.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    Add to Google


    RELATED CONTENT
    Network Security
    Key aspects of cloud computing services
    Check Point NGX R65 operational changes
    Top security tips for solutions providers
    What 2008 holds for unified threat management
    Making sense of network access control
    How to use shared object rules in Snort
    Snort frequently asked questions
    How to secure the chain of custody in a digital forensics investigation
    Checklist: Top five security assessment tools
    Using Microsoft Baseline Security Analyzer to detect security holes

    Network Devices
    Check Point NGX R65 operational changes
    New FireWall-1/VPN-1 features in Check Point NGX R65
    Check Point NGX R65 FAQs
    Summary of Check Point's NGX R65
    Network firewall vendors
    Check Point's NGX R65's Integrity Advanced Server
    New SmartPortal features in Check Point NGX R65
    Edge support for Check Point NGX R65's CLM
    Customers' favorite security hardware and software
    What 2008 holds for unified threat management

    More Information on Network Firewalls
    Windows XP firewall troubleshooting
    Use Netstat to determine which ports to open on a Windows firewall
    How to audit the Windows XP firewall
    Firewall troubleshooting: How to override default XP firewall settings
    Defining access directions through firewalls
    Firewall troubleshooting: Inability to configure the Windows XP firewall
    Ingress firewall rules for the Cisco Security Monitoring, Analysis, and Response System
    Choosing the right firewall for your customer
    Firewall architecture decisions: perimeter protection strategy
    Firewall topology: system placement

    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.

    HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
    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 2006 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts