Study guide

11.4 OCI Network Firewall: Policies, Inspection Routing, Tunnel Inspection & Private NAT

OCI 2026 Architect Professional 1Z0-997-26

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Exam Overview & Architecture Foundations

1.1 Exam Logistics, the 2026 Blueprint & How to Use This Guide 1.2 The OCI Well-Architected Framework & Architectural Tradeoffs

2 Chapter 2: High Availability & Resilient Design

2.1 Availability Domains, Fault Domains, Instance Pools & Load Balancers 2.2 OCI DNS Traffic Steering, Geolocation & Health Checks 2.3 Block Volume Replication, Volume Groups & Backup Policies 2.4 Object Storage Replication, Versioning & Retention Rules (WORM)

3 Chapter 3: Full Stack Disaster Recovery

3.1 Full Stack Disaster Recovery: Protection Groups, Members & Permissions 3.2 DR Plans: Switchover, Failover, Prechecks & Plan Execution 3.3 DR Drills, Plan Customization & Operational Readiness

4 Chapter 4: Container Instances, OCIR & OCI DevOps

4.1 Containerization, Microservices & OCI Container Instances 4.2 OCI Container Registry: Repositories, Push & Pull, and Image Management 4.3 OCI DevOps: Code Repositories, Build Pipelines & Deployment Strategies

5 Chapter 5: OCI Kubernetes Engine (OKE)

5.1 OKE Cluster Types, Node Options & Cluster Creation 5.2 OKE Networking: VCN-Native Pod Networking vs. Flannel, Subnet Sizing & Load Balancers 5.3 OKE Workload Identity, Secrets & Persistent Storage

6 Chapter 6: Serverless Functions & API Gateway

6.1 OCI Functions: Concepts, Invocation Modes, Integrations & Image Security 6.2 API Gateway: Authentication, JWT Validation, Rate Limiting & Usage Plans

7 Chapter 7: Messaging & Event-Driven Design

7.1 OCI Streaming, OCI Queue & Messaging Patterns for Microservices 7.2 OCI Events, Event Rules & OCI Notifications Fan-Out

8 Chapter 8: Infrastructure as Code with Terraform & Resource Manager

8.1 Infrastructure as Code with Terraform and the OCI Provider 8.2 OCI Resource Manager: Stacks, Jobs, Drift Detection & Private Endpoints

9 Chapter 9: Identity & Multi-Tenancy Governance

9.1 IAM Policy Design: Verbs, Conditions, Dynamic Groups & Principals 9.2 Organizations Management, Governance Rules & Compartment Quotas

10 Chapter 10: Security Posture with Cloud Guard & Security Zones

10.1 Cloud Guard: Detector Recipes, Problems, Scores & Responders 10.2 Security Zones & Vulnerability Scanning

11 Chapter 11: Secure Access & Network Protection

11.1 Layered Network Security: Security Lists, NSGs & Private Access to Services 11.2 OCI Bastion: Managed SSH, Port Forwarding & SOCKS5 Sessions 11.3 Zero Trust Packet Routing (ZPR): Security Attributes & Intent-Based Policy 11.4 OCI Network Firewall: Policies, Inspection Routing, Tunnel Inspection & Private NAT

12 Chapter 12: Application & Data Protection: WAF, Certificates & Vault

12.1 OCI Web Application Firewall: Policies, Modules, Actions & Enforcement Points 12.2 OCI Certificates: Private CAs, TLS Certificates, Renewal & Integrations 12.3 OCI Vault Key Management: Vault Types, Protection Modes, Dedicated KMS & External KMS 12.4 Vault Secrets: Versions, Rotation States, Automatic Generation & Rotation

13 Chapter 13: Base Database Service & Autonomous AI Database

13.1 Base Database Service: DB Systems, RAC, Data Guard, Cloning & Maintenance 13.2 Autonomous AI Database: Workload Types, Deployment Options, Services & Connectivity 13.3 Operating Autonomous AI Database: Scaling, Cloning, Backups, Patching & Self-Tuning 13.4 Autonomous Data Guard & Backup-Based Disaster Recovery for Autonomous AI Database

