A next-generation firewall is usually installed in a weekend and then spends years with an allow-any rule at the bottom, its intrusion prevention in alert-only mode and its management interface reachable from places it should not be. The features that justify an NGFW, application identification, user mapping, intrusion prevention and TLS inspection, all need planning, tuning and owners, and the device itself becomes one of the most targeted systems on the network. This playbook sets out a vendor-neutral, phased rollout for a new NGFW at the perimeter or between internal zones: the decisions to make first, the management plane to build before traffic flows, how to move from logging to default-deny, how to switch on each inspection feature safely, and how to roll back. It is written for network security, infrastructure and security architecture teams. Rule base design and review are covered in the Firewall Management Guide and replacing an existing firewall is covered in the Next-generation firewall (NGFW) migration playbook; this page focuses on a new deployment.
Key takeaways
- Build the management plane first. Out-of-band management, central AAA with phishing-resistant MFA, logging and configuration backup should exist before the firewall carries production traffic, as the 2024 joint CISA, NSA and partner hardening guidance recommends.
- Learn the flows before you deny them. Run with explicit, logged rules and use the logs to build an application-based allow list, then move to deny by default and allow by exception (NIST SP 800-53 SC-7(5)).
- Switch inspection features on one at a time. Intrusion prevention, URL filtering and TLS inspection each have their own false positive and breakage profile, so each gets its own detect, tune and enforce cycle.
- The firewall holds many machine credentials. Directory read accounts for user mapping, API keys for orchestration, VPN secrets and certificates are non-human identities that need owners, least privilege and rotation.
- Measure policy quality, not uptime. The rollout is working when broad rules are gone, every rule has an owner and a review date, and management access is only from the management network.
Before you start: decisions that are hard to change later
NIST SP 800-41 Rev. 1 recommends establishing the firewall policy before selecting, configuring, testing, deploying and managing a firewall. Record these decisions in a design record approved by network and security owners.
| Decision | Options | What to consider |
|---|---|---|
| Placement | Internet perimeter; internal segmentation between zones; data centre or cloud edge; branch | Perimeter-only designs leave flat internal networks. Internal segmentation firewalls give the most value against lateral movement but need the most flow knowledge. See the Network Segmentation Guide. |
| Availability | Single device; active-passive pair; active-active cluster | Active-passive is simpler to troubleshoot. Active-active adds capacity but makes asymmetric routing and state synchronisation harder to test. |
| Zone model | Few broad zones; zones per trust level and function | Zones named by function (user, server, management, partner, OT, guest) make rules readable and reviews possible. |
| Policy basis | Ports and addresses; application identification; user and group identity | Application and user based rules are more precise but depend on the identification engine and on directory integration working reliably. |
| TLS inspection | None; outbound only; inbound to your own servers; both | Decide categories that are never decrypted (health, banking, pinned applications) and the legal and works council position before deployment. See the TLS Inspection Guide. |
| Management model | Per-device console; central manager; configuration as code | A central manager or code repository as the source of truth lets you detect out-of-process changes, which the CISA hardening guidance recommends. |
Small versus large organisations: a small organisation with one site usually does best with an active-passive pair at the perimeter, a handful of zones, application-based outbound rules and managed threat signatures. A large estate needs a central manager, a rule request and approval workflow, internal segmentation in waves by zone, and a dedicated team that owns signatures, decryption policy and exceptions.
The rollout at a glance
| Phase | Main outputs | Exit criteria |
|---|---|---|
| 0. Inventory and design | Design record, zone model, flow inventory, owners | Every zone has an owner and every known business flow a requester |
| 1. Management plane | Out-of-band management, AAA with MFA, admin roles, logging, configuration backup, verified software image | Management reachable only from the management network; admin actions in the SIEM |
| 2. Learn mode | Firewall inline with explicit logged rules; flow logs collected | Application and user flows mapped for an agreed period that covers month-end and batch jobs |
| 3. Default-deny | Allow list per zone pair; final deny rule logged | No broad allow rules remain; rollback rehearsed |
| 4. Inspection features | Intrusion prevention, URL filtering, TLS inspection enabled in turn | Each feature in prevent mode with a tracked exception list |
| 5. Operate | Rule review cadence, patching, metrics | First quarterly rule review completed; patch process tested |
Phase 0: inventory and design
- Map what crosses each boundary. Use existing flow records, router logs, the CMDB and application owners to list flows between zones and to the internet. Record source, destination, application, port and the business owner.
- Define zones and trust levels. Put management interfaces of all network devices in their own zone. Keep partner, guest and OT connections in separate zones with their own rules.
- Agree the rule standard. Every rule has a named owner, a business reason, a ticket reference, an expiry or review date and logging on. The Firewall Rule Request Template gives a usable format.
- Plan remote access. If the NGFW will also terminate remote access VPN, plan it as its own workstream with the ZTNA and remote access VPN rollout playbook, because VPN portals are among the most attacked interfaces on the internet.
Phase 1: the management plane before production traffic
The joint guidance Enhanced Visibility and Hardening Guidance for Communications Infrastructure (CISA, NSA, FBI and partner agencies, December 2024) gives a practical baseline for network devices. Apply it before cut-in:
- Out-of-band management: manage the firewall only from a separate management network and dedicated administrative workstations, never from the internet. For US federal civilian agencies, CISA BOD 23-02 requires internet-exposed management interfaces of firewalls and similar devices to be removed from the internet or put behind a zero trust policy enforcement point within 14 days of discovery; it is a sound benchmark for everyone.
- Authentication: central AAA with phishing-resistant MFA for daily administration, role-based access with least privilege, and local accounts only for emergencies, with the password changed after each use. Change every default password before first connection.
- Services: disable Telnet, HTTP management, SNMP v1 and v2c and other unused services; use SSH v2, TLS 1.3 where supported and SNMPv3 with authentication and encryption.
- Software integrity: verify the image hash against the vendor's published value from an authenticated source before installing, and subscribe to the vendor's security advisories.
- Logging: send system, configuration, traffic and threat logs to the SIEM over an encrypted channel, with off-device copies that cannot be altered. The VPN and Firewall Log Detection Guide covers what to alert on.
- Configuration source of truth: store approved configurations centrally, back them up off the device, and alert on any change made outside change management.
Phases 2 and 3: from learn mode to default-deny
- Cut in with explicit rules: bring the firewall inline with rules that reproduce today's allowed traffic as closely as you know it, plus a temporary, logged broad rule above the final deny so unknown flows are visible rather than broken. Give the temporary rule an expiry date in its name.
- Learn: collect logs for a period that covers business cycles. NHI Mgmt Group suggests at least four weeks for internal segmentation, longer if quarterly jobs cross the boundary.
- Build the allow list: convert observed, owner-confirmed flows into application-based rules scoped to the narrowest source and destination. Flows nobody claims are candidates for denial, not for a new rule.
- Tighten in waves: remove the broad rule one zone pair at a time, starting with low-risk pairs, and watch final-deny hits and help desk tickets.
- Rollback: keep the previous rule set as a named configuration version so a zone pair can be reverted in one commit, and have a tested physical or routing bypass for a hardware failure during cut-in.
Phase 4: inspection features one at a time
| Feature | Start in | Typical breakage | Move to enforce when |
|---|---|---|---|
| Application identification | Logging application names on existing rules | Unknown or misidentified internal applications | Top internal applications are identified or have custom signatures |
| User identity mapping | Logging user names on traffic | Stale mappings on shared hosts and terminal servers | Mapping coverage is high enough to base rules on groups |
| Intrusion prevention | Alert only on a vendor-recommended profile | False positives on bespoke protocols and old servers | High-severity signatures tuned; exceptions have owners and expiry |
| URL and DNS filtering | Alert on blocked categories | Business sites in unexpected categories | Recategorisation process and exception workflow exist |
| TLS inspection | Small pilot group, outbound only | Certificate pinning, mutual TLS clients, privacy-sensitive categories | Bypass list agreed; inspection certificate trusted on managed devices only |
Where identity fits
An NGFW is an identity-rich device. Its own credentials are a frequent route into networks, as the SonicWall SSL VPN account compromises (2025) showed when valid credentials opened more than a hundred VPN accounts; in a separate wave earlier that year, the vendor linked attacks to customers keeping old local passwords after firewall migrations. A new deployment is the cheapest moment to get these identities right.
- Admin accounts: named, centrally authenticated, MFA-protected, reviewed quarterly. No shared admin login for daily use. See the Securing the next-generation firewall (NGFW) itself guide.
- User mapping service accounts: directory read accounts used to map users to addresses should have read-only rights, no interactive logon and a rotated password or certificate. They are a favourite target because they often hold more directory rights than needed.
- API keys and orchestration identities: keys used by SIEM, SOAR and automation tools need scoped roles (read-only where possible), an owner and rotation. See the Next-generation firewall (NGFW) integration security guide.
- Secrets in the configuration: VPN pre-shared keys, RADIUS and TACACS+ shared secrets and TLS inspection private keys sit in the configuration and its backups. Protect backups as secrets and prefer certificate authentication over pre-shared keys.
Detection and measurement
| Signal | Why it matters | Response |
|---|---|---|
| Configuration change outside a change record | Possible compromise or unmanaged change | Compare with the source of truth; restore and investigate |
| Management login from outside the management network | Management plane exposure | Block and review access paths |
| Admin or VPN logins with valid credentials from unusual locations | Valid account abuse (ATT&CK T1078) or external remote service abuse (T1133) | Force reset, check MFA, review sessions |
| New local account or API key | Persistence on the device | Verify with owner; remove if unexplained |
| Hits on the temporary broad rule after its expiry | Default-deny not complete | Escalate to zone owner |
Metrics that show the rollout is working:
- Percentage of zone pairs on default-deny with no broad allow rules.
- Percentage of rules with an owner, a ticket reference and a review date in the last 12 months.
- Percentage of traffic matched by application-based rather than port-only rules.
- Intrusion prevention profiles in prevent mode, and the number of open exceptions past expiry.
- Days from a critical vendor advisory to the patch being applied, against the target in your patch policy.
- Management sessions originating outside the management network (target zero).
Common failure patterns
- The permanent allow-any: the temporary broad rule from cut-in is never removed, so the NGFW logs traffic but enforces nothing.
- Management on the internet: admin or VPN portals exposed and unpatched, turning the security device into the entry point. The Edge Device Security Guide covers why these interfaces are targeted.
- Prevention never switched on: intrusion prevention left in alert mode because no one owned the tuning.
- Over-privileged directory account: the user mapping account is a domain administrator "to make it work".
- Configuration backups in plain sight: backups holding secrets stored on file shares or in a vendor cloud with weak access.
- Local passwords carried over: local accounts and passwords imported from older devices without reset.
Framework mapping
| Rollout element | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 | Other |
|---|---|---|---|
| Zones and boundary filtering | SC-7, AC-4 | PR.IR-01 | NIST SP 800-41 Rev. 1 |
| Default-deny allow lists | SC-7(5) | PR.IR-01 | Firewall Rule Review Checklist |
| Configuration baseline and change control | CM-2, CM-3, CM-6, CM-7 | PR.PS-01 | CISA joint hardening guidance (2024) |
| Admin authentication and roles | AC-6, IA-2, IA-5, AC-17 | PR.AA-01, PR.AA-05 | CISA BOD 23-02 (federal) |
| Logging and monitoring | AU-2, AU-6, SI-4 | DE.CM-01, PR.PS-04 | ATT&CK T1078, T1133 |
| Patching the device | SI-2 | PR.PS-02 | Edge device end of life planning |
Practitioner checklist
- Approve a design record covering placement, availability, zones, policy basis, TLS inspection scope and management model.
- Build out-of-band management, central AAA with phishing-resistant MFA and admin roles before production traffic.
- Verify the software image hash and disable insecure management services before first connection.
- Send all firewall logs to the SIEM and keep tamper-resistant copies off the device.
- Cut in with explicit logged rules and a temporary broad rule that has an expiry date.
- Convert owner-confirmed flows into application-based rules and move each zone pair to default-deny.
- Enable intrusion prevention, URL filtering and TLS inspection one at a time, each with an exception register.
- Give user mapping and API identities read-only, scoped rights and rotate their credentials.
- Protect configuration backups as secrets and reset any carried-over local passwords.
- Schedule quarterly rule reviews and track the metrics above from the first month.
Standards and references
- NIST: SP 800-41 Rev. 1, Guidelines on Firewalls and Firewall Policy
- CISA, NSA, FBI and partners: Enhanced Visibility and Hardening Guidance for Communications Infrastructure
- CISA: Binding Operational Directive 23-02, Mitigating the Risk from Internet-Exposed Management Interfaces
- NIST: SP 800-53 Rev. 5, Security and Privacy Controls
- NIST: Cybersecurity Framework 2.0
- MITRE ATT&CK: T1133 External Remote Services
- MITRE ATT&CK: T1078 Valid Accounts
Related NHI Mgmt Group resources: Firewall Management Guide · Securing the next-generation firewall (NGFW) itself · Next-generation firewall (NGFW) day-2 operations runbook · Firewall Rule Review Checklist · If your next-generation firewall (NGFW) is compromised