Planning guide · Firewall migrations

What to plan before a firewall migration

Most firewall migration problems are planning problems: a rule nobody knew was in use, a NAT dependency that was never written down, or a cutover with no agreed point at which to roll back. This guide sets out what to prepare before the change window, whichever platforms you are moving between.

Download CSV worksheet

Firewall migration phases with a rollback trigger Conceptual migration sequence; phase boundaries depend on the environment. Five phases in order: 1, discover current behavior and dependencies; 2, map policy, NAT and routing; 3, build the target, staged and tested; 4, cut over in a planned window; 5, validate and hand over with tests, evidence and runbooks. From the cut over phase, a rollback trigger branches back to the build target phase, returning to the known-good state if the cutover does not meet its criteria. A dashed loop from the last phase back to the first notes that phases may loop as dependencies surface. PHASES MAY LOOP AS DEPENDENCIES SURFACE ROLLBACK TRIGGER Return to the known-good state PHASE 01DiscoverCurrent behavior& dependencies PHASE 02Map policy,NAT & routingRules & paths PHASE 03Build targetStaged & tested PHASE 04Cut overPlanned window PHASE 05Validate &hand overTests & runbooks CONCEPTUAL Firewall migration phases with a rollback trigger Conceptual migration sequence; phase boundaries depend on the environment. Five phases in order: 1, discover current behavior and dependencies; 2, map policy, NAT and routing; 3, build the target, staged and tested; 4, cut over in a planned window; 5, validate and hand over with tests, evidence and runbooks. From the cut over phase, a rollback trigger branches back to the build target phase, returning to the known-good state if the cutover does not meet its criteria. A dashed loop from the last phase back to the first notes that phases may loop as dependencies surface. PHASES MAY LOOP AS DEPENDENCIES SURFACE ROLLBACK TRIGGER To known-good state PHASE 01DiscoverCurrent behavior & dependencies PHASE 02Map policy, NAT & routingRules, translations & paths PHASE 03Build targetStaged & tested PHASE 04Cut overPlanned window, rollback ready PHASE 05Validate & hand overTests, evidence & runbooks CONCEPTUAL

Migration stage

Interactive illustration from Firewall migrations. Conceptual — not a client network.

Inventory actual behavior

Start from what the current firewall really does, not only from what its configuration says.

A firewall configuration accumulates history. Rules are added for projects that end, objects are renamed, and temporary exceptions become permanent. Migrating that configuration line by line moves the clutter and the risk onto the new platform; cleaning it up without understanding it risks breaking something that quietly depended on it.

The goal of this phase is a factual picture of behavior: which rules carry traffic, which never match, which overlap or shadow one another, and which services depend on the firewall in ways that are not visible in the security policy at all. That picture is what later decisions — what to translate, what to tighten, what to retire — rest on.

Behavior to inventory

  • Rule usage over a representative period that includes month-end, quarter-end or other cyclical processing, using hit counts or traffic logs where the platform provides them.
  • Unused, shadowed and overly broad rules, flagged for review with their owners rather than deleted automatically.
  • NAT rules and the applications that depend on specific translated addresses, covering both inbound publishing and outbound source NAT.
  • VPN terminations: site-to-site tunnels, remote-access configuration, and the peers or user groups that rely on them.
  • Services the firewall provides beyond policy, such as DHCP relay, DNS proxy, dynamic routing, user identification, decryption and log forwarding.
  • High-availability configuration and the link or path monitoring that triggers failover.
  • Management integrations: central management, authentication sources, syslog and monitoring destinations, and any automation that pushes changes.
Conceptual illustration of two firewall appliances with a smoked-glass inspection plane between them: a blue traffic path passes through the plane and leaves as three separate routes, while a short amber path stops at the plane
Conceptual illustration Traffic crossing an inspection plane between two firewall appliances; the short amber path is a flow stopped at the boundary. Not a vendor product render.

Map policy and network dependencies

Understand how policy, NAT and routing interact before translating any of them.