14 Chapter 14: Recovery Service, Global Distribution & OCI Cache

14.1 Autonomous Recovery Service: Protection Policies, Real-Time Protection & Retention Lock 14.2 Globally Distributed Autonomous AI Database: Sharding, Data Placement & Replication 14.3 OCI Cache: Valkey and Redis Clusters, Sharding, Security & Cross-Region Replication

15 Chapter 15: Monitoring, Alarms & Notifications

15.1 OCI Monitoring: Metrics, Namespaces, Custom Metrics & Monitoring Query Language 15.2 Alarms & Notifications: Trigger Rules, Absence Alarms, Split Messages, Suppression & Delivery

16 Chapter 16: Logging, Audit, Connector Hub & Search

16.1 OCI Logging: Log Groups, Service Logs, Custom Logs & the Unified Monitoring Agent 16.2 Logging Search, the Logging Query Language & OCI Audit 16.3 Connector Hub: Moving Logs, Metrics, Queue Messages & Streams Between Services 16.4 OCI Search with OpenSearch & Resource Search for Observability

11.4 OCI Network Firewall: Policies, Inspection Routing, Tunnel Inspection & Private NAT

Key Takeaways Explain This Topic AI

OCI Network Firewall is powered by Palo Alto Networks and inspects north-south and east-west traffic that you route to its private IP address.

If a firewall policy has no rules, the firewall denies all traffic, and traffic that matches no security rule is dropped.

Decryption rules are evaluated before security rules, and within each rule type the first match in priority order wins.

Tunnel inspection rules inspect VXLAN traffic mirrored by a Virtual Test Access Point and return the scanned traffic to the source tunnel endpoint.

Network Firewall NAT rules perform private, many-to-one source NAT for IPv4 only; destination NAT, static one-to-one NAT, and public NAT are not supported.

Last updated: October 2026

What the Service Provides

OCI Network Firewall is a managed firewall service powered by Palo Alto Networks . It gives visibility into traffic entering the cloud environment ( north-south ) and traffic between subnets and VCNs ( east-west ). A firewall is a highly available, scalable instance created in a subnet . You decide which traffic it inspects by pointing route tables at the firewall's private IP address.

Features documented by Oracle include:

Stateful network filtering by source and destination IP (IPv4 and IPv6), port, and protocol.

URL and FQDN filtering , including wildcards and custom URLs.

Intrusion detection and prevention (IDPS) .

SSL inspection : decryption and inspection of TLS traffic, with Encrypted Server Name Indication (ESNI) support.

Intra-VCN subnet inspection and inter-VCN inspection .

VXLAN tunnel inspection of traffic mirrored by a Virtual Test Access Point (VTAP).

NAT rules for private source NAT.

