Firewall Rule Cleanup for IT and OT Networks

Legacy firewall rule bases reveal a lot about a network, but rarely reflect a clean zone model. In hybrid IT/OT environments, simply deleting rules is not enough: rules must be understood, prioritised and reconciled against real communication requirements, DMZ boundaries and operational constraints.

FortiGate Analysis Policy Cleanup IT / OT Hybrid DMZ & Conduits IEC 62443 NIS2 Communication Matrix Brownfield Rule Base Firewall Migration

Why deleting rules is not enough

Firewall rule cleanup in an IT/OT environment is not a cosmetic exercise. Legacy permits, any-rules, management exceptions, DMZ shortcuts and unclear object groups are direct indicators of where segmentation has eroded in practice. Just deleting risks outages. Tracing rules back to zones, legitimate flows and operational ownership creates maintainable boundaries that last.

  • Understand first, then reduce: Policy hits, object references and zone context determine the cleanup.
  • Hybrid, not siloed: IT, DMZ, admin and OT paths must be reviewed together, not split by team.
1

Extract configuration

The first step reads the existing setup: interfaces, zones, policies, objects and obvious gaps. The result is not yet a target design, but a reliable fact base that brings IT, OT and security onto the same page.

  • Zones, interfaces and unzoned boundaries become visible
  • Broad objects and management exceptions surface as structural issues
  • Inventory knowledge from the config instead of PDFs or change tickets
2

Prioritise findings

Not every legacy issue is equally critical. In step 2, any-rules, broad management permits, missing inspection and hard IT/OT exceptions are ranked by risk and feasibility. Below you can see a parser output from a sample FortiGate configuration.

19 findings from a FortiGate configuration

Simplified sample view based on an imported FortiGate rule base and the parser logic of the Segmentation Toolbox. Click a finding for details, affected rules or the recommended action.

13
Policies
19
Findings
5
Zones
8
Interfaces
1
Critical
4
High
Findings by severity

Policy, hardening, VPN and architecture topics in one review.

Affected rules

Sample rules with typical cleanup actions.

No finding selected. The table shows the key rule candidates from the sample rule base.
3

Derive target communication

Cleanup without a target design ends in exceptions again. In step 3, a reduced target rule set emerges from the zone model and communication matrix. Conduits document the permitted boundaries between IT, DMZ and OT.

  • Define IT, DMZ and OT boundaries as explicit conduits
  • Restrict admin access to jump hosts, session controls and approved targets
  • Communication matrix as the authoritative reference for the new rule set

From analysis to implementation

The analysis delivers the fact base and prioritisation. Four implementation building blocks then bring target design, piloting and operating model together.

1
Align matrix and target zones

The analysis is turned into an approvable target design with zones, conduits and documented target flows for IT, DMZ, admin and OT.

2
Plan pilot rules in waves

Instead of a risky big bang, high-impact rules are bundled into pilot packages — with maintenance windows and fallback paths.

3
Decommission legacy rules in a controlled way

Legacy exceptions, broad objects and unresolved permits are not blindly deleted but cleanly migrated or deliberately removed.

4
Anchor review and ownership

Logging, responsibilities and recurring reviews ensure the new rule set does not erode again immediately after cleanup.

What good firewall cleanup looks like

  • Beyond delete candidates: The analysis also covers management access, DMZ boundaries and OT services that appear legitimate at first glance.
  • Rules tied back to zones: Firewall rules are verified against a target design with zones and conduits.
  • Inventory stays visible: Legacy exceptions, object groups and hybrid paths are not ignored but deliberately migrated or decommissioned.
  • Review-ready operations: Logging, responsibilities and regular reviews prevent the rule base from growing uncontrolled again.

Analyse and clean up your firewall rule base

We show you which rules in your environment are critical, how a clean target rule set is derived and how cleanup across IT, DMZ and OT can be prioritised without flying blind.

Get in touch View Segmentation Toolbox and Matrix →

Frequently asked questions about firewall rule cleanup in IT/OT environments


No. In IT and OT networks, rules often represent real operational needs, workarounds or missing zones. Without communication and zone context, a seemingly unnecessary entry can be business- or production-critical.

The example shown uses the existing FortiGate configuration analysis. Methodically, the approach applies to other vendors as well: understand the rule base, derive zones, document communication requirements and develop the target rule set from there.

Through prioritisation and waves: critical any-rules first, accompanied by logging, piloting, maintenance windows and sign-off by IT, OT and service owners. Cleanup is not a one-off sprint but a managed transformation.

Cleanup reduces and organises the existing rule base. Redesign defines the target system. In brownfield projects you usually need both: first understand and untangle the existing rules, then establish a target rule set with zones and conduits.

IEC 62443 provides the principle: zones and conduits instead of uncontrolled lateral communication. The DMZ is a central boundary. Firewall rule cleanup is the operational step to make this architecture enforceable in a hybrid IT/OT environment.

Firewall rules control traffic between zones. VLANs and switch ACLs define which devices belong to a zone and what is permitted at Layer 2. Both go together: the firewall analysis reveals which zones actually exist. From there it becomes clear where VLANs are missing, poorly scoped or where ACLs on the switch need to follow.

NIS2 Art. 21(2) requires documented network security measures and regular effectiveness assessments. A firewall rule base with hundreds of undocumented legacy entries meets neither requirement. From the ten-measure catalogue (Section 30(2) BSIG), a cleanup directly covers four items: risk analysis (no. 1), effectiveness assessment (no. 6), cryptography (no. 8) and access control (no. 9). Cleanup provides the auditable foundation: documented zones, justified rules and a review process an auditor can verify.

Through a defined rule lifecycle: every new rule needs a request path, a responsible owner, a documented justification and an expiry date or review schedule. Regular audits verify whether rules still correspond to an active communication requirement. Especially for exceptions, the network or security team alone cannot decide whether a rule is still needed, because that requires process knowledge from operations. Without ownership and process, every rule base grows back to the same state within a few years.