Firewall migration phases with a rollback trigger Conceptual migration sequence; phase boundaries depend on the environment. Five phases in order: 1, discover current behavior and dependencies; 2, map policy, NAT and routing; 3, build the target, staged and tested; 4, cut over in a planned window; 5, validate and hand over with tests, evidence and runbooks. From the cut over phase, a rollback trigger branches back to the build target phase, returning to the known-good state if the cutover does not meet its criteria. A dashed loop from the last phase back to the first notes that phases may loop as dependencies surface. PHASES MAY LOOP AS DEPENDENCIES SURFACE ROLLBACK TRIGGER Return to the known-good state PHASE 01DiscoverCurrent behavior& dependencies PHASE 02Map policy,NAT & routingRules & paths PHASE 03Build targetStaged & tested PHASE 04Cut overPlanned window PHASE 05Validate &hand overTests & runbooks CONCEPTUAL Firewall migration phases with a rollback trigger Conceptual migration sequence; phase boundaries depend on the environment. Five phases in order: 1, discover current behavior and dependencies; 2, map policy, NAT and routing; 3, build the target, staged and tested; 4, cut over in a planned window; 5, validate and hand over with tests, evidence and runbooks. From the cut over phase, a rollback trigger branches back to the build target phase, returning to the known-good state if the cutover does not meet its criteria. A dashed loop from the last phase back to the first notes that phases may loop as dependencies surface. PHASES MAY LOOP AS DEPENDENCIES SURFACE ROLLBACK TRIGGER To known-good state PHASE 01DiscoverCurrent behavior & dependencies PHASE 02Map policy, NAT & routingRules, translations & paths PHASE 03Build targetStaged & tested PHASE 04Cut overPlanned window, rollback ready PHASE 05Validate & hand overTests, evidence & runbooks CONCEPTUAL
A conceptual migration sequence: discover current behavior; map policy, NAT and routing; build the target; cut over with a predefined rollback trigger; then validate and hand over. Illustrative — real projects often loop back between phases as new dependencies surface.

Policy translation is rarely one-to-one. Platforms differ in how they evaluate rules, how NAT interacts with security policy, and how they identify traffic. On Palo Alto Networks firewalls, for example, security policy is organized around zones and can match applications identified by App-ID rather than ports alone. That is an opportunity to tighten rules, and a risk if application identification classifies traffic differently from what a port-based rule used to allow. How any given feature behaves should be confirmed against current vendor documentation for the versions in use.

Dependencies to map before translating policy
AreaWhat to mapWhy it matters
Security policyZones, rule order, address and service objects, application-based rules, and rules that depend on user or group identity.Differences in rule evaluation and object handling can change what is allowed even when translated rules look equivalent.
NATSource NAT pools, destination NAT for published services, NAT exemptions for VPN traffic, and the order in which NAT and security policy are evaluated.Platforms differ in whether security rules reference pre-NAT or post-NAT values. On PAN-OS, rules for destination NAT are generally written against the original destination address and the post-NAT destination zone; confirm this in the documentation for your version.
RoutingStatic routes, dynamic routing adjacencies, virtual routers or VRFs, and policy-based forwarding.A firewall that participates in routing changes path selection when it is replaced, and asymmetric return paths through a stateful device cause dropped sessions.
Adjacent systemsUpstream and downstream routers, switches and load balancers, address-resolution caches, and cloud route tables that point at the firewall.Neighboring devices may hold static routes or cached addresses for the old firewall that must change at cutover.
OperationsLog forwarding, monitoring, authentication for administrators, central management and automation.Missing logs or alerts after cutover reduce the team’s ability to see and diagnose problems.

If the new firewalls will be centrally managed, decide early how shared policy, device groups and templates will be organized; those choices are easier to settle before policy is imported than after. Our overview of Panorama design and troubleshooting explains the trade-offs in that hierarchy, and the wider Palo Alto Networks consulting practice covers policy optimization and NAT design.

Assign application test owners

The network team can prove reachability; only application owners can prove the application works.

A successful ping, or a session allowed in the traffic log, does not show that an application works. Authentication flows, batch jobs, licensing callbacks, third-party integrations and monitoring all depend on specific paths that the people who run those applications know best. Naming a test owner for each critical application turns validation from guesswork into a plan, and it gives the change window a clear way to decide whether something has failed.

For each critical application, record

  • The application owner, and the person who will test during the change window.
  • The flows the firewall carries for that application: source, destination, application or port, and direction.
  • A short test script written by the owner: what to do, what a pass looks like, and how long the test takes.
  • Dependencies that cannot be tested on demand, such as scheduled jobs, with a plan to confirm them after cutover.
  • Who can declare the application failed and request a rollback.

Questions to ask application owners internally

  1. Which of your application’s connections cross this firewall, and how do you know?
  2. What does a successful test look like, and can it be completed during the change window?
  3. Are there scheduled or infrequent processes that a normal test will not exercise?
  4. Which external services does the application depend on, and do any of them allow-list our public addresses?
  5. Who should be contacted if a test fails, and will they be available during the window?

Define the cutover plan

Decide the sequence, the people and the checkpoints before the change window opens.

A cutover plan is a sequence of steps with an owner, an expected duration and a verification for each. It should be specific enough that someone other than its author could follow it, and short enough to use under pressure. Command-level detail belongs in an implementation runbook checked against the exact platform versions; the plan itself focuses on order, ownership and checkpoints.