The service provides a throughput rate of 4 Gbps per firewall (Oracle's NAT guidance also references a 25 Gbps firewall option).

Placement and Availability

When you create a firewall you choose regional (the default) or availability domain-specific :

A regional firewall's instances are distributed across all availability domains in the region, which reduces the risk from an AD failure. Traffic from a client in a different AD than the firewall instance can add milliseconds of latency.

An AD-specific firewall's instances are spread across fault domains within one AD. It can cause traffic redirection when the traffic comes from a regional subnet.

You do not build active-standby pairs or failover scripts; Oracle manages the firewall's availability.

Policies and Their Components

A firewall policy holds the rules that control how a firewall inspects, allows, or denies traffic. One policy can be associated with one or more firewalls , and you need a policy to create a firewall. Policies are built from reusable components :

  • Component Purpose
  • Lists Groups of addresses, applications, services, or URLs used in rule match conditions
  • Mapped secrets Vault secrets mapped to inbound or outbound SSL keys and certificates
  • Decryption profiles Settings for session, server, and failure checks during decryption

The rule types are decryption rules , security rules , tunnel inspection rules , and NAT rules .

How Rules Are Evaluated

If a policy has no rules , the firewall denies all traffic .

Decryption rules are always applied before security rules.

Within each rule type, rules are evaluated in priority order , and the first matching rule is applied; no later rules of that type are evaluated.

If a packet matches no decryption rule , it is not decrypted. If it matches no security rule , it is dropped .

A new rule becomes first in the priority list by default, and you can reorder rules at any time.

An empty match list in a security rule matches any value.

Security Rule Actions

  • Action Result
  • Allow Traffic proceeds
  • Drop Traffic is silently dropped
  • Reject Traffic is dropped and a reset is sent
  • Intrusion detection Traffic is logged
  • Intrusion prevention Traffic is blocked

To use intrusion detection and prevention, you must enable logging for the firewall. A policy can hold up to 10,000 security rules .

SSL Inspection With Vault

Decryption rules can decrypt with SSL forward proxy (outbound traffic from your clients to external servers), decrypt with SSL inbound inspection (traffic to your own servers), or not decrypt . Decryption uses mapped secrets : certificates and keys stored as secrets in OCI Vault and mapped into the policy, so private keys are not pasted into the firewall configuration. A policy can have up to 300 mapped secrets but only one SSL forward proxy mapped secret . Decryption profiles control checks such as blocking sessions when a certificate status check times out.

Tunnel Inspection

Tunnel inspection rules inspect traffic mirrored to the firewall by the Virtual Test Access Point (VTAP) service. Mirrored traffic arrives encapsulated in VXLAN . When a rule matches, the firewall applies a fixed Palo Alto Networks tunnel inspection profile named VXLAN , which returns the scanned packets to the originating VXLAN tunnel endpoint (VTEP). This lets you inspect a copy of traffic, for example from a sensitive subnet, without placing the firewall inline. A policy can hold up to 500 tunnel inspection rules.

Private NAT With NAT Rules

NAT rules perform many-to-one source NAT (SNAT) on traffic that matches the rule, replacing internal source addresses with addresses from a pool allocated from the firewall's subnet . Key constraints:

Private NAT only ; public NAT is not supported.

Source NAT only ; destination NAT is not supported.

Dynamic many-to-one NAT/PAT is supported; static one-to-one NAT is not.

IPv4 only .

The firewall subnet needs spare IPs: at least 4 for a 4 Gbps firewall and 5 for a 25 Gbps firewall.

NAT rules are applied after decryption, security, and tunnel inspection rules.

In the Console, NAT is enabled automatically when you associate a policy with NAT rules; with the CLI or API you must enable it explicitly. While the attached policy contains NAT rules, NAT cannot be turned off.

A common use is hiding overlapping or internal address ranges when traffic leaves for a partner network.

Routing Traffic Through the Firewall

The firewall only inspects traffic that route tables send to it. Oracle's documented patterns:

Scenario Routing

On-premises to a VCN The DRG's route table sends traffic to the firewall's private IP; the firewall subnet routes onward to the private subnet, and the private subnet routes return traffic back to the firewall

Internet to a VCN An internet gateway route table sends traffic for the VCN to the firewall; the public subnet's route table sends return traffic (0.0.0.0/0) to the firewall; the firewall subnet routes 0.0.0.0/0 to the internet gateway

Between subnets Each subnet's route table sends traffic for the other subnet to the firewall

In a hub-and-spoke design, the firewall sits in a hub VCN, spokes attach to a DRG, and DRG route tables send spoke-to-spoke and spoke-to-internet traffic through the hub's firewall.

Symmetric Routing

The firewall is stateful . It must see both directions of a connection. If the forward path goes through the firewall but the return path bypasses it, the firewall cannot match the return packets to a session and the connection fails. Every route table on the path, in both directions, must send the traffic through the same firewall.

Network Firewall vs. Other Controls

  • Control Layer Strength
  • Security lists and NSGs L3/L4 Simple, distributed, no extra cost
  • ZPR L4, attribute-based Intent-based segmentation inside OCI
  • Network Firewall L3 to L7 IDPS, URL filtering, TLS inspection, tunnel inspection
  • WAF L7 HTTP OWASP protections in front of web applications

Loading diagram... Hub VCN Firewall With Symmetric Routing