Tip

Single-firewall DMZ or dual-firewall DMZ? What's it gonna be?

So you've latched onto the idea of using a DMZ to offer more secure and robust protection for some of your machines, as opposed to simply using a traditional firewall in front of your entire network, passing everything inside. Good for you. But one question remains: Will you go the simple route and have a DMZ residing off your single firewall? Or, is the extra expense worth it to have the ultimate in protection -- two firewalls and the DMZ residing between both of them?

You would be reasonably secure with a traditional DMZ to protect your public-facing servers, which, at the same time will guard your more sensitive internal network from nefarious external users. In this scenario, the firewall looks at all incoming traffic to figure out if it should be shunted over to the DMZ network (where one or more machines providing outward-facing services reside) or passed onto the protected internal network. The traditional DMZ examines all outgoing traffic from the internal network to determine if it should be passed (a) from the protected network to the DMZ network for those internal packets asking for Web and mail services, (b) to the protected network from the DMZ network as the response to requests from within, or (c) to the Internet. You might know this architecture as the dual-homed gateway architecture, as the firewall will have two interfaces -- one to the DMZ and one to the internal network.

Taking it one step further, the dual-firewall DMZ architecture (sometimes

    Requires Free Membership to View

known as a sub-network firewall) adds another layer of defense and isolation between the internal network and the big, bad world outside. You also gain further protection for your public-facing hosts by having a firewall in front of them, as well as another firewall in front of your internal network. Using this architecture, traffic between the protected network and the Internet must traverse two firewalls, which gives you initial first-line defense against nefarious traffic targeted at your outward-facing machines.

So, now you have to make up your mind, and the following traffic questions can help you with that decision:

  • From a performance standpoint, can you afford to route external traffic through two firewall systems instead of just one?
  • How can you monitor traffic passing through either leg of the network?
  • From where might you monitor that traffic?
  • Do you need instant ability to recover from compromises, such as disabling one firewall system while keeping the other running and passing traffic?
  • Do you have the requisite number of network ports available?
  • Does your budget allow for two firewalls or is the expense prohibitive?

Here's the bottom line: A traditional DMZ architecture affords you an additional level of protection for machines offering public services, but it requires additional effort for ongoing operations and maintenance. The dual-firewall DMZ option is the most secure, but (as with any double-edged sword), it is also the most expensive to deploy and run.

About the author: Jonathan Hassell is author of Hardening Windows (Apress LP), and is a SearchWindowsSecurity.com site expert. Hassell is a systems administrator and IT consultant residing in Raleigh, N.C., who has extensive experience in networking technologies and Internet connectivity. He runs his own Web-hosting business, Enable Hosting. His previous book RADIUS (O'Reilly & Associates), is a guide to the RADIUS authentication protocol and offers suggestions for implementing RADIUS and overall network security. Ask Hassell a hardening Windows question today.


More information from SearchWindowsSecurity.com

  • Tip: Windows Firewall: Love it or hate it
  • Ask the Expert: How do I set up a DMZ?
  • ITKnowledgeExchanage: Using Windows authentication to access a Linux DMZ


  • This was first published in September 2005

    There are Comments. Add yours.

     
    TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

    REGISTER or login:

    Forgot Password?
    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
    Sort by: OldestNewest

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to:

    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.