Cutover plan elements

  • Approach: direct replacement, a parallel build with a routed cutover, or a phased migration by zone or application group.
  • Pre-change checks: target configuration loaded and peer-reviewed, licensing and content updates in place where the platform requires them, HA state confirmed, logging verified, and current configurations backed up.
  • Step sequence with owners, expected durations and a verification after each significant step.
  • Communication plan: who joins the bridge, who approves continuation at each checkpoint, and how application owners are told when to test.
  • Changes on neighboring devices: routing adjustments, address-resolution cache handling, and updates to cloud route tables or load balancers that point at the firewall.
  • Post-cutover monitoring: what to watch in the first hours, such as unexpected denies, session counts, HA status and routing adjacencies.

When you want engineering help beyond planning, our firewall migration and upgrade service covers translation, build, cutover support and validation for this kind of change.

Set rollback triggers

Agree in advance on what will cause a rollback, and confirm that rollback is actually possible.

Rollback decisions made in the middle of a change window are made by tired people under pressure. Deciding the triggers beforehand turns a judgment call into a checkpoint. Just as important is confirming that rollback is mechanically possible: the old firewalls are still cabled or reachable, their configuration is unchanged, and neighboring devices can be returned to their previous state in a known order.

Rollback triggers to define

  • A critical application fails its owner’s test and cannot be fixed within an agreed time box.
  • Routing adjacencies or HA state do not reach the expected condition.
  • Unexplained denies or NAT failures affect production flows.
  • Management access, logging or monitoring is not working, leaving the team unable to see the new environment.
  • The window reaches its defined point of no return without passing the planned checkpoints.
Point of no return
The latest time in the window at which rollback can still be completed before the window closes. Past it, the team has committed to fixing forward.
Fix forward
Resolving a problem on the new platform rather than rolling back. Sometimes the right call, but it should be a deliberate decision with an owner, not a default.
Rollback verification
Running the same application tests again after a rollback, to confirm that the original state was actually restored.

When a cutover produces behavior nobody can explain — asymmetric drops, intermittent NAT failures, sessions that work in one direction only — structured packet-path analysis is usually faster than trial and error. That evidence-led approach is the core of our advanced troubleshooting work.

Document the new environment

Leave the operations team with an environment they can understand and change safely.

A migration is the best opportunity in a firewall’s life to improve its documentation. The rule base is fresh, the dependencies have just been mapped, and the people who understand them are still engaged. Capturing that knowledge now prevents the next migration from starting with the same archaeology.

Documentation to produce

  • Updated network diagrams showing zones, interfaces, routing and HA connections.
  • A policy design summary: the zone model, rule naming and ordering conventions, and how application-based rules are used.
  • NAT records listing each translation and the application it serves.
  • A record of rules removed or tightened during the migration, with the evidence behind each decision.
  • Validation results from the cutover, including tests passed, exceptions and follow-up actions.
  • Operational runbooks for routine changes, software upgrades and HA failover testing, written for the platform versions in use.

Questions to ask before closing the project

  1. Could someone who was not on the project explain why each zone and major rule exists?
  2. Have the old firewalls been decommissioned, or is there an owner and a date for doing so?
  3. Are temporary rules created for the migration tracked and scheduled for removal?
  4. Does monitoring alert on HA failover, routing changes and log-forwarding failures?

If the firewall change is part of a broader data center project, the data center network design checklist covers the wider requirements, traffic paths and failure planning that surround it.

References

Primary sources for the protocol- and product-specific points above. Always check current vendor documentation for the exact versions in your environment.

  1. SP 800-41 Rev. 1: Guidelines on Firewalls and Firewall Policy (opens in a new tab) National Institute of Standards and Technology Covers firewall policy and a lifecycle of planning, configuration, testing, deployment and management consistent with the phases in this guide.
  2. PAN-OS documentation (opens in a new tab) Palo Alto Networks Primary source for zone-based security policy, App-ID, NAT policy evaluation and high availability; consult the documentation for the specific PAN-OS versions involved.
  3. Panorama documentation (opens in a new tab) Palo Alto Networks Primary source for device groups, templates and shared policy referenced in the central management discussion.
  4. RFC 3022: Traditional IP Network Address Translator (Traditional NAT) (opens in a new tab) RFC Editor (IETF) Background on basic NAT and port translation, including why applications and external services can depend on specific translated addresses.

More planning guides A planning checklist for data center network designPlanning connectivity between your data center and Azure All guides

Start a project

Planning a firewall replacement?

Tell us which platforms are involved and what is driving the change. We will talk through scope, dependencies and the evidence the plan should rest on.

Start a project

Established 2001 · Over 25 years of infrastructure experience