TechNetBuddy

PAN-OS · FOUNDATIONS Lab 293

PAN-OS-style: zones, a rule and your first commit

A PAN-OS-style firewall keeps two configurations. Your changes go into the candidate, and the firewall keeps running the old one until you commit. Traffic moves between zones, so an interface does nothing until it has an address, a zone and a virtual router. Select FW1 and press Open Web Interface, or type: the console takes the same lines.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 5 objectives
PAN-OS · APP-ID Lab 294

PAN-OS-style: rules by application

Rule OUT allows everything. Replace it with rules that name applications. App-ID reads a packet to name its application, and service application-default adds a second check: the application must be on its usual port. So web browsing on port 8080 is not the same as web browsing on port 80. On PC1, the command traffic sends one packet with the text you give it.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 4 objectives
PAN-OS · NAT Lab 295

PAN-OS-style: publish a server, and the pre-NAT rule

Publish SRV as 203.0.113.10. PAN-OS has a rule that catches almost everyone: a security rule names the address before NAT and the zone after NAT. The NAT rule goes from untrust to untrust, because before NAT the public address is out there. The security rule goes from untrust to dmz, because that is where the packet really goes, but it still names the public address.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 4 objectives
PAN-OS · THREAT Lab 296

PAN-OS-style: security profiles on an allow rule

A rule that allows web-browsing allows an attack inside web-browsing, and any site. Security profiles read what an allow rule lets through. A vulnerability profile looks for known attacks, and a URL filtering profile looks at where a request is going. A profile does nothing until a rule uses it.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 4 objectives
PAN-OS · TROUBLESHOOTING Lab 297

Troubleshoot PAN-OS: the server is unreachable, and the rule looks right

Someone published SRV and went home. LAP1 can’t reach it, and PC1 has lost the internet too. There are three faults: a rule written the way it looks right, a block above a good rule, and a change that was never committed.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 4 objectives
PAN-OS · VPN Lab 298

PAN-OS-style: a route-based IPsec tunnel

On an ASA, a crypto access list picks what goes in a tunnel. Here a tunnel is an interface. Traffic goes through it because a route says so, and the interface sits in a zone, so a security rule has to allow traffic into and out of that zone. There are two things to forget, and each fails differently.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 5 objectives
PAN-OS · VPN Lab 299

PAN-OS-style: GlobalProtect remote access

alice works from home on LAP1. PC1 is only reachable inside. GlobalProtect gives her an address from a pool, and puts her in a zone of her own through a tunnel interface, so the rules decide what she can reach. The client is stood in for: no software is installed.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 4 objectives
PAN-OS · HIGH AVAILABILITY Lab 300

PAN-OS-style: an active/passive pair

F1 is working. F2 is new and empty, cabled beside it, with a direct cable between the two ethernet1/4 ports. Make them a pair. The passive unit copies the active unit’s configuration, and keeps its links quiet. The addresses move with the role, so PC1’s gateway never changes.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Cisco switches · 5 objectives
PAN-OS · TROUBLESHOOTING Lab 301

Troubleshoot PAN-OS: a pair that never forms

F1 is working, with high availability configured. F2 was set up beside it, with a direct cable between the two ethernet1/4 ports, but F1 still says its peer is not connected. There are three faults on F2, and show high-availability state names one at a time.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Cisco switches · 5 objectives
PAN-OS · HIGH AVAILABILITY Lab 302

PAN-OS-style: test a failover, and give the role back

F1 and F2 are a working active/passive pair. Before you trust a pair, test it: move the role to F2 on purpose, check that traffic still flows, and move it back. A suspended unit can’t take the role, so it must be made functional first.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Cisco switches · 5 objectives
PAN-OS · TROUBLESHOOTING Lab 303

Troubleshoot PAN-OS: a tunnel that carries nothing

The tunnel between the sites was built in a hurry. PCA can’t reach PCB. There are three faults, each with a different symptom: one sends the traffic the wrong way, one stops it at a rule, and one stops the tunnel coming up.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router · 4 objectives
PAN-OS · CAPSTONE Lab 304

PAN-OS-style capstone: HQ pair, DMZ, branch tunnel and remote users

Build a company’s whole edge on three empty firewalls. HQ is an active/passive pair (HQ1, HQ2) with an inside and a DMZ with the web server SRV. The branch firewall BR joins its LAN to HQ over a route-based tunnel. alice works from home on LAP1 with GlobalProtect. R1 is the internet, with 198.18.0.1 behind it.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Cisco switches · 6 objectives
PAN-OS · MANAGER Lab 305

PAN-OS-style: connect a firewall to its manager

A manager runs many firewalls from one place. Before anything else, the two must find each other over the management network: MGR1 and F1’s mgt port are both on switch SWM. Each side says who the other is, and each side commits, because both have a candidate.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Buddy Policy Manager · 4 objectives
PAN-OS · MANAGER Lab 306

PAN-OS-style: a template, a device group and your first push

F1 is connected and empty. Build its network in a template and its policy in a device group. There are two steps now: commit saves on the manager, and push sends what is committed to the firewalls. Until you push, F1 knows nothing about it.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Buddy Policy Manager · 5 objectives
PAN-OS · MANAGER Lab 307

PAN-OS-style: pre-rules, local rules and post-rules

Head office writes rules that a site can’t get around: pre-rules. It also writes a catch-all that the site’s own rules come before: post-rules. In between sit the firewall’s local rules. F1 already has a pushed rule OUT that allows everything, and the site wants to allow one thing of its own.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Buddy Policy Manager · 4 objectives
PAN-OS · MANAGER Lab 308

PAN-OS-style: one policy, two firewalls, two templates

Two branches share a policy but not addresses. So they share one device group, and each has its own template. Shared holds what every device group gets. Change one rule on the manager, push once, and both firewalls have it.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Buddy Policy Manager · 4 objectives
PAN-OS · TROUBLESHOOTING Lab 309

Troubleshoot the manager: it looks pushed, and it isn’t

Someone configured the manager and went home. PC1 can’t reach anything. There are three faults: a local rule hiding what head office intended, a change committed on the manager and never pushed, and a change that was never committed there at all.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Buddy Policy Manager · 4 objectives
PAN-OS · MANAGER Lab 310

PAN-OS-style: two managers as a high-availability pair

A manager that is down stops every push. Two managers can work as an active/passive pair: only the active one pushes, and the passive one holds a copy of the running configuration. Each manager names the other as its peer, one is primary and the other secondary, and each firewall names both. MGR1 (10.0.0.5) already manages F1. MGR2 is new: it has no address yet.

Palo Alto PAN-OS-style · Palo Alto PAN-OS-style, Cisco router, Buddy Policy Manager · 5 objectives