Secure Network Best Practices Library · Firewalls and VPN

Palo Alto Networks NGFW security operations guide

Palo Alto Networks firewalls control traffic by application and user as well as by address and port, and inspect it with security profiles. Those features only help when rules are written to use them. This guide covers how to run a PAN-OS firewall as a security control: rule hygiene, profiles on every allow rule, logging, management access, updates and safe changes.

Prefer to have it done for you? IT Perfection provides managed firewall and VPN services for companies in Irvine, Orange County and Los Angeles County.

Ali Hassani, CISSP and Certified CISO, IT PerfectionWritten by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026

Two IT consultants reviewing a tablet in a server room aisle
1 · BaselineThe running configuration and rule usage are exported and read.

Secure Network Best Practices Library › Firewalls and VPN › Palo Alto Networks NGFW operations

What it isA Palo Alto Networks next-generation firewall runs PAN-OS. It identifies applications (App-ID), maps traffic to users (User-ID) and inspects content with security profiles for threats, malicious sites and files.
Where it livesAt the internet edge and between internal zones
Works onPAN-OS firewalls, physical and virtual, managed locally or with Panorama
Cost and timeSubscriptions for threat prevention, URL filtering and other services. Confirm with the vendor
Risk if missingUsed as a port filterWithout application rules and profiles the platform does little more than a basic firewall

Why it matters

Run the firewall as a security control, not just a router

Many Palo Alto Networks firewalls were migrated from an older product by converting the old rules one for one. The result works, and it is a port-based rule set running on an application-aware platform: rules that allow any application on a port, with no security profiles attached.

The gap between what the platform can do and what it is doing is found in a few places. Rules name ports but not applications. Allow rules have no profiles, so permitted traffic is not inspected. Logging is on for some rules and off for others. Content updates are behind. Management is reachable from more places than it should be.

Closing that gap is ordinary operational work, done steadily. The sections below follow the order we use.

Operating areas

Six areas of security operations

AreaStandardWhy
Rule base hygieneRules named and described; no any-any; unused rules disabled then removed; port-based rules converted to application-based where practicalThe rule base is the policy. See rule base design and clean-up
App-ID and User-IDRules name applications; user or group used where it adds control; application-default used for the serviceStops an allowed port carrying something else.
Security profilesA profile group on every allow rule: antivirus, anti-spyware, vulnerability protection, URL filtering, file blocking and WildFire analysis as licensedAllowed traffic is inspected.
Logging and alertingLog at session end on every rule; logs forwarded off the firewall; alerts for critical threats and configuration changesEvidence and awareness.
Management accessManagement interface on the management network; permitted addresses set; named administrators with roles and a second factorSee management interface lockdown
Updates and high availabilityPAN-OS on a supported, preferred release; content updates scheduled; the pair testedProtection is current and survives a failure.

Before you start

Minimum operating evidence

  • An export of the running configuration. Stored safely; it is the rollback.
  • Rule usage data. Hit counts and last-hit dates, and the applications each rule has seen.
  • The licence and subscription status. And the dates of the last content updates.
  • The list of administrators, roles and API keys. Including any used by tools.
  • Where logs go and how long they are kept. On the firewall, Panorama, the vendor logging service or your own platform.
  • The change procedure. Who reviews, when commits happen, how a change is reverted.

Step by step

A security operations review in seven steps

  1. Export the current baseline

    Configuration, rule usage, subscription status.

  2. Review zones and critical paths

    Confirm which zones exist and which rules carry traffic to servers, from the internet and from VPN users.

  3. Clean up the security policy

    Disable unused rules. For port-based rules, use the applications the firewall has observed on each rule to write application-based replacements above them, then retire the originals. PAN-OS includes a policy optimisation view for this.

  4. Validate inspection and logging

    Attach a security profile group to every allow rule. Confirm logging at session end and log forwarding.

  5. Review administrator and API access

    Named accounts, roles, permitted addresses, second factor; remove unused API keys.

  6. Plan safe changes

    Preview and validate before commit, commit in windows, and keep a named configuration snapshot before each session.

  7. Report risk and improvements

    A short list of what was changed, what remains and why.

