2 Replies Latest reply on Jan 15, 2017 3:47 AM by rajeevsrikant

    NSX Firewall with Thousands of Rules

    A13x Hot Shot

      Hi All , i was wondering is there a firewall cheat that can make working out what rules are applied in what order graphically to a VM or SG when you have thousands of firewall rules created in the nsx firewall that have NOT been made using composer or ARM?

      Its possible to use the CLI but having to go through each of the rules and work out what might be the problem takes time.

       

      The massive NSX Firewall ACL has a mix of micro segmentation sg, dfw / and also those applied to edges and other groups. It was fine when we had a few hundred rules but now its getting into a management nightmare.

       

      If you use composer it would help a lot but then you lose a lot of advanced features and flexibility.

       

      How is everyone checking the firewall rule before publishing the policy when there might be a rule or several rules in the thousands that might impact the entire environment?

        • 1. Re: NSX Firewall with Hundreds of Rules
          DaleCoghlan Enthusiast
          VMware Employees

          The key to using the DFW/Service Composer at scale is to have an appropriate security framework. This framework should be well thought out and designed from the outset to accomodate hundreds or thousands of rules. One of the main points of the security framework that you will build most things on, will be an appropriate security grouping framework.

           

          I have personally helped customers implement their security posture using DFW/Service Composer and they have anywhere from 50 rules right up to 50,000 rules. You must also keep in mind that a lot of the power of NSX comes with the fact that it can be driven programatically, so the customers who have large rule bases also look to automation to help them out, and if automation is going to a factor in the future, your security framework must cater for it from the beginning.

           

          Have you read the following document?

          WhitePaper: NSX Distributed Firewalling Policy Rules Configuration Guide

           

          If you get your framework correct, it will allow you to provision and life-cycle rules/applications with ease and do it programatically if required. If you get it wrong, like with most firewall products, you will find making changes to the rules/policies cumbersome or complex.

           

          Can you elaborate on the functionality that your missing from Service Composer? What would you like to see in Service Composer that would sway you to use it?

           

          Dale

          • 2. Re: NSX Firewall with Hundreds of Rules
            rajeevsrikant Hot Shot
            Community Warriors

            I too had similar question in my mind when implementing the DFW rules & policies.

            The grouping ,section & Applied TO functionality makes it very simple to configure & manage the rules.

            The search functionality provides ease & flexibility during troubleshooting or during any rule check.