Start strict profiles in alert mode where you are unsure. A vulnerability or anti-spyware profile set to block can stop a business application that behaves unusually. Run it in alert for a short period, read the threat log, then move to block. Do not leave it in alert.

Recommended values

The settings at a glance

SettingRecommended valueWhy
RulesApplication-based with application-default service where practicalAn allowed port cannot carry another application.
ProfilesA group on every allow ruleNo uninspected allowed traffic.
Default rulesLogging enabled on the interzone default denyDenied traffic is visible.
Log settingLog at session end; forwarding profile on every ruleComplete records.
ManagementDedicated interface, permitted addresses, no management services on data interfaces facing the internetNot reachable by strangers.
AdministratorsNamed, role-based, second factorAttributable and limited.
Content updatesScheduled, frequentSignatures are current.
PAN-OSA supported release recommended by the vendor; advisories followedFixes applied.
Configuration snapshotSaved and exported before each change sessionRollback.

Check that it works

Confirm the firewall is operating as intended

  • No allow rule is without a profile group. Filter the rule base for rules with no profile.
  • The threat log shows blocked events. And the traffic log shows entries for every rule in use.
  • Content updates installed within the expected interval. Check the dates.
  • Management does not answer from the internet or from user networks. Test.
  • The number of port-based rules is going down. Track it at each review.
  • A reverted test change worked. Load the snapshot in a window to prove the rollback.

Common risks

Common Palo Alto NGFW operations risks

RiskWhat happensFix
Rules are too broadAny application on any port is allowedApplication-based rules.
Allowed traffic lacks profilesThreats pass in permitted sessionsProfile group on every allow rule.
Logging is inconsistentGaps in the evidenceLog setting on every rule; forward logs.
Updates are staleNew threats are not recognisedSchedule content updates; plan PAN-OS upgrades.
Administrator access is over-privilegedEveryone is a superuserRoles by responsibility.
Changes lack rollbackA bad commit takes time to undoSnapshot before each session.

Sources read Nov 22, 2026: Palo Alto Networks, PAN-OS documentation; Palo Alto Networks, best practices documentation.

Have us do it

Prefer to hand this off?

We review and operate Palo Alto Networks firewalls for clients who have them, as part of our managed firewall and VPN services: rule clean-up toward application-based policy, profiles on every allow rule, logging, administrator access, updates and a change routine with rollback. You receive a written scope and a written quote before any work starts.

Ali Hassani, CISSP and Certified CISO, IT Perfection

Who does the work

Written by Ali Hassani, CISSP, C|CISO

Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.

This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.

ISC2 CISSP badgeEC-Council Certified CISO (C|CISO) badgeCisco CCNP Routing and Switching badgeMCSE: Server Infrastructure badgeMicrosoft MCSE badgeMCSA: Security badgeCisco CCNA Cybersecurity badgeMCITP badge

FAQ

Palo Alto Networks firewalls: common questions

What is App-ID?

It is the feature of PAN-OS that identifies the application in a session regardless of the port it uses, so rules can allow or deny by application.

What are security profiles on a Palo Alto firewall?

Inspection settings attached to allow rules: antivirus, anti-spyware, vulnerability protection, URL filtering, file blocking and WildFire analysis. A rule without profiles allows traffic without inspecting it.

Should every rule have a security profile?

Every allow rule should. Grouping the profiles and attaching the group keeps this consistent.

How often should content updates be installed?

On a frequent automatic schedule, so that threat and application signatures stay current. PAN-OS software upgrades are planned separately, to a supported release.

Is it worth converting port-based rules to application-based rules?

Yes, steadily. It is the main benefit of the platform. Use the applications the firewall has already observed on each rule as the starting point.

Can IT Perfection do this for us?

Yes. It is part of our managed firewall and VPN services for companies in Irvine, Orange County and Los Angeles County. Call 949-777-5567 or use the contact page to request a quote.

Need this done for your business?

IT Perfection plans, installs and supports this for companies in Irvine and Orange County

The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.

Network design and installation

Firewall, switches, VLANs and Wi-Fi planned, installed and documented.

View service

Firewall installation

New or replacement firewalls with clean rules and VPN with MFA.

View service

Network troubleshooting

Slow network, drops, Wi-Fi, VPN, DNS and DHCP problems traced and fixed.

View service