PAN OS 6.0 Admin Guide
PAN OS 6.0 Admin Guide
PAN OS 6.0 Admin Guide
Contact Information
Corporate Headquarters:
Palo Alto Networks
4401 Great America Parkway
Santa Clara, CA 95054
http://www.paloaltonetworks.com/contact/contact/
Table of Contents
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Integrate the Firewall into Your Management Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Set Up Management Access to the Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Activate Firewall Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Create the Security Perimeter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Security Perimeter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Basic Interface Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
About Network Address Translation (NAT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
About Security Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Set Up Interfaces and Zones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configure NAT Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Set Up Basic Security Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Enable Basic Threat Prevention Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Enable WildFire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Scan Traffic for Threats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Control Access to Web Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Best Practices for Completing the Firewall Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Device Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Management Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Use the Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Use the Command Line Interface (CLI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Use the XML API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Manage Firewall Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Administrative Roles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Administrative Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Create an Administrative Account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Reference: Web Interface Administrator Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Web Interface Access Privileges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Panorama Web Interface Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Certificate Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Keys and Certificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Certificate Revocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Certificate Revocation List (CRL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Open Certificate Status Protocol (OCSP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Certificate Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Set Up Verification for Certificate Revocation Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Configure an OCSP Responder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Configure Revocation Status Verification of Certificates Used for User/Device Authentication . . . . 94
Configure Revocation Status Verification of Certificates Used for SSL/TLS Decryption. . . . . . . . . . 95
Configure the Master Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Obtain Certificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Create a Self-Signed Root CA Certificate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Generate a Certificate on the Firewall. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Import a Certificate and Private Key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Obtain a Certificate from an External CA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Configure a Certificate Profile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Revoke and Renew Certificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Revoke a Certificate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Renew a Certificate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Secure Keys with a Hardware Security Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set up Connectivity with an HSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Encrypt a Master Key Using an HSM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Store Private Keys on an HSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Manage the HSM Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
107
107
112
113
115
119
119
119
121
122
123
Set Up Active/Passive HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Prerequisites for Active/Passive HA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Guidelines for Active/Passive HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configure Active/Passive HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define HA Failover Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Verify Failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
125
125
126
127
134
135
HA Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
140
140
140
142
143
Use App-Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Change Monitor Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Threat Monitor Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Threat Map Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Monitor Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Traffic Map Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
144
145
146
148
149
150
151
ii
User-ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
User-ID Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
User-ID Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Group Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
User Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Enable User-ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Map Users to Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Map IP Addresses to Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Configure User Mapping Using the Windows User-ID Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Configure User Mapping Using the PAN-OS Integrated User-ID Agent. . . . . . . . . . . . . . . . . . . . . . 214
Configure User-ID to Receive User Mappings from a Syslog Sender . . . . . . . . . . . . . . . . . . . . . . . . . 216
Map IP Addresses to User Names Using Captive Portal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Configure User Mapping for Terminal Server Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Send User Mappings to User-ID Using the XML API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Configure a Firewall to Share User Mapping Data with Other Firewalls . . . . . . . . . . . . . . . . . . . . . . 239
Enable User- and Group-Based Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Verify the User-ID Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
iii
App-ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
App-ID Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Manage Custom or Unknown Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Best Practices for Using App-ID in Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Applications with Implicit Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
About Application Level Gateways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Disable the SIP Application-level Gateway (ALG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
265
265
267
272
Decryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Decryption Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Decryption Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Keys and Certificates for Decryption Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SSL Forward Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SSL Inbound Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SSH Proxy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Decryption Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Decryption Port Mirroring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
289
289
290
291
292
293
294
iv
VPNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
VPN Deployments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
Site-to-Site VPN Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Site-to-Site VPN Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IKE Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tunnel Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tunnel Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Internet Key Exchange (IKE) for VPN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
376
376
376
377
377
381
381
383
385
388
390
390
392
392
396
401
423
423
424
425
vi
Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Firewall Deployments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Virtual Wire Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Layer 2 Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Layer 3 Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Tap Mode Deployments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Configure a Virtual Router. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Configure Static Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Configure RIP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
Configure OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
OSPF Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Configure OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Configure OSPFv3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Configure OSPF Graceful Restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
Confirm OSPF Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Configure BGP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
vii
viii
Getting Started
The following sections provide detailed steps to help you deploy a new Palo Alto Networks next-generation
firewall. They provide details for integrating a new firewall into your network and configuring basic security
policies and threat prevention features.
After you perform the basic configuration steps required to integrate the firewall into your network, you can use
the rest of the topics in this guide to help you deploy the comprehensive enterprise security platform features
as necessary to address your network security needs.
Getting Started
Getting Started
Reduce the complexity and administrative overhead in managing configuration, policies, software and
dynamic content updates. Using device groups and templates on Panorama, you can effectively manage
device specific configuration locally on a device and enforce shared policies across all devices or device
groups.
Aggregate data from all managed firewalls and gain visibility across all the traffic on your network. The
Application Command Center (ACC) on Panorama provides a single glass pane for unified reporting across
all the firewalls, allowing you to centrally analyze, investigate and report on network traffic, security incidents
and administrative modifications.
Getting Started
Getting Started
The procedures in this document describe how to manage the firewall using the local web interface. If you want
to use Panorama for centralized management, after you complete the instructions in the Perform Initial
Configuration section of this guide and verify that the firewall can establish a connection to Panorama. From
that point on you can use Panorama to configure your firewall centrally.
Step 1
Step 2
Step 3
Step 4
1.
Select Device > Setup > Management and then click the Edit
icon in the Management Interface Settings section of the screen.
Enter the IP Address, Netmask, and Default Gateway.
2.
3.
4.
Getting Started
Click OK.
Getting Started
Step 5
Step 6
1.
Select Device > Setup > Management and click the Edit
in the General Settings section of the screen.
2.
3.
4.
Click OK.
1.
Select Device > Setup > Services and click the Edit icon
the Services section of the screen.
Step 7
Step 8
Step 9
icon
in
4.
1.
2.
3.
4.
1.
2.
Step 10 Open an SSH management session to the Using a terminal emulation software, such as PuTTY, launch an SSH
firewall.
session to the firewall using the new IP address you assigned to it.
Getting Started
Getting Started
If you cabled your MGT port for external network access, verify that
you have access to and from the firewall by using the ping utility from
the CLI. Make sure you have connectivity to the default gateway,
DNS server, and the Palo Alto Networks Update Server as shown in
the following example:
admin@PA-200> ping host updates.paloaltonetworks.com
PING updates.paloaltonetworks.com (67.192.236.252) 56(84)
bytes of data.
64 bytes from 67.192.236.252 : icmp_seq=1 ttl=243 time=40.5 ms
64 bytes from 67.192.236.252 : icmp_seq=1 ttl=243 time=53.6 ms
64 bytes from 67.192.236.252 : icmp_seq=1 ttl=243 time=79.5 ms
Step 1
Step 2
Step 3
Getting Started
2.
3.
To delete the default trust and untrust zones, select Network >
Zones, select each zone and click Delete.
4.
5.
Getting Started
Step 4
1.
2.
3.
4.
In the Zone dialog, define a Name for new zone, for example
L3-trust, and then click OK.
5.
Select the IPv4 tab, select the Static radio button, and click Add
in the IP section, and enter the IP address and network mask to
assign to the interface, for example 192.168.1.254/24.
6.
7.
8.
Getting Started
Getting Started
Step 5
1.
Because the firewall uses the MGT
interface by default to access the external
services it requires, you must change the
interface the firewall uses to send these
requests by editing the service routes.
Getting Started
3.
4.
Repeat steps 2-3 above for each service route you want to
modify.
5.
Getting Started
Step 6
Configure an external-facing interface and an associated zone and then create security and NAT policy rules to
allow the firewall to send service requests from the internal zone to the external zone:
1. Select Network > Interfaces and then select your external-facing interface. Select Layer3 as the Interface
Type, Add the IP address (on the IPv4 or IPv6 tab), and create the associated Security Zone (on the Config
tab), such as l3-untrust. You do not need to set up management services on this interface.
2. To set up a security rule that allows traffic from your internal network to the Palo Alto Networks update server
and external DNS servers, select Policies > Security and click Add. For the purposes of initial configuration,
you can create a simple rule that allows all traffic from l3-trust to l3-untrust as follows:
Launch the CLI and use the ping utility to verify that you have
connectivity. Keep in mind that by default pings are sent from the
MGT interface, so in this case you must specify the source interface
for the ping requests as follows:
admin@PA-200> ping source 192.168.1.254 host
updates.paloaltonetworks.com
PING updates.paloaltonetworks.com (67.192.236.252) from
192.168.1.254 : 56(84) bytes of data.
64 bytes from 67.192.236.252: icmp_seq=1 ttl=242 time=56.7 ms
64 bytes from 67.192.236.252: icmp_seq=2 ttl=242 time=47.7 ms
64 bytes from 67.192.236.252: icmp_seq=3 ttl=242 time=47.6 ms
^C
After you have verified connectivity, press Ctrl+C to stop the pings.
Activate Licenses
Getting Started
Getting Started
Step 1
Step 2
Locate your serial number and copy it to On the Dashboard, locate your Serial Number in the General
the clipboard.
Information section of the screen.
Step 3
Step 4
Register the device. The way you register If this is the first Palo Alto Networks device you are registering and
depends on whether you already have a
you do not yet have a login, click Register on the right side of the
login to the support site.
page. To register, you must provide your sales order number or
customer ID, and the serial number of your firewall (which you can
paste from your clipboard) or the authorization code you received
with your order. You will also be prompted to set up a username
and password for access to the Palo Alto Networks support
community.
Activate Licenses
Before you can start using your firewall to secure the traffic on your network, you must activate the licenses for
each of the services you purchased. Available licenses and subscriptions include the following:
Decryption Port MirroringProvides the ability to create a copy of decrypted traffic from a firewall and
send it to a traffic collection tool that is capable of receiving raw packet capturessuch as NetWitness or
Solerafor archiving and analysis.
URL FilteringIn order to create policy rules based on dynamic URL categories, you must purchase and
install a subscription for one of the supported URL filtering databases: PAN-DB or BrightCloud. For more
information about URL filtering, see Control Access to Web Content.
Virtual SystemsThis license is required to enable support for multiple virtual systems on PA-2000 and
PA-3000 Series firewalls. In addition, you must purchase a Virtual Systems license if you want to increase the
number of virtual systems beyond the base number provided by default on PA-4000 Series, PA-5000 Series,
and PA-7050 firewalls (the base number varies by platform). The PA-500, PA-200, and VM-Series firewalls
do not support virtual systems.
Getting Started
Getting Started
WildFireAlthough basic WildFire support is included as part of the Threat Prevention license, the
WildFire subscription service provides enhanced services for organizations that require immediate coverage
for threats, enabling sub-hourly WildFire signature updates, advanced file type forwarding (APK, PDF,
Microsoft Office, and Java Applet), as well as the ability to upload files using the WildFire API. A WildFire
subscription is also required if your firewalls will be forwarding files to a private WF-500 WildFire appliance.
GlobalProtectProvides mobility solutions and/or large-scale VPN capabilities. By default, you can deploy
a single GlobalProtect portal and gateway (without HIP checks) without a license. However, if you want to
deploy multiple gateways, you must purchase a portal license (one-time, permanent license). If you want to
use host checks you will also need gateway licenses (subscription) for each gateway.
Activate Licenses
Step 1
Step 2
Step 3
1.
2.
If your firewall does not have
Internet access from the
management port, you can
3.
manually download your license
files from the support site and
upload them to your firewall using
the Manually upload license key
option.
10
Getting Started
Getting Started
AntivirusIncludes new and updated antivirus signatures, including signatures discovered by the WildFire
cloud service. You must have a Threat Prevention subscription to get these updates. New antivirus signatures
are published daily.
ApplicationsIncludes new and updated application signatures. This update does not require any
additional subscriptions, but it does require a valid maintenance/support contract. New application updates
are published weekly.
Applications and ThreatsIncludes new and updated application and threat signatures. This update is
available if you have a Threat Prevention subscription (and you get it instead of the Applications update).
New Applications and Threats updates are published weekly.
GlobalProtect Data FileContains the vendor-specific information for defining and evaluating host
information profile (HIP) data returned by GlobalProtect agents. You must have a GlobalProtect portal and
GlobalProtect gateway license in order to receive these updates. In addition, you must create a schedule for
these updates before GlobalProtect will function.
BrightCloud URL FilteringProvides updates to the BrightCloud URL Filtering database only. You must
have a BrightCloud subscription to get these updates. New BrightCloud URL database updates are published
daily. If you have a PAN-DB license, scheduled updates are not required as devices remain in-sync with the
servers automatically.
WildFireProvides near real-time malware and antivirus signatures created as a result of the analysis done
by the WildFire cloud service. Without the subscription, you must wait 24 to 48 hours for the signatures to
roll into the Applications and Threat update.
If your firewall does not have Internet access from the management port, you can download
content updates from the Palo Alto Networks Support Site (https://support.paloaltonetworks.com)
and then Upload them to your firewall.
If your firewall is deployed behind existing firewalls or proxy servers, access to these external
resources might be restricted using access control lists that allow the firewall to only access a
hostname or an IP address. In such cases, to allow access to the CDN, set the update server
address to use the hostname staticupdates.paloaltonetworks.com or the IP address
199.167.52.15
Step 1
Step 2
Getting Started
11
Getting Started
Step 3
12
Click the Install link in the Action column. When the installation
completes, a check mark displays in the Currently Installed column.
Getting Started
Getting Started
Step 5
1.
Set the schedule of each update type by clicking the None link.
2.
Getting Started
Specify the Time and (or, minutes past the hour in the case of
WildFire), if applicable depending on the Recurrence value you
selected, Day of the week that you want the updates to occur.
4.
5.
6.
7.
13
Getting Started
Step 1
Step 2
Click Check Now to check for the latest updates. If the value in the
Action column is Download it indicates that an update is available.
Step 3
Locate the version you want and then click Download. When the
download completes, the value in the Action column changes to
Install.
1.
Click Install.
2.
If you are not prompted to reboot, select Device > Setup >
Operations and click Reboot Device in the Device
Operations section of the screen.
14
Getting Started
Getting Started
The following sections describe the components of the security perimeter and provide steps for configuring the
firewall interfaces, defining zones, and setting up a basic security policy that allows traffic from your internal
zone to the Internet and to the DMZ. By initially creating a basic policy like this, you will be able to analyze the
traffic running through your network and use this information to define more granular policies for safely
enabling applications while preventing threats.
Getting Started
15
Getting Started
Layer 2 Deployments
Layer 3 Deployments
For more detailed deployment information, refer to Designing Networks with Palo Alto Networks Firewalls.
Layer 2 Deployments
In a Layer 2 deployment, the firewall provides switching between two or more interfaces. Each group of
interfaces must be assigned to a VLAN object in order for the firewall to switch between them. The firewall will
perform VLAN tag switching when Layer 2 subinterfaces are attached to a common VLAN object. Choose this
option when switching is required.
For more information on Layer 2 deployments, refer to the Layer 2 Networking Tech Note and/or the Securing
Inter VLAN Traffic Tech Note.
16
Getting Started
Getting Started
Layer 3 Deployments
In a Layer 3 deployment, the firewall routes traffic between ports. An IP address must be assigned to each
interface and a virtual router must be defined to route the traffic. Choose this option when routing is required.
You must assign an IP address to each physical Layer 3 interface you configure. You can also create logical
subinterfaces for each physical Layer 3 interface that allows you to segregate the traffic on the interface based
on VLAN tag (when VLAN trunking is in use) or by IP address, for example for multi-tenancy.
In addition, because the firewall must route traffic in a Layer 3 deployment, you must configure a virtual router.
You can configure the virtual router to participate with dynamic routing protocols (BGP, OSPF, or RIP) as well
as adding static routes. You can also create multiple virtual routers, each maintaining a separate set of routes that
are not shared between virtual routers, enabling you to configure different routing behaviors for different
interfaces.
The configuration example in this chapter illustrates how to integrate the firewall into your Layer 3 network
using static routes. For information on other types of routing integrations, refer to the following documents:
Getting Started
17
Getting Started
destination security zone, the source and destination IP address, the application, user, and the service. By
default, intra-zone traffic (that is traffic within the same zone, for example from trust to trust), is allowed. Traffic
between different zones (or inter-zone traffic) is blocked until you create a security policy to allow the traffic.
Security policies are evaluated left to right and from top to bottom. A packet is matched against the first rule
that meets the defined criteria; after a match is triggered the subsequent rules are not evaluated. Therefore, the
more specific rules must precede more generic ones in order to enforce the best match criteria. Traffic that
matches a rule generates a log entry at the end of the session in the traffic log, if logging is enabled for that rule.
The logging options are configurable for each rule, and can for example be configured to log at the start of a
session instead of, or in addition to, logging at the end of a session.
Required
Fields
Optional
Fields
18
Field
Description
Name
Source Zone
Destination Zone
The zone at which the traffic terminates. If you use NAT, make sure to
always reference the post-NAT zone.
Application
The application which you wish to control. The firewall uses App-ID, the
traffic classification technology, to identify traffic on your network.
App-ID provides application control and visibility in creating security
policies that block unknown applications, while enabling, inspecting, and
shaping those that are allowed.
Action
Specifies an Allow or Deny action for the traffic based on the criteria you
define in the rule.
Tag
A keyword or phrase that allows you to filter security rules. This is handy
when you have defined many rules and wish to then review those that are
tagged with a particular keyword, for example Inbound to DMZ.
Description
Source IP Address
Destination IP Address
The location or destination for the traffic. If you use NAT, make sure to
always refer to the original IP addresses in the packet (i.e. the pre-NAT IP
address).
Getting Started
Getting Started
Field
Description (Continued)
User
The user or group of users for whom the policy applies. You must have
User-ID enabled on the zone. To enable User-ID, see User-ID Overview.
URL Category
Service
Allows you to select a Layer 4 (TCP or UDP) port for the application. You
can choose any, specify a port, or use application-default to permit use of the
standards-based port for the application. For example, for applications
with well- known port numbers such as DNS, the application-default option
will match against DNS traffic only on TCP port 53. You can also add a
custom application and define the ports that the application can use.
For inbound allow rules (for example, from untrust to trust), using
application-default prevents applications from running on unusual
ports and protocols. Application-default is the default option;
while the device still checks for all applications on all ports, with
this configuration, applications are only allowed on their standard
ports/protocols.
Security Profiles
Allows you to identify clients with Host Information Profile (HIP) and
then enforce access privileges.
GlobalProtect)
Options
Getting Started
Allow you to define logging for the session, log forwarding settings,
change Quality of Service (QoS) markings for packets that match the rule,
and schedule when (day and time) the security rule should be in effect.
19
Getting Started
If you have two or more zones with identical security requirements, combine them into one security rule.
To restrict and control access to inbound applications, in the security policy, explicitly define the port that
the service/application will be listening on.
Logging for broad allow rulesfor example access to well known servers like DNScan generate a lot of
traffic. Hence it is not recommended unless absolutely necessary.
By default, the firewall creates a log entry at the end of a session. However, you can modify this default
behavior and configure the firewall to log at the start of the session. Because this significantly increases the
log volume, logging at session start is recommended only when you are troubleshooting an issue. Another
alternative for troubleshooting without enabling logging at session start is to use the session browser
(Monitor > Session Browser) to view the sessions in real time.
The ordering of rules is crucial to ensure the best match criteria. Because policy is evaluated top down, the
more specific policy must precede the ones that are more general, so that the more specific rule is not
shadowed. The term shadow refers to a rule that is not evaluated or is skipped because it is placed lower in
the policy list. When the rule is placed lower, it is not evaluated because the match criteria was met by
another rule that preceded it, thereby shadowing the rule from policy evaluation.
Description
Address/Address Group,
Region
Allow you to group specific source or destination addresses that require the same
policy enforcement. The address object can include an IPv4 or IPv6 address (single IP,
range, subnet) or the FQDN. Alternatively, a region can be defined by the latitude and
longitude coordinates or you can select a country and define an IP address or IP range.
You can then group a collection of address objects to create an address group object.
You can also use dynamic address groups to dynamically update IP addresses in
environments where host IP addresses change frequently.
20
Getting Started
Getting Started
Policy Object
Description
User/User Group
Allow you to create a list of users from the local database or an external database and
group them.
An Application Filter allows you to filter applications dynamically. It allows you to filter,
and save a group of applications using the attributes defined in the application database
on the firewall. For example, you can filter by one or more attributescategory,
sub-category, technology, risk, characteristicsand save your application filter. With
an application filter, when a PAN-OS content update occurs, any new applications that
match your filter criteria are automatically added to your saved application filter.
An Application Group allows you to create a static group of specific applications that you
wish to group together for a group of users or for a particular service.
Service/Service Groups
Allows you to specify the source and destination ports and protocol that a service can
use. The firewall includes two pre-defined servicesservice-http and service-https
that use TCP ports 80 and 8080 for HTTP, and TCP port 443 for HTTPS. You can
however, create any custom service on any TCP/UDP port of your choice to restrict
application usage to specific ports on your network (in other words, you can define the
default port for the application).
To view the standard ports used by an application, in Objects > Applications
search for the application and click the link. A succinct description displays.
Some examples of address and application policy objects are shown in the security policies that are included in
Create Security Rules. For information on the other policy objects, see Enable Basic Threat Prevention Features.
The different types of security profiles that can be attached to security policies are: Antivirus, Anti-spyware,
Vulnerability Protection, URL Filtering, File Blocking, and Data Filtering. The firewall provides default security
profiles that you can use out of the box to begin protecting your network from threats. See Create Security Rules
for information on using the default profiles in your security policy. As you get a better understanding about the
security needs on your network, you can create custom profiles. See Scan Traffic for Threats for more
information.
Getting Started
21
Getting Started
The following table shows the information we will use to configure the Layer 3 interfaces and their
corresponding zones as shown in the sample topology.
Zone
Deployment Type
Interface(s)
Configuration Settings
Untrust
L3
Ethernet1/3
IP address: 203.0.113.100/24
Virtual router: default
Default route: 0.0.0.0/0
Next hop: 203.0.113.1
Trust
L3
Ethernet1/4
IP address: 192.168.1.4/24
Virtual router: default
DMZ
L3
Ethernet1/13
IP address: 10.1.1.1/24
Virtual router: default
22
Getting Started
Getting Started
Step 1
Step 2
Getting Started
1.
Select Network > Virtual Router and then select the default
link to open the Virtual Router dialog.
2.
Select the Static Routes tab and click Add. Enter a Name for the
route and enter the route in the Destination field (for example,
0.0.0.0/0).
3.
Select the IP Address radio button in the Next Hop field and
then enter the IP address and netmask for your Internet gateway
(for example, 203.0.113.1).
4.
1.
Select Network > Interfaces and then select the interface you
want to configure. In this example, we are configuring
Ethernet1/3 as the external interface.
2.
3.
On the Config tab, select New Zone from the Security Zone
drop-down. In the Zone dialog, define a Name for new zone,
for example Untrust, and then click OK.
4.
5.
6.
7.
23
Getting Started
Step 3
1.
Select Network > Interfaces and select the interface you want
to configure. In this example, we are configuring Ethernet1/4 as
the internal interface.
2.
3.
4.
Select the same Virtual Router you used in Step 2, default in this
example.
5.
Step 4
6.
7.
1.
2.
3.
4.
5.
6.
7.
Step 5
Click Commit.
Step 6
Step 7
From the web interface, select Network > Interfaces and verify that
icon in the Link State column is green. You can also monitor link
state from the Interfaces widget on the Dashboard.
24
Getting Started
Getting Started
To enable the clients on the internal network to access resources on the Internet, the internal 192.168.1.0
addresses will need to be translated to publicly routable addresses. In this case, we will configure source
NAT, using the egress interface address, 203.0.113.100, as the source address in all packets that leave the
firewall from the internal zone. See Translate Internal Client IP Addresses to your Public IP Address for
instructions.
To enable clients on the internal network to access the public web server in the DMZ zone, we will need to
configure a NAT rule that redirects the packet from the external network, where the original routing table
lookup will determine it should go based on the destination address of 203.0.113.11 within the packet, to
the actual address of the web server on the DMZ network of 10.1.1.11. To do this you must create a NAT
rule from the trust zone (where the source address in the packet is) to the untrust zone (where the original
destination address is) to translate the destination address to an address in the DMZ zone. This type of
destination NAT is called U-Turn NAT. See Enable Clients on the Internal Network to Access your Public Servers
for instructions.
To enable the web serverwhich has both a private IP address on the DMZ network and a public-facing
address for access by external usersto both send and receive requests, the firewall must translate the
incoming packets from the public IP address to the private IP address and the outgoing packets from the
private IP address to the public IP address. On the firewall, you can accomplish this with a single
bi-directional static source NAT policy. See Enable Bi-Directional Address Translation for your Public-Facing
Servers.
Getting Started
25
Getting Started
Step 1
From the web interface, select Objects > Addresses and then
click Add.
2.
3.
Select IP Netmask from the Type drop down and then enter the
IP address of the external interface on the firewall,
203.0.113.100 in this example.
4.
Best Practice:
Although you do not have to use address objects in your policies, it
is a best practice because it simplifies administration by allowing you
to make updates in one place rather than having to update every
policy where the address is referenced.
Step 2
Step 3
26
Click Commit.
Getting Started
Getting Started
Step 1
Step 2
1.
From the web interface, select Objects > Addresses and then
click Add.
2.
3.
Select IP Netmask from the Type drop down and then enter the
public IP address of the web server, 203.0.113.11 in this
example.
4.
Step 3
Getting Started
Click Commit.
27
Getting Started
Step 1
1.
From the web interface, select Objects > Addresses and then
click Add.
2.
3.
Select IP Netmask from the Type drop down and then enter the
IP address of the web server on the DMZ network, 10.1.1.11 in
this example.
4.
Step 2
Step 3
28
Click Commit.
Getting Started
Getting Started
Getting Started
29
Getting Started
Step 1
Permit Internet access for all users on the To safely enable applications that are required for day-to-day
business operations we will create a simple rule that allows access to
enterprise network.
the Internet. To provide basic threat protection, we will attach the
Zone: Trust to Untrust
default security profiles available on the firewall.
By default, the firewall includes a 1. Select Policies > Security and click Add.
security rule named rule1 that
2. Give the rule a descriptive name in the General tab.
allows all traffic from Trust zone
3. In the Source tab, set the Source Zone to Trust.
to Untrust zone. You can either
delete the rule or modify the rule 4. In the Destination tab, Set the Destination Zone to Untrust.
to reflect your zone-naming
To scan policy rules and visually identify the zones on
convention.
each rule, create a tag with the same name as the zone.
For example, to color code the Trust zone as green,
select Objects > Tags, click Add and Name the tag Trust,
and select the Color green.
5.
6.
7.
Step 2
1.
2.
3.
4.
30
In the Service/ URL Category tab, make sure the Service is set
to application-default.
In the Actions tab, set the Action Setting to Allow.
Leave all the other options at the default values.
Getting Started
Getting Started
Step 3
Restrict access from the Internet to the To restrict inbound access to the DMZ from the Internet, configure
servers on the DMZ to specific server IP a rule that allows access only to specific servers IP addresses and on
the default ports that the applications use.
addresses only.
1. Click Add to add a new rule, and give it a descriptive name.
For example, you might only allow users
2. In the Source tab, set the Source Zone to Untrust.
to access the webmail servers from
outside.
3. In the Destination tab, set the Destination Zone to DMZ.
Zone: Untrust to DMZ
4.
5.
Step 4
6.
1.
2.
3.
4.
5.
6.
Getting Started
31
Getting Started
Step 5
Step 6
32
5.
6.
Click Commit.
Getting Started
Getting Started
Getting Started
For example, to verify the policy rule that will be applied for a
server on the DMZ with the IP address 208.90.56.11 when it
accesses the Microsoft update server, you will try the following
command:
test security-policy-match source 208.80.56.11
destination 176.9.45.70 destination-port 80
protocol 6
"Updates-DMZ to Internet" {
from dmz;
source any;
source-region any;
to untrust;
destination any;
destination-region any;
user any;
category any;
application/service[ dns/tcp/any/53
dns/udp/any/53 dns/udp/any/5353
ms-update/tcp/any/80 ms-update/tcp/any/443];
action allow;
terminal yes;
33
Getting Started
Use the Application Command CenterIn the ACC, review the most used applications and the high-risk
applications on your network. The ACC graphically summarizes the log information to highlight the
applications traversing the network, who is using them (with User-ID enabled), and the potential security
impact of the content to help you identify what is happening on the network in real time. You can then use
this information to create appropriate security policies that block unwanted applications, while allowing and
enabling applications in a secure manner.
Determine what updates/modifications are required for your network security rules and implement the
changes. For example:
View the Log FilesSpecifically, view the traffic and threat logs (Monitor > Logs).
Traffic logs are dependent on how your security policies are defined and setup to log traffic. The
ACC tab, however, records applications and statistics regardless of policy configuration; it shows
all traffic that is allowed on your network, therefore it includes the inter zone traffic that is allowed
by policy and the same zone traffic that is allowed implicitly.
34
Interpret the URL Filtering LogsReview the URL filtering logs to scan through alerts, denied
categories/URL. URL logs are generated when a traffic matches a security rule that has a URL filtering
profile attached with an action of alert, continue, override or block.
Getting Started
Getting Started
Enable WildFire
Enable WildFire
The WildFire service is included as part of the base product. The WildFire service enables the firewall to
forward attachments to a sandbox environment where applications are run to detect any malicious activity. As
new malware is detected by the WildFire system, malware signatures are automatically generated and are made
available within 24-48 hours in the antivirus daily downloads. Your threat prevention subscription entitles you
for antivirus signature updates that include signatures discovered by WildFire.
Consider purchasing the WildFire subscription service for these additional benefits:
Advanced file type forwarding (APK, PDF, Microsoft Office, and Java Applet)
Enable WildFire
Step 1
Getting Started
Go to the Palo Alto Networks Support Site, log in, and select My
Devices.
35
Getting Started
Step 2
1.
2.
3.
Step 4
Step 5
36
1.
2.
3.
4.
5.
Leave the other fields set to any to forward any supported file
type from any application.
6.
1.
2.
3.
Click Commit.
Getting Started
Getting Started
Step 6
3.
View the WildFire logs by selecting Monitor > Logs > WildFire
Submissions. If new WildFire logs appear, the firewall is
successfully forwarding files to WildFire and WildFire is
returning file analysis reports.
Getting Started
37
Getting Started
defaultApplies the default action to all client and server critical, high, and medium severity
spyware/vulnerability protection events. It does not detect low and informational events.
strictApplies
the block response to all client and server critical, high and medium severity
spyware/vulnerability protection events and uses the default action for low and informational events.
To ensure that the traffic entering your network is free from threats, attach the predefined profiles to your basic
web access policies. As you monitor the traffic on your network and expand your policy rulebase, you can then
design more granular profiles to address your specific security needs.
Set up Antivirus/Anti-Spyware/Vulnerability Protection
Step 1
Verify that you have a Threat Prevention The Threat Prevention license bundles the Antivirus,
license.
Anti-Spyware, and the Vulnerability Protection features in one
license.
Select Device > Licenses to verify that the Threat Prevention
license is installed and valid (check the expiration date).
Step 2
Step 3
1.
Select Device > Dynamic Updates and click Check Now at the
bottom of the page to retrieve the latest signatures.
2.
1.
From Device > Dynamic Updates, click the text to the right of
Schedule to automatically retrieve signature updates for
Antivirus and Applications and Threats.
Perform a download-and-install
on a daily basis for antivirus
2.
updates and weekly for
applications and threats updates.
38
Specify the frequency and timing for the updates and whether
the update will be downloaded and installed or only
downloaded. If you select Download Only, you would need to
manually go in and click the Install link in the Action column to
install the signature. When you click OK, the update is scheduled.
No commit is required.
3.
4.
Getting Started
Getting Started
Active/Passive HAIf the MGT port is used for antivirus signature downloads, you should configure a schedule on
both devices and both devices will download/install independently. If you are using a data port for downloads, the
passive device will not perform downloads while it is in the passive state. In this case you would set a schedule on both
devices and then select the Sync To Peer option. This will ensure that whichever device is active, the updates will occur
and will then push to the passive device.
Active/Active HAIf the MGT port is used for antivirus signature downloads on both devices, then schedule the
download/install on both devices, but do not select the Sync To Peer option. If you are using a data port, schedule the
signature downloads on both devices and select Sync To Peer. This will ensure that if one device in the active/active
configuration goes into the active-secondary state, the active device will download/install the signature and will then
push it to the active-secondary device.
Step 4
Step 5
Getting Started
1.
2.
Click Commit.
39
Getting Started
Step 1
1.
Select Objects > Security Profiles > File Blocking and click
Add.
Step 2
2.
1.
2.
3.
4.
5.
6.
Step 3
40
7.
1.
2.
3.
Getting Started
Getting Started
Step 4
Step 5
1.
Enable Response Pages in the
management profile for each interface on
which you are attaching file blocking
profile with a continue action.
2.
Select Network > Network Profiles > Interface Mgmt and then
select an interface profile to edit or click Add to create a new
profile.
Select Response Pages, as well as any other management
services required on the interface.
3.
4.
5.
6.
To test the file blocking configuration, access a client PC in the trust zone of the firewall and attempt to
download an.exe file from a website in the untrust zone. A response page should display. Click Continue to
download the file. You can also set other actions, such as alert only, forward (which will forward to WildFire), or
block, which will not provide a continue page to the user. The following shows the default response page for
File Blocking:
Getting Started
41
Getting Started
Step 1
Step 2
1.
2.
Select Device > Licenses and verify that the URL Filtering
license is valid.
Step 3
2.
3.
1.
2.
Select the default profile and then click Clone. The new profile
will be named default-1.
42
Getting Started
Getting Started
Step 4
1.
For each category that you want visibility into or control over,
select a value from the Action column as follows:
If you do not care about traffic to a particular category (that
is you neither want to block it nor log it), select Allow.
Step 5
Step 6
2.
1.
2.
Select the desired policy to modify it and then click the Actions
tab.
3.
If this is the first time you are defining a security profile, select
Profiles from the Profile Type drop-down.
4.
In the Profile Settings list, select the profile you just created
from the URL Filtering drop-down. (If you dont see
drop-downs for selecting profiles, select Profiles from the
Profile Type drop-down.)
5.
6.
Getting Started
Select Network > Network Profiles > Interface Mgmt and then
select an interface profile to edit or click Add to create a new
profile.
2.
3.
4.
5.
6.
43
Getting Started
Step 7
Click Commit.
Step 8
To test URL filtering, access a client PC from the zone where the security policy is applied and attempt to access
a site in a blocked category. You should see a URL Filtering response page that indicates that the page has been
blocked:
ApplipediaProvides details on the applications that Palo Alto Networks can identify.
Threat VaultLists threats that Palo Alto Networks products can identify. You can search by Vulnerability,
Spyware, or Virus. Click the Details icon next to the ID number for more information about a threat.
44
Getting Started
Getting Started
Learn about the different Management Interfaces that are available to you and how to access and use
them.
Set up High AvailabilityHigh availability (HA) is a configuration in which two firewalls are placed in a
group and their configuration is synchronized to prevent a single point to failure on your network. A
heartbeat connection between the firewall peers ensures seamless failover in the event that a peer goes
down. Setting up the firewalls in a two-device cluster provides redundancy and allows you to ensure
business continuity.
Configure the Master KeyEvery Palo Alto Networks firewall has a default master key that encrypts
private keys that are used to authenticate administrators when they access management interfaces on the
firewall. As a best practice to safeguard the keys, configure the master key on each firewall to be unique.
Manage Firewall AdministratorsEvery Palo Alto Networks firewall and appliance is preconfigured with
a default administrative account (admin) that provides full read-write access (also known as superuser
access) to the device. As a best practice, create a separate administrative account for each person who
needs access to the administrative or reporting functions of the firewall. This allows you to better protect
the device from unauthorized configuration (or modification) and to enable logging of the actions of each
individual administrator.
Enable User Identification (User-ID)User-ID is a Palo Alto Networks next-generation firewall feature
that allows you to create policies and perform reporting based on users and groups rather than individual
IP addresses.
Enable DecryptionPalo Alto Networks firewalls provide the capability to decrypt and inspect traffic for
visibility, control, and granular security. Use decryption on a firewall to prevent malicious content from
entering your network or sensitive content from leaving your network concealed as encrypted or tunneled
traffic.
Passive DNS CollectionEnable this opt-in feature to enable the firewall to act as a passive DNS sensor
and send select DNS information to Palo Alto Networks for analysis in order to improve threat
intelligence and threat prevention capabilities.
Follow the Best Practices for Securing Your Network from Layer 4 and Layer 7 Evasions.
Getting Started
45
Getting Started
46
Getting Started
Device Management
Administrators can configure, manage, and monitor the Palo Alto Networks firewalls using the web interface,
the CLI, and the API management interfaces. Role-based administrative access to the management interfaces
can be customized in order to delegate specific tasks or permissions to certain administrators. See the following
topics for information on device management options, including how to begin using the management interfaces
and how to customize administrator roles:
Management Interfaces
Device Management
47
Management Interfaces
Device Management
Management Interfaces
PAN-OS firewalls and Panorama provide three user interfaces: a web interface, a command line interface (CLI),
and a REST management API. See the following topics for how to access and begin using each of the device
management interfaces:
Use the Web Interface to complete administrative tasks and generate reports from the web interface with
relative ease. This graphical interface allows you to access the firewall using HTTPS and it is the best way to
perform administrative tasks.
Use the Command Line Interface (CLI) to type through the commands in rapid succession to complete a
series of tasks. The CLI is a no-frills interface that supports two command modes and each mode has its
own hierarchy of commands and statements. When you get familiar with the nesting structure and the syntax
of the commands, the CLI allows quick response times and offers administrative efficiency.
Use the XML API to streamline your operations and integrate with existing, internally developed
applications and repositories. The XML API is provided as a web service that is implemented using
HTTP/HTTPS requests and responses.
Commit Changes
Required Fields
Lock Transactions
Internet Explorer 7+
Firefox 3.6+
Safari 5+
Chrome 11+
Launch an Internet browser and enter the firewalls IP address. Enter your user credentials. If logging in to the
firewall for the first time, type the default admin into both the Name and Password fields.
48
Device Management
Device Management
Management Interfaces
To view information on how to use a specific page and an explanation of the fields and options on the page,
click the Help icon
in the upper right area of the page to open the online help system. In addition to
displaying context-sensitive help for a page, clicking the Help icon displays a help navigation pane with options
to browse and search all help content.
To display the menu items for a general functional category, click the tab, such as Objects or Device, near the
top of the browser window.
On most configuration pages, you can click Add to create a new item.
To delete one or more items, select their check boxes and click Delete. In most cases, the system prompts
you to confirm by clicking OK or to cancel the deletion by clicking Cancel.
Device Management
49
Management Interfaces
Device Management
On some configuration pages, you can select the check box for an item and click Clone to create a new item
with the same information as the selected item.
To view the current list of tasks, click the Tasks icon in the lower right corner of the page. The Task Manager
window opens to show the list of tasks, along with status, start times, associated messages, and actions. Use
the Show drop-down list to filter the list of tasks.
The web interface language is controlled by the current language of the computer that is managing the device
if a specific language preference has not been defined. For example, if the computer you use to manage the
firewall has a locale of Spanish, when you log in to the firewall, the web interface will be in Spanish.
To specify a language that will always be used for a given account regardless of the locale of the computer,
click the Language icon in the lower right corner of the page and the Language Preference window opens.
Click the drop-down list to select the desired language and then click OK to save your change.
On pages that list information you can modify (for example, the Setup page on the Devices tab), click the
icon in the upper right corner of a section to edit the settings.
50
Device Management
Device Management
Management Interfaces
After you configure settings, you must click OK or Save to store the changes. When you click OK, the current
candidate configuration is updated.
Commit Changes
Click Commit at the top of the web interface to open the commit dialog box.
The following options are available in the commit dialog box. Click the Advanced link, if needed, to display the
options:
Include Device and Network configurationInclude the device and network configuration changes in the
commit operation.
Include Shared Object configuration(Multi-virtual system firewalls only) Include the shared object
configuration changes in the commit operation.
Include Policy and Objects(Non-multi-virtual system firewalls only) Include the policy and object
configuration changes in the commit operation.
Preview ChangesClick this button to bring up a two-pane window that shows proposed changes in
the candidate configuration compared to the current running configuration. You can choose the
Device Management
51
Management Interfaces
Device Management
number of lines of context to display, or show all lines. Changes are color coded based on items that
have been added, modified, or deleted.
Required Fields
Required fields are shown with a light yellow background. A message indicating that the field is required appears
when you hover over or click in the field entry area.
Lock Transactions
The web interface provides support for multiple administrators by allowing an administrator to lock a current
set of transactions, thereby preventing configuration changes or commit operations by another administrator
until the lock is removed. The following types of locks are supported:
Config lockBlocks other administrators from making changes to the configuration. This type of lock can
be set globally or for a virtual system. It can be removed only by the administrator who set it or by a
superuser on the system.
Commit LockBlocks other administrators from committing changes until all of the locks have been
released. This type of lock prevents collisions that can occur when two administrators are making changes
at the same time and the first administrator finishes and commits changes before the second administrator
has finished. The lock is released when the current changes are committed by the administrator who applied
the lock, or it can be released manually.
Any administrator can open the lock window to view the current transactions that are locked, along with a time
stamp for each.
52
Device Management
Device Management
Management Interfaces
For more information on the CLI, refer to the PAN-OS Command Line Interface Reference Guide.
Step 1
Step 2
Step 3
Device Management
53
Management Interfaces
Device Management
Step 4
The PAN-OS CLI opens in Operational mode, and the CLI prompt is displayed:
username@hostname>
To enter Configuration mode from Operational mode, use the configure command:
username@hostname> configure
Entering configuration mode
[edit]
username@hostname#
To leave Configuration mode and return to Operational mode, use the quit or exit command:
username@hostname# quit
Exiting configuration mode
username@hostname>
To enter an Operational mode command while in Configuration mode, use the run command, for example:
To direct an Operational mode command to a particular VSYS, specify the target VSYS with the following command:
54
Device Management
Device Management
Management Interfaces
You must generate an API key in order to being using the XML API. The API key authenticates the user to the
firewall, application, or Panorama. After you have generated an API key, you can use the key to perform device
configuration and operational tasks, retrieve reports and logs, and import and export files. See Generate an API
Key for steps to generate an API key.
The following table shows the URL structure for API requests:
XML API URL Structure
http(s)://hostname/esp/restapi.esp?request-parameters-values
http(s)://hostname/api/?request-parameters-values
There are APIs for PAN-OS, User-ID, and WildFire products. For more information on how to use the API
interface, refer to the PAN-OS XML API Usage Guide. To access the online community for developing scripts,
visit: https://live.paloaltonetworks.com/community/devcenter.
Step 1
1.
Device Management
2.
3.
4.
55
Management Interfaces
Device Management
Step 2
56
Device Management
Device Management
The following topics describe the various ways you can set up administrative accounts and provides procedures
for setting up basic administrative access:
Administrative Roles
Administrative Authentication
Administrative Roles
The way you configure administrator accounts depends on the security requirements within your organization,
whether you have existing authentication services you want to integrate with, and how many different
administrative roles you require. A role defines the type of access the associated administrator has to the system.
There are two types of roles you can assign:
Dynamic RolesBuilt-in roles that provide Superuser, Superuser (read-only), Device administrator,
Device administrator (read-only), Virtual system administrator, and Virtual system administrator (read-only)
access to the firewall. With dynamic roles, you dont have to worry about updating the role definitions as new
features are added because the roles automatically update.
Admin Role ProfilesAllow you to create your own role definitions in order to provide more granular
access control to the various functional areas of the web interface, CLI and/or XML API. For example, you
could create an Admin Role Profile for your operations staff that provides access to the device and network
configuration areas of the web interface and a separate profile for your security administrators that provides
access to security policy definition, logs, and reports. Keep in mind that with Admin Role Profiles you must
update the profiles to explicitly assign privileges for new features/components that are added to the product.
Administrative Authentication
There are four ways you can authenticate administrative users:
Local administrator account with local authenticationBoth the administrator account credentials and
the authentication mechanisms are local to the firewall. You can further secure the local administrator
account by creating a password profile that defines a validity period for passwords and by setting device-wide
password complexity settings.
Device Management
57
Device Management
Local administrator account with SSL-based authenticationWith this option, you create the
administrator accounts on the firewall, but authentication is based on SSH certificates (for CLI access) or
client certificates/common access cards (for the web interface). Refer to the article How to Configure
Certificate-based Authentication for the WebUI for details on how to configure this type of administrative access.
Local administrator account with external authenticationThe administrator accounts are managed
on the local firewall, but the authentication functions are offloaded to an existing LDAP, Kerberos, or
RADIUS service. To configure this type of account, you must first create an authentication profile that
defines how to access the external authentication service and then create an account for each administrator
that references the profile.
58
Device Management
Device Management
Step 1
Complete the following steps for each role you want to create:
1. Select Device > Admin Roles and then click Add.
2.
3.
On the Web UI, Command Line and/or XML API tabs, specify
the access to allow for each management interface:
On the Web UI and/or XML API tabs, set the access levels for
each functional area of the interface by clicking the icon to
toggle it to the desired setting: Enable , Read Only , or
Disable .
For example, allow an admin full access to a device using the XML
API, with the exception of importing or exporting files:
Device Management
59
Device Management
Step 2
Step 3
60
2.
3.
4.
5.
Device Management
Device Management
Step 4
1.
2.
3.
5.
Step 5
Device Management
6.
7.
Click OK.
1.
Click Commit.
61
Device Management
Description
Dashboard
Read Only
Disable
No
Yes
ACC
No
Yes
Monitor
No
Yes
62
Enable
Device Management
Device Management
Access Level
Description
Policies
Enable
Read Only
Disable
No
Yes
Objects
No
Yes
Network
No
Yes
Device
No
Yes
Device Management
63
Device Management
Description
Monitor
Read Only
Disable
No
Yes
Logs
No
Yes
Traffic
Yes
No
Yes
Threat
Yes
No
Yes
URL Filtering
Yes
No
Yes
WildFire Submissions
No
Yes
Data Filtering
Yes
No
Yes
HIP Match
Yes
No
Yes
Configuration
Yes
No
Yes
System
Yes
No
Yes
64
Enable
Device Management
Device Management
Access Level
Description
Enable
Read Only
Disable
Alarms
Yes
No
Yes
Packet Capture
Yes
Yes
App Scope
Yes
No
Yes
Session Browser
No
Yes
Botnet
Yes
Yes
PDF Reports
No
Yes
Yes
Yes
Yes
Manage PDF Summary Specifies whether the admin can view, add or
delete PDF summary report definitions. With
read-only access, the admin can see PDF summary
report definitions, but not add or delete them. If
you disable this option, the admin can neither view
the report definitions or add/delete them.
Device Management
65
Access Level
Description
Device Management
Enable
Read Only
Disable
PDF Summary Reports Specifies whether the admin can see the generated Yes
PDF Summary reports in Monitor > Reports. If
you disable this option, the PDF Summary
Reports category will not display in the Reports
node.
No
Yes
Yes
Yes
Report Groups
Yes
Yes
Email Scheduler
Yes
Yes
Manage Custom
Reports
No
Yes
66
Device Management
Device Management
Access Level
Description
Enable
Read Only
Disable
Application Statistics
Yes
No
Yes
Yes
No
Yes
Threat Log
Yes
No
Yes
Threat Summary
No
Yes
Traffic Log
Yes
No
Yes
Traffic Summary
No
Yes
Url Log
Yes
No
Yes
Hipmatch
No
Yes
View Scheduled
Custom Reports
Yes
No
Yes
View Predefined
Application Reports
No
Yes
View Predefined Threat Specifies whether the admin can view Threat
Yes
Reports
Reports. Privacy privileges do not impact reports
available on the Monitor > Reports node and you
should therefore disable access to the reports if
you have user privacy requirements.
No
Yes
No
Yes
View Predefined
URL Filtering Reports
Device Management
67
Device Management
Access Level
Description
Enable
View Predefined
Traffic Reports
Read Only
Disable
No
Yes
Description
Security
Read Only
Disable
Yes
Yes
NAT
Yes
Yes
QoS
Yes
Yes
Policy Based
Forwarding
Yes
Yes
68
Enable
Device Management
Device Management
Access Level
Description
Decryption
Enable
Read Only
Disable
Yes
Yes
Application Override
Yes
Yes
Captive Portal
Yes
Yes
DoS Protection
Yes
Yes
Addresses
Device Management
Enable
Read Only
Disable
Yes
Yes
Yes
69
Access Level
Device Management
Enable
Read Only
Disable
Address Groups
Yes
Yes
Yes
Regions
Yes
Yes
Yes
Applications
Yes
Yes
Yes
Application Groups
Yes
Yes
Application Filters
Yes
Yes
Yes
Services
Yes
Yes
Service Groups
Yes
Yes
Yes
Yes
Yes
Yes
GlobalProtect
No
Yes
HIP Objects
Yes
Yes
HIP Profiles
Yes
Yes
Yes
Yes
Yes
70
Device Management
Device Management
Access Level
Enable
Read Only
Disable
No
Yes
Custom Objects
Data Patterns
Yes
Yes
Yes
Spyware
Yes
Yes
Yes
Vulnerability
Yes
Yes
Yes
URL Category
Yes
Yes
Yes
Security Profiles
No
Yes
Antivirus
Yes
Yes
Yes
Anti-Spyware
Yes
Yes
Yes
Yes
Yes
Yes
URL Filtering
Yes
Yes
Yes
File Blocking
Yes
Yes
Yes
Data Filtering
Yes
Yes
Yes
DoS Protection
Yes
Yes
Yes
Security Profile Groups Specifies whether the admin can view, add, or
delete security profile groups.
Yes
Yes
Yes
Device Management
71
Access Level
Device Management
Enable
Read Only
Disable
Log Forwarding
Yes
Yes
Yes
Decryption Profile
Yes
Yes
Yes
Schedules
Yes
Yes
Enable
Read Only
Disable
Interfaces
Yes
Yes
Yes
Zones
Yes
Yes
Yes
VLANs
Yes
Yes
Yes
Virtual Wires
Yes
Yes
Yes
Virtual Routers
Yes
Yes
IPSec Tunnels
Yes
Yes
Yes
DHCP
Yes
Yes
Yes
DNS Proxy
Yes
Yes
Yes
72
Device Management
Device Management
Access Level
GlobalProtect
Enable
Read Only
Disable
No
Yes
Portals
Yes
Yes
Yes
Gateways
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Controls access to the Network Profiles > IKE
Gateways node. If you disable this privilege, the
administrator will not see the IKE Gateways node
or define gateways that include the configuration
information necessary to perform IKE protocol
negotiation with peer gateway.
Yes
Yes
Yes
Yes
Yes
Yes
MDM
QoS
Network Profiles
IKE Gateways
IKE Crypto
Device Management
Yes
Controls how devices exchange information to
ensure secure communication. Specify the
protocols and algorithms for identification,
authentication, and encryption in VPN tunnels
based on IPsec SA negotiation (IKEv1 Phase-1).
73
Access Level
Monitor
Device Management
Enable
Yes
Controls access to the Network Profiles >
Monitor node. If you disable this privilege, the
administrator will not see the Network Profiles >
Monitor node or be able to create or edit a
monitor profile that is used to monitor IPSec
tunnels and monitor a next-hop device for
policy-based forwarding (PBF) rules.
Read Only
Disable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Controls access to the Network Profiles >
Interface Mgmt node. If you disable this privilege,
the administrator will not see the Network
Profiles > Interface Mgmt node or be able to
specify the protocols that are used to manage the
firewall.
If the privilege state is set to read only, you can
view the currently configured Interface
management profile configuration but cannot add
or edit a configuration.
Zone Protection
QoS Profile
Yes
Controls access to the Network Profiles > QoS
node. If you disable this privilege, the
administrator will not see the Network Profiles >
QoS node or be able to configure a profile QoS
profile that determines how QoS traffic classes are
treated.
If the privilege state is set to read only, you can
view the currently configured QoS profile
configuration but cannot add or edit a
configuration.
74
Device Management
Device Management
Setup
Enable
Read Only
Disable
Yes
Yes
No
Yes
Admin Roles
No
Controls access to the Admin Roles node. This
function can only be allowed for read only access.
Yes
Yes
Yes
Yes
Yes
Yes
Virtual Systems
Yes
Device Management
75
Access Level
Shared Gateways
Device Management
Enable
Read Only
Disable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
User Identification
76
Device Management
Device Management
Access Level
Certificates
Enable
Read Only
Disable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
OCSP Responder
Response Pages
Log Settings
Device Management
77
Access Level
System
Device Management
Enable
Yes
Controls access to the Log Settings > System
node. If you disable this privilege, the
administrator will not see the Log Settings >
System node or be able to specify the severity
levels of the system log entries that are logged
remotely with Panorama and sent as SNMP traps,
syslog messages, and/or email notifications.
Read Only
Disable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Controls access to the Log Settings > Config
node. If you disable this privilege, the
administrator will not see the Log Settings >
Config node or be able to specify the
configuration log entries that are logged remotely
with Panorama, and sent as syslog messages
and/or email notification.
If you set this privilege to read only, the
administrator can view the Log Settings > Config
configuration for the device but is not allowed to
create or edit a configuration.
HIP Match
Alarms
78
Device Management
Device Management
Access Level
Enable
Read Only
Disable
Yes
Yes
Yes
Server Profiles
No
Yes
SNMP Trap
Yes
Controls access to the Server Profiles> SNMP
Trap node. If you disable this privilege, the
administrator will not see the Server Profiles>
SNMP Trap node or be able to specify one or more
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Manage Logs
Device Management
79
Access Level
Netflow
Device Management
Enable
Read Only
Disable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
LDAP
Yes
Controls access to the Server Profiles> LDAP
node. If you disable this privilege, the
administrator will not see the Server Profiles>
LDAP node or be able to configure settings for the
LDAP servers to use for authentication by way of
authentication profiles.
If you set this privilege to read only, the
administrator can view the Server Profiles>
LDAP information but cannot configure settings
for the LDAP servers.
Kerberos
80
Device Management
Device Management
Access Level
Users
Enable
Read Only
Disable
Yes
Yes
Yes
Yes
Yes
Yes
Controls access to the Authentication Profile
node. If you disable this privilege, the
administrator will not see the Authentication
Profile node or be able to create or edit
authentication profiles that specify local database,
RADIUS, LDAP, or Kerberos settings that can be
assigned to administrator accounts.
Yes
Yes
Yes
Yes
Yes
Controls access to the Local User Database >
Users node. If you disable this privilege, the
administrator will not see the Local User
Database > Users node or set up a local database
on the firewall to store authentication information
for remote access users, device administrators, and
captive portal users.
If you set this privilege to read only, the
administrator can view the Local User Database
> Users information but cannot set up a local
database on the firewall to store authentication
information.
User Groups
Authentication Profile
Device Management
81
Access Level
Access Domain
Device Management
Enable
Read Only
Disable
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Controls access to the Scheduled Log Export
node. If you disable this privilege, the
administrator will not see the Scheduled Log
Export node or be able schedule exports of logs
and save them to a File Transfer Protocol (FTP)
server in CSV format or use Secure Copy (SCP) to
securely transfer data between the device and a
remote host.
If you set this privilege to read only, the
administrator can view the Scheduled Log Export
Profile information but cannot schedule the
export of logs.
Software
Yes
Controls access to the Software node. If you
disable this privilege, the administrator will not see
the Software node or view the latest versions of
the PAN-OS software available from Palo Alto
Networks, read the release notes for each version,
and select a release to download and install.
If you set this privilege to read only, the
administrator can view the Software information
but cannot download or install software.
GlobalProtect Client
Yes
82
Device Management
Device Management
Access Level
Dynamic Updates
Enable
Read Only
Disable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Controls access to the Licenses node. If you
disable this privilege, the administrator will not see
the Licenses node or be able to view the licenses
installed or activate licenses.
If you set this privilege to read only, the
administrator can view the installed Licenses, but
cannot perform license management functions.
Support
Yes
Controls access to the Support node. If you
disable this privilege, the administrator will not see
the Support node or be able to access product and
security alerts from Palo Alto Networks or
generate tech support or stats dump files.
If you set this privilege to read only, the
administrator can view the Support node and
access product and security alerts but cannot
generate tech support or stats dump files.
Yes
Controls access to the Master Key and
Diagnostics node. If you disable this privilege, the
administrator will not see the Master Key and
Diagnostics node or be able to specify a master
key to encrypt private keys on the firewall.
If you set this privilege to read only, the
administrator can view the Master Key and
Diagnostics node and view information about
master keys that have been specified but cannot
add or edit a new master key configuration.
Access Level
Description
Privacy
Device Management
Enable
Read Only
Disable
N/A
Yes
83
Access Level
Show Full IP
addresses
Description
Device Management
Enable
Read Only
Disable
N/A
Yes
N/A
Yes
N/A
Yes
Yes
Description
Enable
Read Only
Disable
Commit
Yes
N/A
Yes
84
Device Management
Device Management
Description
Global
System Alarms
Enable
Read Only
Disable
Sets the default state to enable or disable for all of the Yes
global settings described below. In effect, this setting
is only for System Alarms at this time.
N/A
Yes
N/A
Yes
Yes
Template admin
If an administrator is given superuser privileges on the CLI, the administrator has complete access to all features
regardless of the privileges given from the web interface.
Access Level
Description
Dashboard
Read Only
Disable
No
Yes
ACC
No
Yes
Monitor
No
Yes
Device Management
Enable
85
Access Level
Description
Policies
Device Management
Enable
Read Only
Disable
No
Yes
Objects
No
Yes
Network
No
Yes
Device
No
Yes
86
Device Management
Certificate Management
The following topics describe the different keys and certificates that Palo Alto Networks devices use, and how
to obtain and manage them:
Certificate Revocation
Certificate Deployment
Obtain Certificates
Certificate Management
87
Certificate Management
User authentication for Captive Portal, GlobalProtect, Mobile Security Manager, and firewall/Panorama web
interface access.
Device authentication for IPSec site-to-site VPN with Internet Key Exchange (IKE).
Decrypting inbound and outbound SSL traffic. A firewall decrypts the traffic to apply security policies and
rules, then re-encrypts it before forwarding the traffic to the final destination. For outbound traffic, the
firewall acts as a forward proxy server, establishing an SSL/TLS connection to the destination server. To
secure a connection between itself and the client, the firewall uses a signing certificate to automatically generate
a copy of the destination server certificate.
The following table describes the keys and certificates that Palo Alto Networks devices use. As a best practice,
use different keys/certificates for each usage.
Table: Palo Alto Networks Device Keys/Certificates
Key/Certificate Usage
Description
Administrative Access
Secure access to device administration interfaces (HTTPS access to the web interface)
requires a server certificate for the MGT interface (or a designated interface on the
dataplane if the device does not use MGT) and, optionally, a certificate to authenticate the
administrator.
Captive Portal
In deployments where Captive Portal identifies users who access HTTPS resources,
designate a server certificate for the Captive Portal interface. If you configure Captive Portal
to use certificates (instead of, or in addition to, username/password credentials) for user
identification, designate a user certificate also. For more information on Captive Portal, see
Map IP Addresses to User Names Using Captive Portal.
Forward Trust
For outbound SSL/TLS traffic, if a firewall acting as a forward proxy trusts the CA that
signed the certificate of the destination server, the firewall uses the forward trust CA
certificate to generate a copy of the destination server certificate to present to the client. The
firewall uses the same decryption key for all forward trust certificates. For added security,
store the key on a hardware security module (for details, see Secure Keys with a Hardware
Security Module).
Forward Untrust
For outbound SSL/TLS traffic, if a firewall acting as a forward proxy does not trust the CA
that signed the certificate of the destination server, the firewall uses the forward untrust CA
certificate to generate a copy of the destination server certificate to present to the client.
88
Certificate Management
Certificate Management
Key/Certificate Usage
Description
The keys that decrypt inbound SSL/TLS traffic for inspection and policy enforcement. For
this application, import onto the firewall a private key for each server that is subject to
SSL/TLS inbound inspection. See Configure SSL Inbound Inspection.
Certificates for servers to exclude from SSL/TLS decryption. For example, if you enable
SSL decryption but your network includes servers for which the firewall should not decrypt
traffic (for example, web services for your HR systems), import the corresponding
certificates onto the firewall and configure them as SSL Exclude Certificates. See Configure
Decryption Exceptions.
GlobalProtect
In a site-to-site IPSec VPN deployment, peer devices use Internet Key Exchange (IKE)
gateways to establish a secure channel. IKE gateways use certificates or preshared keys to
authenticate the peers to each other. You configure and assign the certificates or keys when
defining an IKE gateway on a firewall. See Site-to-Site VPN Overview.
Master Key
The firewall uses a master key to encrypt all private keys and passwords. If your network
requires a secure location for storing private keys, you can use an encryption (wrapping) key
stored on a hardware security module (HSM) to encrypt the master key. For details, see
Encrypt a Master Key Using an HSM.
Secure Syslog
The certificate to enable secure connections between the firewall and a syslog server. See
Configure the Firewall to Authenticate to the Syslog Server.
Trusted Root CA
The designation for a root certificate issued by a CA that the firewall trusts. The firewall can
use a self-signed root CA certificate to automatically issue certificates for other applications
(for example, SSL Forward Proxy).
Also, if a firewall must establish secure connections with other firewalls, the root CA that
issues their certificates must be in the list of trusted root CAs on the firewall.
Certificate Management
89
Certificate Revocation
Certificate Management
Certificate Revocation
Palo Alto Networks devices use digital certificates to ensure trust between parties in a secure communication
session. Configuring a device to check the revocation status of certificates provides additional security. A party
that presents a revoked certificate is not trustworthy. When a certificate is part of a chain, the device checks the
status of every certificate in the chain except the root CA certificate, for which the device cannot verify
revocation status.
Various circumstances can invalidate a certificate before the expiration date. Some examples are a change of
name, change of association between subject and certificate authority (for example, an employee terminates
employment), and compromise (known or suspected) of the private key. Under such circumstances, the
certificate authority that issued the certificate must revoke it.
Palo Alto Networks devices support the following methods for verifying certificate revocation status. If you
configure both, the devices first try the OCSP method; if the OCSP server is unavailable, the devices use the
CRL method.
90
Certificate Management
Certificate Management
Certificate Revocation
authority (CA) that issued the certificate and returns a response containing the status (good, revoked or unknown)
to the client. The advantage of the OCSP method is that it can verify status in real-time, instead of depending
on the issue frequency (hourly, daily, or weekly) of CRLs.
The Palo Alto Networks firewall downloads and caches OCSP status information for every CA listed in the
trusted CA list of the firewall. Caching only applies to validated certificates; if a firewall never validated a
certificate, the firewall cache does not store the OCSP information for the issuing CA. If your enterprise has its
own public key infrastructure (PKI), you can configure the firewall as an OCSP responder (see Configure an
OCSP Responder).
To use OCSP for verifying the revocation status of certificates when the firewall functions as an SSL forward
proxy, perform the steps under Configure Revocation Status Verification of Certificates Used for SSL/TLS
Decryption.
The following applications use certificates to authenticate users and/or devices: Captive Portal, GlobalProtect
(remote user-to-site or large scale), site-to-site IPSec VPN, and firewall/Panorama web interface access. To use
OCSP for verifying the revocation status of the certificates:
To cover situations where the OCSP responder is unavailable, configure CRL as a fall-back method. For details,
see Configure Revocation Status Verification of Certificates Used for User/Device Authentication.
Certificate Management
91
Certificate Deployment
Certificate Management
Certificate Deployment
The basic approaches to deploy certificates for Palo Alto Networks devices are:
Obtain certificates from a trusted third-party CAThe benefit of obtaining a certificate from a trusted
third-party certificate authority (CA) such as VeriSign or GoDaddy is that end clients will already trust the
certificate because common browsers include root CA certificates from well-known CAs in their trusted
root certificate stores. Therefore, for applications that require end clients to establish secure connections
with a Palo Alto Network device, purchase a certificate from a CA that the end clients trust to avoid having
to pre-deploy root CA certificates to the end clients. (Some such applications are a GlobalProtect portal or
GlobalProtect Mobile Security Manager.) However, note that most third-party CAs cannot issue signing
certificates. Therefore, this type of certificate is not appropriate for applications (for example, SSL/TLS
decryption and large-scale VPN) that require the firewall to issue certificates.
Obtain certificates from an enterprise CAEnterprises that have their own internal CA can use it to
issue certificates for firewall applications and import them onto the firewall. The benefit is that end clients
probably already trust the enterprise CA. You can either generate the needed certificates and import them
onto the firewall, or generate a certificate signing request (CSR) on the firewall and send it to the enterprise
CA for signing. The benefit of this method is that the private key does not leave the firewall. An enterprise
CA can also issue a signing certificate, which the firewall uses to automatically generate certificates (for
example, for GlobalProtect large-scale VPN or sites requiring SSL/TLS decryption).
Generate self-signed certificatesYou can generate a self-signed root CA certificate on the firewall and
use it to automatically issue certificates for other firewall applications. Note that if you use this method to
generate certificates for an application that requires an end client to trust the certificate, end users will see a
certificate error because the root CA certificate is not in their trusted root certificate store. To prevent this,
deploy the self-signed root CA certificate to all end user systems. You can deploy the certificates manually
or use a centralized deployment method such as an Active Directory Group Policy Object (GPO).
92
Certificate Management
Certificate Management
Step 1
1.
2.
3.
4.
5.
Certificate Management
Click OK.
93
Certificate Management
Step 2
1.
Step 3
4.
Select Network > Interfaces and click the name of the interface
that the firewall will use for OCSP services. The OCSP Host
Name specified in Step 1 must resolve to an IP address in this
interface.
5.
6.
Step 1
Step 2
94
Certificate Management
Certificate Management
Step 1
In a firewall, select Device > Setup > Session and, in the Session
Features section, select Decryption Certificate Revocation
Settings.
In Panorama, select Device > Setup > Session, select a Template
and, in the Session Features section, select Decryption Certificate
Revocation Settings.
Step 2
In the OCSP section, select the Enable check box and enter the
Receive Timeout. This is the interval (1-60 seconds) after
which the firewall stops waiting for a response from the OCSP
responder.
Certificate Management
95
Certificate Management
Step 3
Step 4
Define the blocking behavior for unknown If you want the firewall to block SSL/TLS sessions when the OCSP
certificate status or a revocation status
or CRL service returns a certificate revocation status of unknown,
request timeout.
select the Block Session With Unknown Certificate Status check
box. Otherwise, the firewall proceeds with the session.
If you want the firewall to block SSL/TLS sessions after it registers
a request timeout, select the Block Session On Certificate Status
Check Timeout check box. Otherwise, the firewall proceeds with
the session.
Step 5
96
Certificate Management
Certificate Management
1.
In a firewall, select Device > Master Key and Diagnostics and, in the Master Key section, click the Edit
icon.
In Panorama, select Panorama > Master Key and Diagnostics and, in the Master Key section, click the Edit
icon.
2.
3.
Define a new New Master Key and then Confirm New Master Key. The key must contain exactly 16 characters.
4.
(Optional) To specify the master key Life Time, enter the number of Days and/or Hours after which the key will
expire. If you set a life time, create a new master key before the old key expires.
5.
(Optional) If you set a key life time, enter a Time for Reminder that specifies the number of Days and Hours
preceding master key expiration when the firewall emails you a reminder.
6.
(Optional) Select whether to use an HSM to encrypt the master key. For details, see Encrypt a Master Key Using an
HSM.
7.
Certificate Management
97
Obtain Certificates
Certificate Management
Obtain Certificates
1.
In a firewall, select Device > Certificate Management > Certificates > Device Certificates.
In Panorama, select Device > Certificate Management > Certificates > Device Certificates and select a Template.
2.
If the device supports multiple virtual systems, the tab displays a Location drop-down. Select a virtual system for the
certificate. To make the certificate available to all virtual systems, select the shared option described in Step 6.
3.
Click Generate.
4.
Enter a Certificate Name, such as GlobalProtect_CA. The name is case-sensitive and can have up to 31 characters. It
must be unique and use only letters, numbers, hyphens, and underscores.
5.
In the Common Name field, enter the FQDN (recommended) or IP address of the interface where you will configure
the service that will use this certificate.
6.
To make the certificate available to all virtual systems, select the Shared check box. This check box only appears if
the device supports multiple virtual systems.
7.
8.
9.
Do not select an OCSP Responder. Certificate revocation status verification does not apply to root CA certificates.
98
Certificate Management
Certificate Management
Obtain Certificates
1.
In a firewall, select Device > Certificate Management > Certificates > Device Certificates.
In Panorama, select Device > Certificate Management > Certificates > Device Certificates and select a Template.
2.
If the device supports multiple virtual systems, the tab displays a Location drop-down. Select a virtual system for the
certificate. To make the certificate available to all virtual systems, select the shared option described in Step 6.
3.
Click Generate.
4.
Enter a Certificate Name. The name is case-sensitive and can have up to 31 characters. It must be unique and use
only letters, numbers, hyphens, and underscores.
5.
In the Common Name field, enter the FQDN (recommended) or IP address of the interface where you will configure
the service that will use this certificate.
6.
To make the certificate available to all virtual systems, select the Shared check box. This check box only appears if
the device supports multiple virtual systems.
7.
In the Signed By field, select the root CA certificate that will issue the certificate.
8.
9.
(Optional) Define the Cryptographic Settings as necessary to create a certificate that will work with the devices that
must authenticate to it. The default and recommended key size (Number of Bits) is 2048 bits. The default and
recommended encryption algorithm (Digest) is SHA256.
10. (Optional) Add the Certificate Attributes to uniquely identify the firewall and the service that will use the certificate.
If you add a Host Name (DNS name) attribute, it is a best practice for it to match the Common Name. The
host name populates the Subject Alternative Name field of the certificate.
11. Click Generate and, in the Device Certificates tab, click the certificate Name.
12. Select the check boxes that correspond to the intended use of the certificate on the firewall. For example, if the
firewall will use this certificate to authenticate user access to its web interface, select the Certificate for Secure Web
GUI check box.
13. Click OK and Commit.
Certificate Management
99
Obtain Certificates
Certificate Management
1.
From the enterprise CA, export the certificate and private key that the firewall will use for authentication.
When exporting a private key, you must enter a passphrase to encrypt the key for transport. Ensure the management
system can access the certificate and key files. When importing the key onto the firewall, you must enter the same
passphrase to decrypt it.
2.
In a firewall, select Device > Certificate Management > Certificates > Device Certificates.
In Panorama, select Device > Certificate Management > Certificates > Device Certificates and select a Template.
3.
If the device supports multiple virtual systems, the tab displays a Location drop-down. Select a virtual system for the
certificate. To make the certificate available to all virtual systems, select the shared option described in Step 6.
4.
Click Import.
5.
Enter a Certificate Name. The name is case-sensitive and can have up to 31 characters. It must be unique and use
only letters, numbers, hyphens, and underscores.
6.
To make the certificate available to all virtual systems, select the Shared check box. This check box only appears if
the device supports multiple virtual systems.
7.
Enter the path and name of the Certificate File received from the CA, or Browse to find the file.
8.
9.
Enter and re-enter (confirm) the Passphrase used to encrypt the private key.
10. Click OK. The Device Certificates tab displays the imported certificate.
100
Certificate Management
Certificate Management
Obtain Certificates
Step 1
1.
2.
3.
Click Generate.
4.
5.
6.
7.
8.
9.
10. Click Generate. The Device Certificates tab displays the CSR
with a Status of pending.
Step 2
Certificate Management
1.
Select the CSR and click Export to save the .csr file to a local
computer.
2.
101
Obtain Certificates
Certificate Management
Step 3
Step 4
102
1.
2.
3.
Enter the path and name of the PEM Certificate File that the
CA sent, or Browse to it.
4.
1.
2.
3.
Certificate Management
Certificate Management
Step 1
Step 2
1.
Certificate Management
2.
3.
103
Certificate Management
Step 3
3.
4.
104
Certificate Management
Certificate Management
Step 4
1.
Select Use CRL and/or Use OCSP. If you select both, the
firewall first tries OCSP and only falls back to the CRL method
if the OCSP responder is unavailable.
2.
3.
Step 5
Certificate Management
4.
5.
105
Certificate Management
Revoke a Certificate
Renew a Certificate
Revoke a Certificate
Various circumstances can invalidate a certificate before the expiration date. Some examples are a change of
name, change of association between subject and certificate authority (for example, an employee terminates
employment), and compromise (known or suspected) of the private key. Under such circumstances, the
certificate authority (CA) that issued the certificate must revoke it. The following task describes how to revoke
a certificate for which the firewall is the CA.
Revoke a Certificate
1.
Select Device > Certificate Management > Certificates > Device Certificates.
2.
If the device supports multiple virtual systems, the tab displays a Location drop-down. Select the virtual system to
which the certificate belongs.
3.
4.
Click Revoke. PAN-OS immediately sets the status of the certificate to revoked and adds the serial number to the
Open Certificate Status Protocol (OCSP) responder cache or certificate revocation list (CRL). You need not perform
a commit.
Renew a Certificate
If a certificate expires, or soon will, you can reset the validity period. If an external certificate authority (CA)
signed the certificate and the firewall uses the Open Certificate Status Protocol (OCSP) to verify certificate
revocation status, the firewall uses the OCSP responder information to update the certificate status (see
Configure an OCSP Responder). If the firewall is the CA that issued the certificate, the firewall replaces it with
a new certificate that has a different serial number but the same attributes as the old certificate.
Renew a Certificate
1.
In a firewall, select Device > Certificate Management > Certificates > Device Certificates.
In Panorama, select Device > Certificate Management > Certificates > Device Certificates and select a Template.
2.
If the device supports multiple virtual systems, the tab displays a Location drop-down. Select the virtual system to
which the certificate belongs.
3.
4.
5.
106
Certificate Management
Certificate Management
The following topics describe how to set up connectivity between the firewall/Panorama and one of the
supported HSMs:
Certificate Management
107
Certificate Management
Step 1
1.
2.
where <cl-name> is a name that you assign to the firewall for use on the
HSM and <fw-ip-addr> is the IP address of the firewall that is being
configured as an HSM client.
Assign a partition to the firewall using the following command:
client assignpartition -c <cl-name> -p <partition-name>
register
1.
Log in to the firewall web interface and select Device > Setup > HSM.
2.
Edit the Hardware Security Module Provider section and select Safenet
Luna SA as the Provider Configured.
3.
Click Add and enter a Module Name. This can be any ASCII string up
to 31 characters in length.
4.
Enter the IPv4 address of the HSM module as the Server Address.
If you are configuring a high availability HSM configuration, enter
module names and IP addresses for the additional HSM devices.
5.
Step 3
6.
1.
2.
3.
7.
108
Certificate Management
Certificate Management
Step 4
1.
2.
3.
4.
5.
Click OK.
The firewall attempts to perform an authentication with the HSM and
displays a status message.
6.
Step 5
Step 6
(Optional) Configure an
additional HSM for high
availability (HA).
Click OK.
Select Device > Setup > HSM.
Click the Refresh icon.
3.
4.
5.
Click OK.
1.
2.
Step 7
1.
2.
3.
firewall.
Module StateThe current operating state of the HSM. It always has
Certificate Management
109
Certificate Management
HSM configuration is not synced between high availability firewall peers. Consequently, you must
configure the HSM module separately on each of the peers.
If the high availability firewall configuration is in Active-Passive mode, you must manually perform
one failover to configure and authenticate each HA peer individually to the HSM. After this manual
failover has been performed, user interaction is not required for the failover function.
Step 1
1.
Configure the Thales
Nshield Connect server as
the firewalls HSM
2.
provider.
3.
4.
From the firewall web interface, select Device > Setup > HSM and edit the
Hardware Security Module Provider section.
Select Thales Nshield Connect as the Provider Configured.
Click Add and enter a Module Name. This can be any ASCII string up to 31
characters in length.
Enter the IPv4 address as the Server Address of the HSM module.
If you are configuring a high availability HSM configuration, enter module
names and IP addresses for the additional HSM devices.
Step 2
5.
6.
1.
(Optional) Configure a
service route to enable the 2.
firewall to connect to the
3.
HSM.
4.
By default, the firewall
5.
uses the Management
Interface to communicate 6.
with the HSM. To use a
different interface, you
must configure a service
route.
7.
Step 3
110
3.
4.
Select System > System configuration > Client config > Remote file system
and enter the IP address of the client computer where you set up the remote
file system.
Certificate Management
Certificate Management
Step 4
1.
2.
Obtain the electronic serial number (ESN) and the hash of the KNETI key. The
KNETI key authenticates the module to clients:
anonkneti <ip-address>
Use the following command from a superuser account to perform the remote
filesystem setup:
rfs-setup --force <ip-address> <ESN> <hash-Kneti-key>
<hash-Kneti-key>
4.
Use the following command to permit client submit on the Remote Filesystem:
rfs-setup --gang-client --write-noauth <FW-IPaddress>
1.
From the firewall web interface, select Device > Setup > HSM.
2.
3.
Click OK.
The firewall attempts to perform an authentication with the HSM and displays
a status message.
Step 6
Certificate Management
4.
Click OK.
1.
2.
111
Certificate Management
Step 7
3.
The following topics describe how to encrypt the master key initially and how to refresh the master key
encryption:
1.
112
Certificate Management
Certificate Management
Step 8
Specify the key that is currently used to encrypt all of the private keys and passwords on the firewall in the
Master Key field.
Step 9
If changing the master key, enter the new master key and confirm.
1.
Use the following CLI command to rotate the wrapping key for the master key on an HSM:
> request hsm mkey-wrapping-key-rotation
If the master key is encrypted on the HSM, the CLI command will generate a new wrapping key on the HSM and
encrypt the master key with the new wrapping key.
If the master key is not encrypted on the HSM, the CLI command will generate new wrapping key on the HSM for
future use.
The old wrapping key is not deleted by this command.
SSL forward proxyThe private key in the CA certificate that is used to sign certificates in SSL/TLS
forward proxy operations can be stored on the HSM. The firewall will then send the certificates it generates
during SSL/TLS forward proxy operations to the HSM for signing before forwarding them on to the client.
SSL inbound inspectionThe private keys for the internal servers for which you are doing SSL/TLS
inbound inspection can be stored on the HSM.
For instructions on importing the private keys onto the HSM, refer to the documentation from your HSM
provider. After the required keys are on the HSM, you can configure the firewall to locate the keys as follows:
Certificate Management
113
Certificate Management
For instructions on importing the private keys onto the HSM, refer to the
documentation from your HSM provider.
Step 1
Step 2
Step 3
Step 4
Step 5
1.
Import the certificate(s) that
correspond to the private key(s)
you are storing on the HSM onto 2.
the firewall.
3.
From the firewall web interface, select Device > Setup > HSM.
Select Synchronize with Remote Filesystem in the Hardware Security
Operations section.
From the firewall web interface, select Device > Certificate
Management > Certificates > Device Certificates.
Click Import.
Enter the Certificate Name.
4.
5.
6.
7.
1.
Select the Device > Certificate Management > Certificates > Device
Certificates.
2.
3.
4.
114
Certificate Management
Certificate Management
Select Show Detailed Information from the Hardware Security Operations section.
Select Export Support File from the Hardware Security Operations section.
Information regarding the HSM servers, HSM HA status, and HSM hardware is
displayed.
A test file is created to help customer support when addressing a problem with an
HSM configuration on the firewall.
Select Reset HSM Configuration from the Hardware Security Operations section.
Selecting this option removes all HSM connections. All authentication procedures
must be repeated after using this option.
Certificate Management
115
116
Certificate Management
Certificate Management
High Availability
High availability (HA) is a configuration in which two firewalls are placed in a group and their configuration is
synchronized to prevent a single point to failure on your network. A heartbeat connection between the firewall
peers ensures seamless failover in the event that a peer goes down. Setting up the firewalls in a two-device cluster
provides redundancy and allows you to ensure business continuity.
The Palo Alto Networks firewalls support stateful active/passive or active/active high availability with session
and configuration synchronization. Some models of the firewall, such as the VM-Series firewall and the PA-200,
only support HA lite without session synchronization capability. The following topics provide more
information about high availability and how to configure it in your environment.
HA Overview
HA Concepts
Set Up Active/Passive HA
HA Resources
High Availability
117
HA Overview
High Availability
HA Overview
On Palo Alto Networks firewalls, you can set up two devices as an HA pair. HA allows you to minimize
downtime by making sure that an alternate device is available in the event that the primary device fails. The
devices use dedicated or in-band HA ports on the firewall to synchronize datanetwork, object, and policy
configurationsand to maintain state information. Device specific configuration such as management port IP
address or administrator profiles, HA specific configuration, log data, and the Application Command Center
(ACC) information is not shared between devices. For a consolidated application and log view across the HA
pair, you must use Panorama, the Palo Alto Networks centralized management system.
When a failure occurs on the active device and the passive device takes over the task of securing traffic, the event
is called a failover. The conditions that trigger a failover are:
One or more of the destinations specified on the device cannot be reached. (Path Monitoring)
The device does not respond to heartbeat polls. (Heartbeat Polling and Hello messages)
118
High Availability
High Availability
HA Concepts
HA Concepts
The following topics provide conceptual information about how HA works on a Palo Alto Networks firewall:
HA Modes
Failover Triggers
HA Timers
HA Modes
You can set up the firewalls for HA in two modes:
Active/Passive One device actively manages traffic while the other is synchronized and ready to
transition to the active state, should a failure occur. In this configuration, both devices share the same
configuration settings, and one actively manages traffic until a path, link, system, or network failure occurs.
When the active device fails, the passive device takes over seamlessly and enforces the same policies to
maintain network security. Active/passive HA is supported in the virtual wire, Layer 2 and Layer 3
deployments. For information on setting up your devices in an active/passive configuration, see Configure
Active/Passive HA.
The PA-200 and the VM-Series firewalls support a lite version of active/passive HA. HA lite
provides configuration synchronization and some runtime data synchronization such as IPSec
security associations. It does not support any session synchronization, and therefore, HA Lite
does not offer stateful failover.
Active/Active Both the devices in the pair are active and processing traffic, and work synchronously to
handle session setup and session ownership. The active/active deployment is supported in virtual wire and
Layer 3 deployments, and is only recommended for networks with asymmetric routing. For information on
setting up the devices in an active/active configuration, refer to the Active/Active High Availability Tech
Note.
High Availability
119
HA Concepts
High Availability
The HA1 and HA2 links provide synchronization for functions that reside on
the management plane. Using the dedicated HA interfaces on the management
plane is more efficient than using the in-band ports as this eliminates the need to
pass the synchronization packets over the dataplane.
Control Link: The HA1 link is used to exchange hellos, heartbeats, and HA state information, and
management plane sync for routing, and User-ID information. This link is also used to synchronize
configuration changes on either the active or passive device with its peer. The HA1 link is a Layer 3 link and
requires an IP address.
Ports used for HA1: TCP port 28769 and 28260 for clear text communication; port 28 for encrypted
communication (SSH over TCP).
Data Link: The HA2 link is used to synchronize sessions, forwarding tables, IPSec security associations and
ARP tables between devices in an HA pair. Data flow on the HA2 link is always unidirectional (except for
the HA2 keep-alive); it flows from the active device to the passive device. The HA2 link is a Layer 2 link,
and it uses ether type 0x7261 by default.
Ports used for HA2: The HA data link can be configured to use either IP (protocol number 99) or UDP
(port 29281) as the transport, and thereby allow the HA data link to span subnets.
Additionally, an HA3 link is used in Active/Active HA deployments. When there is an asymmetric route, the
HA3 link is used for forwarding packets to the HA peer that owns the session. The HA3 link is a Layer 2
link and it does not support Layer 3 addressing or encryption.
Backup Links: Provide redundancy for the HA1 and the HA2 links. In-band ports are used as backup links
for both HA1 and HA2.Consider the following guidelines when configuring backup HA links:
The IP addresses of the primary and backup HA links must not overlap each other.
HA1-backup and HA2-backup ports must be configured on separate physical ports. The HA1-backup
link uses port 28770 and 28260.
Palo Alto Networks recommends enabling heartbeat backup (uses port 28771 on the MGT
interface) if you use an in-band port for the HA1 or the HA1 backup links.
120
High Availability
High Availability
HA Concepts
HA Links and
Backup Links
Control Link
HA1-A
Description
Control Link
Backup
HA1-B
Data Link
HSCI-A
(High Speed Chassis
Interconnect)
Data Link
Backup
HSCI-B
(High Speed Chassis
Interconnect)
The Quad Port SFP (QSFP) interfaces (see description above) in the
HSCI-B port is used to increase the bandwidth for HA2/HA3
purposes.
The HSCI ports are not routable and must be connected directly to
each other.
Palo Alto Networks recommends using the dedicated HSCI-B ports
for both HA2 and HA3 backup connections. The HA2/HA3 backup
link can be configured on the NPC data ports, if needed.
High Availability
121
HA Concepts
High Availability
device. The device with the lower numerical value, and therefore higher priority, is designated as active and
manages all traffic on the network. The other device is in a passive state, and synchronizes configuration and
state information with the active device so that it is ready to transition to an active state should a failure occur.
By default, preemption is disabled on the firewalls and must be enabled on both devices. When enabled, the
preemptive behavior allows the firewall with the higher priority (lower numerical value) to resume as active after
it recovers from a failure. When preemption occurs, the event is logged in the system logs.
Failover Triggers
When a failure occurs on the active device and the passive device takes over the task of securing traffic, the event
is called a failover. A failover is triggered when a monitored metric on the active device fails. The metrics that
are monitored for detecting a device failure are:
Link Monitoring
The physical interfaces to be monitored are grouped into a link group and their state (link up or link down)
is monitored. A link group can contain one or more physical interfaces. A device failure is triggered when
any or all of the interfaces in the group fail. The default behavior is failure of any one link in the link group
will cause the device to change the HA state to non-functional to indicate a failure of a monitored object.
Path Monitoring
Monitors the full path through the network to mission-critical IP addresses. ICMP pings are used to verify
reachability of the IP address. The default interval for pings is 200ms. An IP address is considered
unreachable when 10 consecutive pings (the default value) fail, and a device failure is triggered when any or
all of the IP addresses monitored become unreachable. The default behavior is any one of the IP addresses
becoming unreachable will cause the device to change the HA state to non-functional to indicate a failure of
a monitored object.
In addition to the failover triggers listed above, a failover also occurs when the administrator places the device
is a suspended state or if preemption occurs.
On the PA-3000 Series, PA-5000 Series, and PA-7050 firewalls, a failover can occur when an internal health
check fails. This health check is not configurable and is enabled to verify the operational status for all the
components within the firewall.
122
High Availability
High Availability
HA Concepts
HA Timers
High Availability (HA) timers are used to detect a firewall failure and trigger a failover. To reduce the complexity
in configuring HA timers, you can select from three profiles have been added: Recommended, Aggressive and
Advanced. These profiles auto-populate the optimum HA timer values for the specific firewall platform to
enable a speedier HA deployment.
Use the Recommended profile for typical failover timer settings and the Aggressive profile for faster failover
timer settings. The Advanced profile allows you to customize the timer values to suit your network requirements.
The following table describes each timer included in the profiles and the current preset values across the
different hardware models; these values are for current reference only and can change in a subsequent release.
Recommended/Aggressive HA Timer Values by Platform
Timers
Description
PA-7050
PA-2000 Series
Panorama VM
PA-5000 Series
PA-500 Series
M-100
PA-4000 Series
PA-200 Series
PA-3000 Series
VM-Series
0/0
0/0
0/0
Preemption hold
time
1/1
Time a passive or
active-secondary device will
wait before taking over as the
active or active-primary device.
1/1
1/1
Heartbeat interval
2000/1000
2000/1000
2000/500
2000/500
1000/1000
2000/500
Promotion hold time Time that the passive device
(in active/passive mode) or the
active-secondary device (in
active/active mode) will wait
before taking over as the active
or active-primary device after
communications with the HA
peer have been lost. This hold
time will begin only after the
peer failure declaration has
been made.
High Availability
123
HA Concepts
Timers
High Availability
Description
PA-7050
PA-2000 Series
Panorama VM
PA-5000 Series
PA-500 Series
M-100
PA-4000 Series
PA-200 Series
PA-3000 Series
VM-Series
Additional master
hold up time
500/500
7000/5000
Hello interval
8000/8000
The time interval in
milliseconds between the hello
packets that are sent to verify
that the HA functionality on
the other firewall is
operational. The range is
8000-60000 ms with a default
of 8000 ms for all platforms.
8000/8000
8000/8000
Maximum no. of
flaps
3/3
A flap is counted when the
firewall leaves the active state
within 15 minutes after it last
left the active state. This value
indicates the maximum
number of flaps that are
permitted before the firewall is
determined to be suspended
and the passive firewall takes
over (range 0-16, default 3).
3/3
Not Applicable
124
High Availability
High Availability
Set Up Active/Passive HA
Set Up Active/Passive HA
Configure Active/Passive HA
Verify Failover
The same modelboth the devices in the pair must be of the same hardware model or virtual machine
model.
The same PAN-OS versionboth the devices should be running the same PAN-OS version and must
each be up-to-date on the application, URL, and threat databases. They must also both have the same
multiple virtual systems capability (single or multi vsys).
The same type of interfacesdedicated HA links, or a combination of the management port and
in-band ports that are set to interface type HA.
Determine the IP address for the HA1 (control) connection between the device pair. The HA1 IP
address for both peers must be on the same subnet if they are directly connected or are connected to
the same switch.
For devices without dedicated HA ports, you can use the management port for the control connection.
Using the management port provides a direct communication link between the management planes on
both devices. However, because the management ports will not be directly cabled between the devices,
make sure that you have a route that connects these two interfaces across your network.
If you use Layer 3 as the transport method for the HA2 (data) connection, determine the IP address
for the HA2 link. Use Layer 3 only if the HA2 connection must communicate over a routed network.
The IP subnet for the HA2 links must not overlap with that of the HA1 links or with any other subnet
assigned to the data ports on the firewall.
The same set of licensesLicenses are unique to each device and cannot be shared between the devices.
Therefore, you must license both devices identically. If both devices do not have an identical set of
licenses, they cannot synchronize configuration information and maintain parity for a seamless failover.
If you have an existing firewall and you want to add a new firewall for HA purposes and the new
firewall has an existing configuration, it is recommended that you perform a factory reset on the
new firewall. This will ensure that the new firewall has a clean configuration. After HA is
configured, you will then sync the configuration on the primary device to the newly introduced
device with the clean config.
High Availability
125
Set Up Active/Passive HA
High Availability
The following table lists the settings that must be configured independently on each device:
126
High Availability
High Availability
Set Up Active/Passive HA
Independent
Configuration
Settings
PeerA
PeerB
Control Link
For devices without dedicated HA ports, use the management port IP address for the control
link.
Data Link
Configure Active/Passive HA
The following procedure shows how to configure a pair of firewalls in an active/passive deployment as depicted
in the following example topology.
High Availability
127
Set Up Active/Passive HA
High Availability
Step 1
Step 2
Step 3
128
1.
Select Device > Setup > Management and then click the Edit
icon in the Management Interface Settings section of the screen.
2.
High Availability
High Availability
Set Up Active/Passive HA
Step 4
1.
Step 5
1.
High Availability
Select the interface that you have cabled for use as the HA1 link
in the Port drop down menu. Set the IP address and netmask.
Enter a Gateway IP address only if the HA1 interfaces are on
separate subnets. Do not add a gateway if the devices are directly
connected.
Export the HA key from a device and import it into the peer
device.
a. Select Device > Certificate Management > Certificates.
Step 6
In Device > High Availability > General, edit the Control Link
(HA1) section.
Select Device > High Availability > General, edit the Control
Link (HA1) section.
3.
1.
In Device > High Availability > General, edit the Control Link
(HA1 Backup) section.
2.
Select the HA1 backup interface and set the IP address and
netmask.
129
Set Up Active/Passive HA
High Availability
Step 7
In Device > High Availability > General, edit the Data Link
(HA2) section.
Select the interface for the data link connection.
3.
4.
5.
6.
Step 8
130
7.
Edit the Data Link (HA2 Backup) section, select the interface,
and add the IP address and netmask.
1.
2.
High Availability
High Availability
Set Up Active/Passive HA
Step 9
1.
3.
1.
Step 11 (Optional, only configured on the passive Setting the link state to Auto allows for reducing the amount of time
device) Modify the link status of the HA it takes for the passive device to take over when a failover occurs and
it allows you to monitor the link state.
ports on the passive device.
The passive link state is shutdown,
by default. After you enable HA,
the link state for the HA ports on
the active device will be green and
those on the passive device will be
down and display as red.
To enable the link status on the passive device to stay up and reflect
the cabling status on the physical interface:
1. In Device > High Availability > General, edit the Active Passive
Settings section.
2.
High Availability
131
Set Up Active/Passive HA
High Availability
1.
Select Device > High Availability > General, edit the Setup
section.
2.
3.
4.
5.
6.
Click Commit.
132
High Availability
High Availability
Set Up Active/Passive HA
High Availability
133
Set Up Active/Passive HA
High Availability
Step 1
Step 2
Select Device > High Availability > Link and Path Monitoring.
In the Link Group section, click Add.
Name the Link Group, Add the interfaces to monitor, and select
the Failure Condition for the group. The Link group you define
is added to the Link Group section.
In the Path Group section of the Device > High Availability >
Link and Path Monitoring tab, pick the Add option for your set
up: Virtual Wire, VLAN, or Virtual Router.
Select the appropriate item from the drop-down list for the
Name and Add the IP addresses (source and/or destination, as
prompted) that you wish to monitor. Then select the Failure
Condition for the group. The path group you define is added to
the Path Group section.
Step 4
Click Commit.
If you are using SNMPv3 to monitor the firewalls, note that the SNMPv3 Engine ID is unique to each device; the
EngineID is not synchronized between the HA pair and therefore, allows you to independently monitor each
device in the HA pair. For information on setting up SNMP, see Set Up SNMP Trap Destinations.
Because the EngineID is generated using the devices unique serial number, on the VM-Series firewall you must
apply a valid license in order to obtain a unique EngineID for each firewall.
134
High Availability
High Availability
Set Up Active/Passive HA
Verify Failover
To test that your HA configuration works properly trigger a manual failover and verify that the devices transition
states successfully.
Verify Failover
Step 1
Click the Suspend local device link on the Device > High
Availability > Operational Commands tab.
Step 2
On the Dashboard, verify that the state of the passive device changes
to active in the High Availability widget.
Step 3
1.
Restore the suspended device to a
functional state. Wait for a couple
minutes, and then verify that preemption
has occurred, if preemptive is enabled.
2.
High Availability
135
HA Resources
High Availability
HA Resources
For more information on HA, refer to the following sources:
Active/Active HA
Upgrading an HA pair
Examples: Deploying HA
136
High Availability
Use App-Scope
Manage Reporting
137
Descriptions
Top Applications
Displays the applications with the most sessions. The block size indicates the relative
number of sessions (mouse-over the block to view the number), and the color indicates
the security riskfrom green (lowest) to red (highest). Click an application to view its
application profile.
Similar to Top Applications, except that it displays the highest-risk applications with
the most sessions.
General Information
Displays the device name, model, PAN-OS software version, the application, threat,
and URL filtering definition versions, the current date and time, and the length of time
since the last restart.
Interface Status
Threat Logs
Displays the threat ID, application, and date and time for the last 10 entries in the
Threat log. The threat ID is a malware description or URL that violates the URL
filtering profile.
Config Logs
Displays the administrator username, client (Web or CLI), and date and time for the
last 10 entries in the Configuration log.
Displays the description and date and time for the last 60 minutes in the Data Filtering
log.
Displays the description and date and time for the last 60 minutes in the URL Filtering
log.
System Logs
Displays the description and date and time for the last 10 entries in the System log.
A Config installed entry indicates configuration changes were
committed successfully.
System Resources
Displays the Management CPU usage, Data Plane usage, and the Session Count, which
displays the number of sessions established through the firewall.
Logged In Admins
Displays the source IP address, session type (Web or CLI), and session start time for
each administrator who is currently logged in.
Displays the average risk factor (1 to 5) for the network traffic processed over the past
week. Higher values indicate higher risk.
138
Dashboard Charts
Descriptions
High Availability
If high availability (HA) is enabled, indicates the HA status of the local and peer
devicegreen (active), yellow (passive), or black (other). For more information about
HA, see High Availability.
Locks
139
ACC Charts
ACC Charts
There are five charts displayed on the Application Command Center (ACC) tab:
Application
URL Filtering
Threat Prevention
Data Filtering
HIP Matches
140
The following table describes the charts displayed on the ACC tab:
ACC Chart
Description
Application
URL Filtering
Threat Prevention
Data Filtering
HIP Matches
141
142
Step 1
On the ACC, change one or more of the settings at the top of the page.
Use the drop-down to select Applications, URL Categories, Threats, Content/File Types, and HIP Objects
to view.
Select a virtual system, if virtual systems are defined.
Select a time period from the Time drop-down. The default is Last Hour.
Select a sorting method from the Sort By drop-down. You can sort the charts in descending order by number
of sessions, bytes, or threats. The default is by number of sessions.
For the selected sorting method, select the top number of applications and application categories shown in
each chart from the Top drop-down.
Click the submit icon
to apply the selected settings.
Step 2
To open log pages associated with the information on the page, use the log links in the upper-right corner of the
page, as shown here. The context for the logs matches the information on the page.
Step 3
To filter the list, click an item in one of the columns, this will add that item to the filter bar located above the log
column names. After adding the desired filters, click the Apply Filter icon
.
143
Use App-Scope
Use App-Scope
The App-Scope reports provide visibility and analysis tools to help pinpoint problematic behavior, helping you
understand changes in application usage and user activity, users and applications that take up most of the
network bandwidth, and identify network threats.
With the App-Scope reports, you can quickly see if any behavior is unusual or unexpected. Each report provides
a dynamic, user-customizable window into the network; hovering the mouse over and clicking either the lines
or bars on the charts opens detailed information about the specific application, application category, user, or
source on the ACC.
The following App-Scope reports are available:
Summary Report
144
Use App-Scope
Summary Report
The App-Scope Summary report displays charts for the top five gainers, losers, and bandwidth consuming
applications, application categories, users, and sources.
145
Use App-Scope
The Change Monitor Report contains the following buttons and options.
Button
Description
Top Bar
146
Button
Use App-Scope
Description
Bottom Bar
Specifies the period over which the change measurements are taken.
147
Use App-Scope
Each threat type is color-coded as indicated in the legend below the chart. The Threat Monitor report contains
the following buttons and options.
Button
Description
Top Bar
148
Use App-Scope
Click a country on the map to zoom in. Click the Zoom Out button in the lower right corner of the screen to
zoom out. The Threat Map report contains the following buttons and options.
Button
Description
Top Bar
Bottom Bar
149
Use App-Scope
The Network Monitor report contains the following buttons and options.
Button
Description
Top Bar
Indicates the period over which the change measurements are taken.
150
Use App-Scope
Each traffic type is color-coded as indicated in the legend below the chart. The Traffic Map report contains the
following buttons and options.
Buttons
Description
Top Bar
Bottom Bar
Indicates the period over which the change measurements are taken.
151
The following table describes the packet capture settings on Monitor > Packet Capture.
Field
Description
Configure Filtering
Manage Filters
Click Manage Filters, click Add to add a new filter, and specify the following
information:
IdEnter or select an identifier for the filter.
Ingress InterfaceSelect the firewall interface.
SourceSpecify the source IP address.
DestinationSpecify the destination IP address.
Src PortSpecify the source port.
Dest PortSpecify the destination port.
ProtoSpecify the protocol to filter.
Non-IPChoose how to treat non-IP traffic (exclude all IP traffic, include all IP
traffic, include only IP traffic, or do not include an IP filter).
IPv6Select the check box to include IPv6 packets in the filter.
Filtering
Pre-Parse Match
152
Field
Description
Configure Capturing
Packet Capture
Edit the Threat Detection Settings section to specify the Capture Length for the
number of packets to capture.
3.
Captured Files
Captured Files
Select Delete to remove a packet capture file from the list displaying captured files.
Settings
Clear All Settings
153
View Reports
You can also configure the firewall (excluding PA-4000 Series and PA-7050 firewalls) to export
flow data to a NetFlow collector for analysis and reporting. To configure NetFlow Settings, refer
to the PAN-OS-6.0 Web Interface Reference Guide.
154
By default all log files are generated and stored locally on the firewall. You can view these log files directly
(Monitor > Logs):
for an entry.
155
Description
Traffic
Displays an entry for the start and end of each session. Each entry includes the date and
time, the source and destination zones, addresses, and ports, the application name, the
security rule name applied to the flow, the rule action (allow, deny, or drop), the ingress
and egress interface, and the number of bytes.
Click
next to an entry to view additional details about the session, such as whether
an ICMP entry aggregates multiple sessions between the same source and destination
(the Count value will be greater than one).
The Type column indicates whether the entry is for the start or end of the session, or
whether the session was denied or dropped. A drop indicates that the security rule that
blocked the traffic specified any application, while a deny indicates the rule identified a
specific application.
If traffic is dropped before the application is identified, such as when a rule drops all
traffic for a specific service, the application is shown as not-applicable.
156
Description
Threat
URL Filtering
Displays logs for all traffic that matches a URL Filtering profile attached to a security
policy. For example, if policy blocks access to specific web sites and web site categories
or if policy is configured to generate an alert when a web site is accessed. For
information on defining URL filtering profiles, see URL Filtering.
WildFire Submissions
Displays logs for files that are uploaded and analyzed by the WildFire cloud, log data is
sent back to the device after analysis, along with the analysis results.
Data Filtering
Displays logs for the security policies that help prevent sensitive information such as
credit card or social security numbers from leaving the area protected by the firewall.
See Set Up Data Filtering for information on defining data filtering profiles.
This log also shows information for file blocking profiles. For example, if you are
blocking .exe files, the log will show the files that were blocked. If you forward files to
WildFire, you will see the results of that action. In this case, if you are forwarding PE
files to WildFire, for example, the log will show that the file was forwarded and will also
show the status on whether or not it was uploaded to WildFire successfully or not.
Configuration
Displays an entry for each configuration change. Each entry includes the date and time,
the administrator username, the IP address from where the change was made, the type
of client (XML, Web or CLI), the type of command executed, whether the command
succeeded or failed, the configuration path, and the values before and after the change.
System
Displays an entry for each system event. Each entry includes the date and time, the
event severity, and an event description.
HIP Match
Displays traffic flows that match a HIP Object or HIP Profile that you have configured.
157
Click any of the underlined links in the log listing to add that item as a log filter option. For example, if you
click the Host link in the log entry for 10.0.0.252 and Web Browsing in both items are added, and the search
will find entries that match both (AND search).
To define other search criteria, click Add Log Filter. Select the type of search (and/or), the attribute to include
in the search, the matching operator, and the values for the match, if appropriate. Click Add to add the
criterion to the filter area on the log page, and then click Close to close the pop-up window. Click Apply Filter
to display the filtered list.
You can combine filter expressions added on the log page with those that you define in the
Expression pop-up window. Each is added as an entry on the Filter line on the log page. If you
set the in Received Time filter to Last 60 seconds, some of the page links on the log viewer
may not show results because the number of pages may grow or shrink due to the dynamic nature
of the selected time.
To clear filters and redisplay the unfiltered list, click Clear Filter.
To save your selections as a new filter, click Save Filter, enter a name for the filter, and click OK.
To export the current log listing (as shown on the page, including any applied filters) click Save Filter. Select
whether to open the file or save it to disk, and select the check box if you want to always use the same option.
Click OK.
To export the current log listing in CSV Format, select the Export to CSV icon. By default, exporting the log
listing to CSV format generates a CSV report with up to 2,000 rows of logs. To change the limit for rows
displayed in CSV reports, use the Max Rows in CSV Export field on the Log Export and Reporting subtab (select
Device > Setup > Management > Logging and Reporting Settings).
To change the automatic refresh interval, select an interval from the drop-down list (1 min, 30 seconds, 10
seconds, or Manual).
To change the number of log entries per page, select the number of rows from the Rows drop-down.
Log entries are retrieved in blocks of 10 pages. Use the paging controls at the bottom of the page to navigate
through the log list. Select the Resolve Hostname check box to begin resolving external IP addresses to domain
names.
158
View Reports
The firewall also uses the log data to generate reports (Monitor > Reports) that display the log data in a tabular
or graphical format. See About Reports for more details on the predefined and custom reports available on the
firewall.
159
Configure the firewall to access the remote services that will be receiving the logs. See Define Remote
Logging Destinations.
Configure each log type for forwarding. See Enable Log Forwarding.
For immediate notification about critical system events or threats that require your attention, you can
generate SNMP traps or send email alerts. See Set Up Email Alerts and/or Set Up SNMP Trap
Destinations.
For long-term storage and archival of data and for centralized device monitoring, you can send the log data
to a Syslog server. See Define Syslog Servers. This enables integration with third-party security monitoring
tools, such as Splunk! or ArcSight. You can also secure the channel between the firewall and the Syslog
server. See Configure the Firewall to Authenticate to the Syslog Server.
For aggregation and reporting of log data from multiple Palo Alto Networks firewalls, you can forward
logs to a Panorama Manager or Panorama Log Collector. See Enable Log Forwarding.
You can define as many Server Profiles as you need. For example, you could use separate Server Profiles to send
traffic logs to one Syslog server and system logs to a different one. Or, you could include multiple server entries
in a single Server Profile to enable you to log to multiple Syslog servers for redundancy.
By default, all log data is forwarded over the MGT interface. If you plan to use an interface other
than MGT, you will need to configure a Service Route for each service to which you plan to
forward logs as described in Step 5 in the procedure to Set Up Network Access for External
Services.
160
Step 1
1.
2.
3.
4.
Click Add to add a new email server entry and enter the
information required to connect to the Simple Mail Transport
Protocol (SMTP) server and send email (you can add up to four
email servers to the profile):
ServerName to identify the mail server (1-31 characters).
This field is just a label and does not have to be the host name
of an existing SMTP server.
Display NameThe name to show in the From field of the
email.
FromThe email address where notification emails will be
sent from.
ToThe email address to which notification emails will be
sent.
Additional RecipientIf you want the notifications sent to
a second account, enter the additional address here. You can
only add one additional recipient. To add multiple recipients,
add the email address of a distribution list.
GatewayThe IP address or host name of the SMTP
gateway to use to send the emails.
5.
Step 2
Select the Custom Log Format tab. For details on how to create
custom formats for the various log types, refer to the Common
Event Format Configuration Guide.
Step 3
1.
2.
161
Step 1
In order to find out the firewalls engine ID, you must configure the
firewall for SNMP v3 and send a GET message from your SNMP
manager or MIB browser as follows:
In many cases, the MIB browser or
1. Enable the interface to allow inbound SNMP requests:
SNMP manager will automatically
If you will be receiving SNMP GET messages on the MGT
discover the engine ID upon
interface, select Device > Setup > Management and click the
successful connection to the
Edit
icon in the Management Interface Settings section of
SNMP agent on the firewall. You
the
screen.
In the Services section, select the SNMP check
can usually find this information
box
and
then
click OK.
in the agent settings section of the
interface. Refer to the
If you will be receiving SNMP GET messages on a different
documentation for your specific
interface, you must associate a management profile with the
product for instructions on
interface and enable SNMP management.
finding the agent information.
2. Configure the firewall for SNMP v3 as described in Step 2 in Set
Up SNMP Monitoring. If you do not configure the firewall for
SNMP v3 your MIB browser will not allow you to GET the
engine ID.
3.
Step 2
Create a Server Profile that contains the information for connecting and authenticating to the SNMP manager(s).
1. Select Device > Server Profiles > SNMP Trap.
2. Click Add and then enter a Name for the profile.
3. (Optional) Select the virtual system to which this profile applies from the Location drop-down.
4. Specify the version of SNMP you are using (V2c or V3).
5. Click Add to add a new SNMP Trap Receiver entry (you can add up to four trap receivers per server profile).
The required values depend on whether you are using SNMP V2c or V3 as follows:
SNMP V2c
ServerName to identify the SNMP manager (1-31 characters). This field is just a label and does not have
to be the host name of an existing SNMP server.
ManagerThe IP address of the SNMP manager to which you want to send traps.
CommunityThe community string required to authenticate to the SNMP manager.
SNMP V3
ServerName to identify the SNMP manager (1-31 characters). This field is just a label and does not have
to be the host name of an existing SNMP server.
ManagerThe IP address of the SNMP manager to which you want to sent traps.
UserThe username required to authenticate to the SNMP manager.
EngineIDThe engine ID of the firewall, as identified in Step 1. This is a hexadecimal value from 5 to 64
bytes with a 0x prefix. Each firewall has a unique engine ID.
Auth PasswordThe password to be used for authNoPriv level messages to the SNMP manager. This
password will be hashed using Secure Hash Algorithm (SHA-1), but will not be encrypted.
Priv PasswordThe password to be used for authPriv level messages to the SNMP manager. This
password be hashed using SHA and will be encrypted using Advanced Encryption Standard (AES 128).
6. Click OK to save the server profile.
162
Step 3
By default, SNMP traps are sent over the MGT interface. If you want
to use a different interface for SNMP traps, you must edit the service
route to enable the firewall to reach your SNMP manager. See Set Up
Network Access for External Services for instructions.
Step 4
Step 5
Load the PAN-OS MIB files into your SNMP management software
and compile them. Refer to the documentation for your SNMP
manager for specific instructions on how to do this.
163
Step 1
164
5.
6.
Step 2
Select Device > Setup > Management and click the Edit icon in
the Logging and Reporting Settings section.
Select Log Export and Reporting.
Select one of the following options from the Send Hostname in
Syslog drop-down:
Step 3
Step 4
Step 5
The private key must be available on the sending device; the keys cannot be stored on a Hardware Security
Module (HSM).
The subject and the issuer for the certificate must not be identical.
165
The certificate is neither a trusted CA nor a certificate signing request (CSR). Neither of these types of
certificates can be enabled for secure syslog communication.
Step 1
3.
4.
5.
6.
7.
8.
Click the link with name of the certificate and enable the option
for secure access to the syslog server.
9.
10. Verify the certificate details and that it is marked for Usage as
Certificate for Secure Syslog.
166
Before you can forward log files to a Panorama Manager or a Panorama Log Collector, the
firewall must be configured as a managed device. You can then enable log forwarding to
Panorama for each type of log. For logs forwarded to Panorama, support for centralized log
forwarding to an external syslog server is available.
Traffic LogsYou enable forwarding of Traffic logs by creating a Log Forwarding Profile (Objects > Log
Forwarding) and adding it to the security policies you want to trigger the log forwarding. Only traffic that
matches a specific rule within the security policy will be logged and forwarded.
Threat LogsYou enable forwarding of Threat logs by creating a Log Forwarding Profile (Objects > Log
Forwarding) that specifies which severity levels you want to forward and then adding it to the security policies
for which you want to trigger the log forwarding. A Threat log entry will only be created (and therefore
forwarded) if the associated traffic matches a Security Profile (Antivirus, Anti-spyware, Vulnerability, URL
Filtering, File Blocking, Data Filtering, or DoS Protection). The following table summarizes the threat
severity levels:
Severity
Description
Critical
High
Threats that have the ability to become critical but have mitigating factors;
for example, they may be difficult to exploit, do not result in elevated
privileges, or do not have a large victim pool.
Medium
Low
Informational
Suspicious events that do not pose an immediate threat, but that are
reported to call attention to deeper problems that could possibly exist.
URL Filtering log entries and WildFire Submissions log entries with a
benign verdict are logged as Informational.
Config LogsYou enable forwarding of Config logs by specifying a Server Profile in the log settings
configuration. (Device > Log Settings > Config Logs).
System LogsYou enable forwarding of System logs by specifying a Server Profile in the log settings
configuration. (Device > Log Settings > System Logs). You must select a Server Profile for each severity level
you want to forward. For a partial list of system log messages and their corresponding severity levels, refer
to the System Log Reference. The following table summarizes the system log severity levels:
167
168
Severity
Description
Critical
High
Medium
Low
Informational
Step 1
Step 2
1.
From the web interface on the firewall,
configure the settings to allow the SNMP 2.
agent on the firewall to respond to
incoming GET requests from the SNMP
3.
manager.
Step 3
4.
5.
Load the PAN-OS MIB files into your SNMP management software
and, if necessary, compile them. Refer to the documentation for your
SNMP manager for specific instructions on how to do this.
169
Step 4
Using a MIB browser, walk the PAN-OS MIB files to identify the
object identifiers (OIDs) that correspond to the statistics you want
to monitor. For example, suppose you want to monitor Session
Utilization Percentage on the firewall. Using a MIB browser you will
see that this statistic corresponds to OID
1.3.6.1.4.1.25461.2.1.2.3.1.0 in the PAN-COMMON-MIB.
Step 5
Step 6
After you complete the configuration on The following is an example of how an SNMP manager displays
both the firewall and the SNMP manager, real-time session utilization percentage statistics for a monitored
PA-500 firewall:
you can begin monitoring the firewall
from your SNMP management software.
170
Manage Reporting
Manage Reporting
The reporting capabilities on the firewall allow you to keep a pulse on your network, validate your policies, and
focus your efforts on maintaining network security for keeping your users safe and productive.
About Reports
View Reports
About Reports
The firewall includes predefined reports that you can use as-is, build custom reports that meet your needs for
specific data and actionable tasks, or combine predefined and custom reports to compile information you need.
The firewall provides the following types of reports:
Predefined ReportsAllow you to view a quick summary of the traffic on your network. A suite of
predefined reports are available in four categories Applications, Traffic, Threat, and URL Filtering. See
View Reports.
User or Group Activity ReportsAllow you to schedule or create an on-demand report on the application
use and URL activity for a specific user or for a user group; the report includes the URL categories and an
estimated browse time calculation for individual users. See Generate User/Group Activity Reports.
Custom ReportsCreate and schedule custom reports that show exactly the information you want to see
by filtering on conditions and columns to include. You can also include query builders for more specific drill
down on report data. See Generate Custom Reports.
Botnet ReportsAllow you to use behavior-based mechanisms to identify potential botnet-infected hosts
in the network. See Generate Botnet Reports.
Report GroupsCombine custom and predefined reports into report groups and compile a single PDF
that is emailed to one or more recipients. See Manage Report Groups.
Reports can be generated on demand, on a recurring schedule, and can be scheduled for email delivery.
171
Manage Reporting
View Reports
The firewall provides an assortment of over 40 predefined reports that are generated everyday; these reports
can be viewed directly on the firewall. In addition to these reports, you can view scheduled custom reports and
summary reports.
About 200 MB of storage is allocated for saving reports on the firewall. This storage space is not user
configurable, and older reports are purged to store recent reports. Therefore, for long term retention of reports,
you can either export the reports or schedule the reports for email delivery. To disable selected reports and
conserve system resources on the firewall, see Disable Predefined Reports.
User/group activity reports must be generated on demand or scheduled for email delivery. Unlike
the other reports, these reports cannot be saved on the firewall.
View Reports
Step 1
Step 2
Select a report to view. When you select a report, the previous days report is displayed on screen.
To view reports for any of the previous days, select an available date from the calendar at the bottom of the page
and select a report within the same section. If you change sections, the time selection is reset.
Step 3
To view a report offline, you can export the report to PDF, CSV or to XML formats. Click Export to PDF, Export
to CSV, or Export to XML at the bottom of the page. Then print or save the file.
172
Manage Reporting
1.
2.
Click the Edit icon in the Logging and Reporting Settings section and select the Log Export and Reporting tab.
3.
To disable reports:
Clear the check box corresponding to each report that you want to disable.
Select Deselect All to disable all predefined reports.
4.
173
Manage Reporting
Description
Data Source
The data file that is used to generate the report. The firewall offers two types of data
sourcesSummary databases and Detailed logs.
Summary databases are available for traffic, threat, and application statistics. The
firewall aggregates the detailed logs on traffic, application, and threat at 15-minute
intervals. The data is condensedduplicate sessions are grouped together and
incremented with a repeat counter, and some attributes (or columns) are not
included in the summaryto allow faster response time when generating reports.
Detailed logs are itemized and are a complete listing of all the attributes (or columns)
that pertain to the log entry. Reports based on detailed logs take much longer to run
and are not recommended unless absolutely necessary.
Attributes
The columns that you want to use as the match criteria. The attributes are the columns
that are available for selection in a report. From the list of Available Columns, you can
add the selection criteria for matching data and for aggregating the details (the
Selected Columns).
The Sort By and the Group By criteria allow you to organize/segment the data in the
report; the sorting and grouping attributes available vary based on the selected data
source.
The Sort By option specifies the attribute that is used for aggregation. If you do not
select an attribute to sort by, the report will return the first N number of results without
any aggregation.
The Group By option allows you to select an attribute and use it as an anchor for
grouping data; all the data in the report is then presented in a set of top 5, 10, 25 or 50
groups. For example, when you select Hour as the group by selection and want the top
25 groups for a 24-hr time period. The results of the report will be generated on an
hourly basis over a 24-hr period. The first column in the report will be the hour and
then the next set of columns will be the rest of your selected report columns.
174
Selection
Manage Reporting
Description
The following example illustrates how the Selected Columns and Sort By/Group By
criteria work together when generating reports:
The columns circled in red (above) depict the columns selected, which are the
attributes that you match against for generating the report. Each log entry from the
data source is parsed and these columns are matched on. If multiple sessions have the
same values for the selected columns, the sessions are aggregated and the repeat count
(or sessions) is incremented.
The column circled in blue indicates the chosen sort order. When the sort order (Sort
By) is specified, the data is sorted (and aggregated) by the selected attribute.
The column circled in green indicates the Group By selection, which serves as an
anchor for the report. The Group By column is used as a match criteria to filter for the
top N groups. Then, for each of the top N groups the report enumerates the values for
all the other selected columns.
175
Manage Reporting
Selection
Description
The report is anchored by Day and sorted by Sessions. It lists the 5 days (5 Groups) with maximum traffic in the
Last 7 Days time frame. The data is enumerated by the Top 5 sessions for each day for the selected columnsApp
Category, App Subcategory and Risk.
Time Period
The date range for which you want to analyze data. You can define a custom range or
select a time period ranging from last 15 minutes to the last 30 days. The reports can
be run on demand or scheduled to run at a daily or weekly cadence.
Query Builder
The query builder allows you to define specific queries to further refine the selected
attributes. It allows you see just what you want in your report using and and or
operators and a match criteria, and then include or exclude data that matches or negates
the query in the report. Queries enable you to generate a more focused collation of
information in a report.
176
Manage Reporting
1.
2.
3.
Each time you create a custom report, a Log View report is automatically created. This report show the logs that
were used to build the custom report. The log view report uses the same name as the custom report, but appends
the phrase (Log View) to the report name.
When creating a report group, you can include the log view report with the custom report. For more
information, see Manage Report Groups.
4.
Select the Scheduled check box to run the report each night. The report is then available for viewing in the Reports
column on the side.
5.
Define the filtering criteria. Select the Time Frame, the Sort By order, Group By preference, and select the columns
that must display in the report.
6.
(Optional) Select the Query Builder attributes, if you want to further refine the selection criteria. To build a report
query, specify the following and click Add. Repeat as needed to construct the full query.
ConnectorChoose the connector (and/or) to precede the expression you are adding.
NegateSelect the check box to interpret the query as a negation. If for example, you choose to match entries in
the last 24 hours and/or are originating from the untrust zone, the negate option causes a match on entries that
are not in the past 24 hours and/or are not from the untrust zone.
AttributeChoose a data element. The available options depend on the choice of database.
OperatorChoose the criterion to determine whether the attribute applies (such as =). The available options
depend on the choice of database.
ValueSpecify the attribute value to match.
For example, the following figure (based on the Traffic Log database) shows a query that matches if the traffic log
entry was received in the past 24 hours and is from the untrust zone.
7.
To test the report settings, select Run Now. Modify the settings as required to change the information that is displayed
in the report.
8.
177
Manage Reporting
If we now set up a simple report in which we use the traffic summary database from the last 30 days, and sort
the data by the top 10 sessions and these sessions are grouped into 5 groups by day of the week. You would
set up the custom report to look like this:
And the PDF output for the report would look as follows:
178
Manage Reporting
Now, if you want to use the query builder to generate a custom report that represents the top consumers of
network resources within a user group, you would set up the report to look like this:
The report would display the top users in the product management user group sorted by bytes, as follows:
179
Manage Reporting
1.
Select Monitor > Botnet and click the Configuration button on the right side of the page.
2.
For HTTP Traffic, select the Enable check box for the events that you want to include in the reports:
Malware URL visitIdentifies users communicating with known malware URLs based on malware and botnet
URL filtering categories.
Use of dynamic DNSLooks for dynamic DNS query traffic that could indicate botnet communication.
Browsing to IP domainsIdentifies users who browse to IP domains instead of URLs.
Browsing to recently registered domainsLooks for traffic to domains that have been registered within the past
30 days.
Executable files from unknown sitesIdentifies executable files downloaded from unknown URLs.
3.
For Unknown Applications, select unknown TCP or unknown UDP applications as suspicious, and specify the
following information:
Sessions Per HourNumber of application sessions per hour that are associated with the unknown application.
Destinations Per HourNumber of destinations per hour that are associated with the unknown application.
Minimum BytesMinimum payload size.
Maximum BytesMaximum payload size.
4.
180
Select the check box to include IRC servers as suspicious. IRC servers often use bots for automated functions.
Manage Reporting
1.
In Test Run Time Frame, select the time interval for the report (last 24 hours or last calendar day).
2.
3.
Select Scheduled to run the report on a daily basis. Alternatively, you can run the report manually by clicking
Run Now at the top of the Botnet Report window.
4.
Construct the report query by specifying the following, and then click Add to add the configured expression to
the query. Repeat as needed to construct the complete query:
ConnectorSpecify a logical connector (AND/OR).
AttributeSpecify the source or destination zone, address, or user.
OperatorSpecify the operator to relate the attribute to a value.
ValueSpecify the value to match.
5.
Select Negate to apply the negation of the specified query, meaning that the report will contain all information
that is not a result of the defined query.
6.
181
Manage Reporting
Step 1
1.
2.
3.
Use the drop-down list for each report group and select one or
more of the elements to design the PDF Summary Report. You
can include a maximum of 18 report elements.
Step 2
182
4.
5.
To download and view the PDF Summary Report, see View Reports.
Manage Reporting
1.
2.
3.
4.
Select the time frame for the report from the drop-down.
The number of logs that are analyzed in a user activity report is determined by the number of rows defined
on the Max Rows in User Activity Report on the Logging and Reporting Settings section on Device >Setup
> Management.
5.
Select Include Detailed Browsing to include detailed URL logs in the report.
The detailed browsing information can include a large volume of logs (thousands of logs) for the selected user or user
group and can make the report very large.
6.
7.
To save the report, click OK. User/Group activity reports cannot be saved on the firewall; to schedule the report for
email delivery, see Schedule Reports for Email Delivery.
183
Manage Reporting
Step 1
1.
2.
184
Manage Reporting
1.
2.
Select the Report Group for email delivery. To set up a report group; see Manage Report Groups.
3.
Select the frequency at which to generate and send the report in Recurrence.
4.
Select the email server profile to use for delivering the reports. To set up an email server profile, see Create a Server
Profile for your email server.
5.
The Override Recipient email(s) allows you to send this report exclusively to the recipients specified in this field.
When you add recipients to the Override Recipient email(s), the report is not sent to the recipients configured in
the email server profile. Use this option for those occasions when the report is for the attention of someone other
than the administrators or recipients defined in the email server profile.
185
Traffic Logs
Threat Logs
Config Logs
System Logs
Traffic Logs
Format: FUTURE_USE, Receive Time, Serial Number, Type, Subtype, FUTURE_USE, Generated Time,
Source IP, Destination IP, NAT Source IP, NAT Destination IP, Rule Name, Source User, Destination User,
Application, Virtual System, Source Zone, Destination Zone, Ingress Interface, Egress Interface, Log
Forwarding Profile, FUTURE_USE, Session ID, Repeat Count, Source Port, Destination Port, NAT Source
Port, NAT Destination Port, Flags, Protocol, Action, Bytes, Bytes Sent, Bytes Received, Packets, Start Time,
Elapsed Time, Category, FUTURE_USE, Sequence Number, Action Flags, Source Location, Destination
Location, FUTURE_USE, Packets Sent, Packets Received.
Field Name
Description
Type (type)
Specifies type of log; values are traffic, threat, config, system and hip-match
Subtype (subtype)
Subtype of traffic log; values are start, end, drop, and deny
Startsession started
Endsession ended
Dropsession dropped before the application is identified and there is no
rule that allows the session.
Denysession dropped after the application is identified and there is a rule
to block or no rule that allows the session.
Source IP (src)
Destination IP (dst)
186
Field Name
Description
Application (app)
Session ID (sessionid)
Number of sessions with same Source IP, Destination IP, Application, and
Subtype seen within 5 seconds; used for ICMP only
Flags (flags)
32-bit field that provides details on session; this field can be decoded by
AND-ing the values with the logged value:
0x80000000session has a packet capture (PCAP)
0x02000000IPv6 session
0x01000000SSL session was decrypted (SSL Proxy)
0x00800000session was denied via URL filtering
0x00400000session has a NAT translation performed (NAT)
0x00200000user information for the session was captured via the captive
portal (Captive Portal)
0x00080000X-Forwarded-For value from a proxy is in the source user field
0x00040000log corresponds to a transaction within a http proxy session
(Proxy Transaction)
0x00008000session is a container page access (Container Page)
0x00002000session has a temporary match on a rule for implicit application
dependency handling. Available in PAN-OS 5.0.0 and above
0x00000800symmetric return was used to forward traffic for this session
Protocol (proto)
187
Field Name
Description
Action (action)
Bytes (bytes)
Packets (packets)
Category (category)
A 64-bit log entry identifier incremented sequentially; each log type has a unique
number space
Threat Logs
Format: FUTURE_USE, Receive Time, Serial Number, Type, Subtype, FUTURE_USE, Generated Time,
Source IP, Destination IP, NAT Source IP, NAT Destination IP, Rule Name, Source User, Destination User,
Application, Virtual System, Source Zone, Destination Zone, Ingress Interface, Egress Interface, Log
Forwarding Profile, FUTURE_USE, Session ID, Repeat Count, Source Port, Destination Port, NAT Source
Port, NAT Destination Port, Flags, Protocol, Action, Miscellaneous, Threat ID, Category, Severity, Direction,
Sequence Number, Action Flags, Source Location, Destination Location, FUTURE_USE, Content Type,
PCAP_id*, Filedigest*, Cloud*
188
Field Name
Description
Type (type)
Specifies type of log; values are traffic, threat, config, system and hip-match
Subtype (subtype)
Subtype of threat log; values are URL, virus, spyware, vulnerability, file, scan, flood,
data, and WildFire:
urlURL filtering log
virusvirus detection
spywarespyware detection
vulnerabilityvulnerability exploit detection
filefile type log
scanscan detected via Zone Protection Profile
floodflood detected via Zone Protection Profile
datadata pattern detected from Data Filtering Profile
wildfireWildFire log
Generated Time
(time_generated)
Source IP (src)
Destination IP (dst)
Application (app)
Ingress Interface
(inbound_if)
Egress Interface
(outbound_if)
189
Field Name
Description
(logset)
Session ID (sessionid)
Number of sessions with same Source IP, Destination IP, Application, and Subtype
seen within 5 seconds; used for ICMP only
Flags (flags)
32-bit field that provides details on session; this field can be decoded by AND-ing the
values with the logged value:
0x80000000session has a packet capture (PCAP)
0x02000000IPv6 session
0x01000000SSL session was decrypted (SSL Proxy)
0x00800000session was denied via URL filtering
0x00400000session has a NAT translation performed (NAT)
0x00200000user information for the session was captured via the captive portal
(Captive Portal)
0x00080000X-Forwarded-For value from a proxy is in the source user field
0x00040000log corresponds to a transaction within a http proxy session (Proxy
Transaction)
0x00008000session is a container page access (Container Page)
0x00002000session has a temporary match on a rule for implicit application
dependency handling. Available in PAN-OS 5.0.0 and above
0x00000800symmetric return was used to forward traffic for this session
Protocol (proto)
190
Field Name
Description
Action (action)
Action taken for the session; values are alert, allow, deny, drop, drop-all-packets,
reset-client, reset-server, reset-both, block-url.
Alertthreat or URL detected but not blocked
Allowflood detection alert
Denyflood detection mechanism activated and deny traffic based on
configuration
Dropthreat detected and associated session was dropped
Drop-all-packetsthreat detected and session remains, but drops all packets
Reset-clientthreat detected and a TCP RST is sent to the client
Reset-serverthreat detected and a TCP RST is sent to the server
Reset-boththreat detected and a TCP RST is sent to both the client and the server
Block-urlURL request was blocked because it matched a URL category that was
set to be blocked
Miscellaneous (misc)
Threat ID (threatid)
Palo Alto Networks identifier for the threat. It is a description string followed by a
64-bit numerical identifier in parenthesis for some Subtypes:
8000 8099scan detection
8500 8599flood detection
9999URL filtering log
10000 19999sypware phone home detection
20000 29999spyware download detection
30000 44999vulnerability exploit detection
52000 52999filetype detection
60000 69999data filtering detection
100000 2999999virus detection
3000000 3999999WildFire signature feed
4000000-4999999DNS Botnet signatures
Category (category)
For URL Subtype, it is the URL Category; For WildFire subtype, it is the verdict on the
file and is either malicious or benign; For other subtypes the value is any
Severity (severity)
Severity associated with the threat; Values are informational, low, medium, high, critical
191
Field Name
Description
Direction (direction)
A 64-bit log entry identifier incremented sequentially. Each log type has a unique
number space.
Source country or Internal region for private addresses. Maximum length is 32 bytes.
New in v6.0!PCAP ID (pcap_id) Pcap-ID is a 64 bit unsigned integral denoting an ID to correlate threat pcap files with
extended pcaps taken as a part of that flow. All threat logs will contain either a pcap_id
of 0 (no associated pcap), or an ID referencing the extended pcap file.
New in v6.0! File Digest
Only for WildFire subtype; all other types do not use this field
(filedigest)
The filedigest string shows the binary hash of the file sent to be analyzed by the
WildFire service.
Only for WildFire subtype; all other types do not use this field
The cloud string displays the FQDN of either the WildFire appliance (private) or the
WildFire cloud (public) from where the file was uploaded for analysis.
Field Name
Description
Receive Time
(receive_time)
Type (type)
Type of log; values are traffic, threat, config, system and hip-match
Subtype (subtype)
192
Field Name
Description
Machine Name
(machinename)
New in v6.0! OS
The operating system installed on the users machine or device (or on the client system)
HIP (matchname)
Sequence Number (seqno) A 64-bit log entry identifier incremented sequentially; each log type has a unique
number space
Action Flags (actionflags)
Config Logs
Format: FUTURE_USE, Receive Time, Serial Number, Type, Subtype, FUTURE_USE, FUTURE_USE,
Host, Virtual System, Command, Admin, Client, Result, Configuration Path, Sequence Number, Action Flags
Field Name
Description
Receive Time
(receive_time)
Type (type)
Type of log; values are traffic, threat, config, system and hip-match
Subtype (subtype)
Host (host)
Command (cmd)
Command performed by the Admin; values are add, clone, commit, delete, edit, move,
rename, set, validate.
Admin (admin)
Client (client)
Result (result)
Result of the configuration action; values are Submitted, Succeeded, Failed, and
Unauthorized
Sequance Number (seqno) A 64bit log entry identifier incremented sequentially; each log type has a unique
number space.
193
Field Name
Description
System Logs
Format: FUTURE_USE, Receive Time, Serial Number, Type, Subtype, FUTURE_USE, FUTURE_USE,
Virtual System, Event ID, Object, FUTURE_USE, FUTURE_USE, Module, Severity, Description, Sequence
Number, Action Flags
Field Name
Description
Receive Time (receive_time) Time the log was received at the management plane
Serial Number (serial)
Type (type)
Type of log; values are traffic, threat, config, system and hip-match
Subtype (subtype)
Subtype of the system log; refers to the system daemon generating the log; values are
crypto, dhcp, dnsproxy, dos, general, global-protect, ha, hw, nat, ntpd, pbf, port, pppoe,
ras, routing, satd, sslmgr, sslvpn, userid, url-filtering, vpn
Event ID (eventid)
Object (object)
Module (module)
This field is valid only when the value of the Subtype field is general. It provides
additional information about the sub-system generating the log; values are general,
management, auth, ha, upgrade, chassis
Severity (severity)
Severiry associated with the event; values are informational, low, medium, high, critical
Description (opaque)
A 64bit log entry identifier incremented sequentially; each log type has a unique
number space
Syslog Severity
The syslog severity is set based on the log type and contents.
Log Type/Severity
Syslog Severity
Traffic
Info
194
Log Type/Severity
Syslog Severity
Config
Info
Threat/SystemInformational
Info
Threat/SystemLow
Notice
Threat/SystemMedium
Warning
Threat/SystemHigh
Error
Threat/SystemCritical
Critical
Escape Sequences
Any field that contains a comma or a double-quote is enclosed in double quotes. Furthermore, if a double-quote
appears inside a field it is escaped by preceding it with another double-quote. To maintain backward
compatibility, the Misc field in threat log is always enclosed in double-quotes.
195
196
User-ID
User Identification (User-ID) is a Palo Alto Networks next-generation firewall feature that allows you to create
policies and perform reporting based on users and groups rather than individual IP addresses. The following
sections describe the Palo Alto Networks User-ID feature and provide instructions on setting up user- and
group-based access:
User-ID Overview
User-ID Concepts
Enable User-ID
User-ID
197
User-ID Overview
User-ID
User-ID Overview
User-ID seamlessly integrates Palo Alto Networks firewalls with a range of enterprise directory and terminal
services offerings, enabling you to tie application activity and security policies to users and groupsnot just IP
addresses. In addition, with User-ID enabled, the Application Command Center (ACC), App-Scope, reports,
and logs all include usernames in addition to user IP addresses.
The Palo Alto Networks next-generation firewall supports monitoring of the following enterprise services:
LDAP
Novell eDirectory
To be able to create policy based on user and group, the firewall must have a list of all available users and their
corresponding group mappings that you can select from when defining your policies. It gets this Group
Mapping information by connecting directly to your LDAP directory server.
To be able to enforce the user- and group-based policies, the firewall must be able to map the IP addresses in
the packets it receives to usernames. User-ID provides many mechanisms to get these IP address to username
mappings. For example, it uses agents to monitor server logs for logon events and/or probe clients, and/or
listen for syslog messages from authenticating services. To identify mappings for IP addresses were not mapped
using one of the agent mechanisms, you can configure the firewall to redirect HTTP requests to a captive portal
login. You can tailor the mechanisms you use for User Mapping to suit your environment, and you can even use
different mechanisms at different sites.
198
User-ID
User-ID
User-ID Overview
Figure: User-ID
Proceed to User-ID Concepts for information on how User-ID works and Enable User-ID for instructions on
setting up User-ID on the firewall.
User-ID
199
User-ID Concepts
User-ID
User-ID Concepts
Group Mapping
User Mapping
Group Mapping
In order to define security policies based on user or group, the firewall must retrieve the list of groups and the
corresponding list of members from your directory server. To enable this functionality, you must create an
LDAP server profile that instructs the firewall how to connect and authenticate to the server and how to search
the directory for the user and group information. After you connect to the LDAP server and configure the
group mapping functionality for user identification, you will be able to select users or groups when defining your
security policies. The firewall supports a variety of LDAP directory servers, including Microsoft Active
Directory (AD), Novell eDirectory, and Sun ONE Directory Server.
You can then define policies based on group membership rather than on individual users for simplified
administration. For example, the following security policy allows access to specific internal applications based
on group membership:
User Mapping
Having the names of the users and groups is only one piece of the puzzle. The firewall also needs to know which
IP addresses map to which users so that security policies can be enforced appropriately. Figure: User-ID
illustrates the different methods that are used to identify users and groups on your network and shows how user
mapping and group mapping work together to enable user- and group-based security enforcement and visibility.
The following topics describe the different methods of user mapping:
200
User-ID
User-ID
Server Monitoring
Client Probing
Port Mapping
Syslog
Captive Portal
GlobalProtect
User-ID Concepts
Server Monitoring
With server monitoring a User-ID agenteither a Windows-based agent running on a domain server in your
network, or the integrated PAN-OS User-ID agent running on the firewallmonitors the security event logs
for specified Microsoft Exchange Servers, domain controllers, or Novell eDirectory servers for logon events.
For example, in an AD environment, you can configure the User-ID agent to monitor the security logs for
Kerberos ticket grants or renewals, Exchange server access (if configured), and file and print service
connections. Keep in mind that in order for these events to be recorded in the security log, the AD domain must
be configured to log successful account logon events. In addition, because users can log in to any of the servers
in the domain, you must set up server monitoring for all servers in order to capture all user logon events.
Because server monitoring requires very little overhead and because the majority of users can generally be
mapped using this method, it is recommended as the base user mapping method for most User-ID deployments.
See Configure User Mapping Using the Windows User-ID Agent or Configure User Mapping Using the
PAN-OS Integrated User-ID Agent for details.
Client Probing
In a Microsoft Windows environment, you can configure the User-ID agent to probe client systems using
Windows Management Instrumentation (WMI). The Windows-based User-ID agent can also perform
NetBIOS probing (not supported on the PAN-OS integrated User-ID agent). Probing is particularly useful in
environments with a high IP address turnover because changes will be reflected on the firewall more quickly,
enabling more accurate enforcement of user-based policies. However, if the correlation between IP addresses
and users is fairly static, you probably do not need to enable client probing. Because probing can generate a large
amount of network traffic (based on the total number of mapped IP addresses), the agent that will be initiating
the probes should be located as close as possible to the end clients.
If probing is enabled, the agent will probe each learned IP address periodically (every 20 minutes by default, but
this is configurable) to verify that the same user is still logged in. In addition, when the firewall encounters an
IP address for which it has no user mapping it will send the address to the agent for an immediate probe.
See Configure User Mapping Using the Windows User-ID Agent or Configure User Mapping Using the
PAN-OS Integrated User-ID Agent for details.
User-ID
201
User-ID Concepts
User-ID
Port Mapping
In environments with multi-user systemssuch as Microsoft Terminal Server or Citrix environmentsmany
users share the same IP address. In this case, the user-to-IP address mapping process requires knowledge of the
source port of each client. To perform this type of mapping, you must install the Palo Alto Networks Terminal
Services Agent on the Windows/Citrix terminal server itself to intermediate the assignment of source ports to
the various user processes. For terminal servers that do not support the Terminal Services Agent, such as Linux
terminal servers, you can use the XML API to send user mapping information from login and logout events to
User-ID. See Configure User Mapping for Terminal Server Users for configuration details.
Syslog
In environments with existing network services that authenticate userssuch as wireless controllers, 802.1x
devices, Apple Open Directory servers, proxy servers, or other Network Access Control (NAC) mechanisms
the firewall User-ID agent (either the Windows agent or the PAN-OS integrated agent on the firewall) can listen
for authentication syslog messages from those services. Syslog filters, which are provided by a content update
(integrated User-ID agent only) or configured manually, allow the User-ID agent to parse and extract usernames
and IP addresses from authentication syslog events generated by the external service, and add the information
to the User-ID IP address to username mappings maintained by the firewall. See Configure User-ID to Receive
User Mappings from a Syslog Sender for configuration details.
Figure: User-ID Integration with Syslog
202
User-ID
User-ID
User-ID Concepts
Captive Portal
If the firewall or the User-ID agent are unable to map an IP address to a userfor example if the user is not
logged in or is using an operating system such as Linux that is not supported by your domain serversyou can
configure Captive Portal. When configured, any web traffic (HTTP or HTTS) matching your Captive Portal
policy requires user authentication, either transparently via an NT LAN Manager (NTLM) challenge to the
browser, or actively by redirecting the user to a web authentication form for authentication against a RADIUS,
LDAP, Kerberos, or local authentication database or using client certificate authentication. See Map IP
Addresses to User Names Using Captive Portal for details.
GlobalProtect
For mobile or roaming users, the GlobalProtect client provides the user mapping information to the firewall
directly. In this case, every GlobalProtect user has an agent or app running on the client that requires the user
to enter login credentials for VPN access to the firewall. This login information is then added to the User-ID
user mapping table on the firewall for visibility and user-based security policy enforcement. Because
GlobalProtect users must authenticate to gain access to the network, the IP address to username mapping is
explicitly known. This is the best solution in sensitive environments where you must be certain of who a user is
in order to allow access to an application or service. For more information on setting up GlobalProtect, refer
to the GlobalProtect Administrators Guide.
User-ID
203
Enable User-ID
User-ID
Enable User-ID
You must complete the following tasks to set up the firewall to user users and groups in policy enforcement,
logging, and reporting:
204
User-ID
User-ID
If you have a single domain, you only need one LDAP server profile that connects the firewall to the
domain controller with the best connectivity. You can add additional domain controllers for fault tolerance.
If you have multiple domains and/or multiple forests, you must create a server profile to connect to a
domain server in each domain/forest. Take steps to ensure unique usernames in separate forests.
If you have Universal Groups, create a server profile to connect to the Global Catalogue server.
Step 1
Create an LDAP Server Profile that specifies how to connect to the directory servers you want the firewall to
use to obtain group mapping information.
1. Select Device > Server Profiles > LDAP.
2. Click Add and then enter a Name for the
profile.
3. (Optional) Select the virtual system to
which this profile applies from the
Location drop-down.
4. Click Add to add a new LDAP server
entry and then enter a Server name to
identify the server (1-31 characters) and
the IP Address and Port number the
firewall should use to connect to the
LDAP server (default=389 for LDAP;
636 for LDAP over SSL). You can add up to four LDAP servers to the profile, however, all the servers you
add to a profile must be of the same type. For redundancy you should add at least two servers.
5. Enter the LDAP Domain name to prepend to all objects learned from the server. The value you enter here
depends on your deployment:
If you are using Active Directory, you must enter the NetBIOS domain name; NOT a FQDN (for example,
enter acme, not acme.com). Note that if you need to collect data from multiple domains you will need to
create separate server profiles.
If you are using a global catalog server, leave this field blank.
6. Select the Type of LDAP server you are connecting to. The correct LDAP attributes in the group mapping
settings will automatically be populated based on your selection. However, if you have customized your LDAP
schema you may need to modify the default settings.
7. In the Base field, select the DN that corresponds to the point in the LDAP tree where you want the firewall
to begin its search for user and group information.
8. Enter the authentication credentials for binding to the LDAP tree in the Bind DN, Bind Password, and
Confirm Bind Password fields. The Bind DN can be in either User Principal Name (UPN) format
(for example, [email protected]) or it can be a fully qualified LDAP name
(for example, cn=administrator,cn=users,dc=acme,dc=local).
9. If you want the firewall to communicate with the LDAP server(s) over a secure connection, select the SSL
check box. If you enable SSL, make sure that you have also specified the appropriate port number.
10. Click OK to save the profile.
User-ID
205
User-ID
Step 2
Add the LDAP server profile to the User-ID Group Mapping configuration.
1. Select Device > User Identification > Group
Mapping Settings and click Add.
2. Select the Server Profile you created in
Step 1.
3. Make sure the Enabled check box is selected.
4. (Optional) If you want to limit which groups
are displayed within security policy, select the
Group Include List tab and then browse
through the LDAP tree to locate the groups
you want to be able to use in policy. For each
group you want to include, select it in the
Available Groups list and click the add icon
to move it to the Included Groups list. Repeat
this step for every group you want to be able
to use in your policies.
5. Click OK to save the settings.
Step 3
206
User-ID
User-ID
To map users as they log in to your Exchange servers, domain controllers, or eDirectory servers, or
Windows clients that can be directly probed you must configure a User-ID agent to monitor the server
logs and/or probe client systems. You can either install the standalone Windows User-ID agent on one or
more member servers in the domain that contains the servers and clients to be monitored (see Configure
User Mapping Using the Windows User-ID Agent) or you can configure the on-firewall User-ID agent
that is integrated with PAN-OS (Configure User Mapping Using the PAN-OS Integrated User-ID Agent).
For guidance as to which agent configuration is appropriate for your network and the number and
placements of agents that are required, refer to Architecting User Identification Deployments.
If you have clients running multi-user systems such as Microsoft Terminal Server or Citrix Metaframe
Presentation Server or XenApp, see Configure the Palo Alto Networks Terminal Server Agent for User
Mapping for instructions on how to install and configure the agent on a Windows server. If you have a
multi-user system that is not running on Windows, you can use the User-ID XML API to send IP address
to username mappings directly to the firewall. See Retrieve User Mappings from a Terminal Server Using
the User-ID XML API.
To obtain user mappings from existing network services that authenticate users, such as wireless
controllers, 802.1x devices, Apple Open Directory servers, proxy servers, or other Network Access
Control (NAC) mechanisms, configure the User-ID agent (either the Windows agent or the agentless user
mapping feature on the firewall) to listen for authentication syslog messages from those services. See
Configure User-ID to Receive User Mappings from a Syslog Sender.
If you have users with client systems that are not logged into your domain serversfor example, users
running Linux clients that do not log in to the domainsee Map IP Addresses to User Names Using
Captive Portal.
For other clients that you are unable to map using the previous methods, you can use the User-ID XML
API to add user mappings directly to the firewall. See Send User Mappings to User-ID Using the XML
API.
Because policy is local to each firewall, each firewall must have a current list of IP address to username
mappings in order to accurately enforce security policy by group or user. However, you can configure one
firewall to collect all the user mappings and distribute them to the other firewalls. For details, see
Configure a Firewall to Share User Mapping Data with Other Firewalls.
User-ID
207
User-ID
link from each other). This is because most of the traffic for user mapping occurs between the agent and the
monitored server, with only a small amount of trafficthe delta of IP address mappings since the last update
from the agent to the firewall.
The following topics describe how to install and configure the User-ID Agent and how to configure the firewall
to retrieve user mapping information from the agent:
Step 1
You must install the User-ID agent on a system running one of the
following OS versions (32-bit and 64-bit are both supported):
Microsoft Windows XP/Vista/7
Microsoft Windows Server 2003/2008
Make sure the system you plan to install the User-ID agent on is a
member of the domain that the servers it will be monitoring
belong to.
Step 2
2.
As a best practice, install the User-ID
agent version that is the same as the
3.
PAN-OS version running on the firewalls.
4.
208
User-ID
User-ID
Step 3
1.
2.
From the command line, run the .msi file you downloaded. For
example, if you saved the .msi file to the Desktop you would
enter the following:
C:\Users\administrator.acme>cd Desktop
C:\Users\administrator.acme\Desktop>UaInstall-6.0.
0-1.msi
3.
Follow the setup prompts to install the agent using the default
settings. By default, the agent gets installed to the C:\Program
Files (x86)\Palo Alto Networks\User-ID Agent folder,
but you can Browse to a different location.
4.
Step 4
1.
Step 5
User-ID
2.
3.
209
User-ID
Step 6
2.
64-bit systemsHKEY_LOCAL_MACHINE\Software\
WOW6432Node\Palo Alto Networks
210
User-ID
User-ID
For information about the server OS versions supported by the User-ID agent, refer to Operating
System (OS) Compatibility User-ID Agent in the User-ID Agent Release Notes, which are
available on the Palo Alto Networks Software Updates page.
Step 1
1.
Step 2
1.
2.
3.
6.
User-ID
211
User-ID
Step 3
Select User Identification > Setup and click Edit in the Setup
section of the window.
Select the eDirectory tab and then complete the following
fields:
Search BaseThe starting point or root context for agent
queries, for example: dc=domain1, dc=example, dc=com.
Bind Distinguished NameThe account to use to bind to
the directory, for example: cn=admin, ou=IT,
dc=domain1, dc=example, dc=com.
Bind PasswordThe bind account password. The agent
saves the encrypted password in the configuration file.
Search FilterThe search query for user entries (default is
objectClass=Person).
Server Domain PrefixA prefix to uniquely identify the
user. This is only required if there are overlapping name
spaces, such as different users with the same name from two
different directories.
Use SSLSelect the check box to use SSL for eDirectory
binding.
Verify Server CertificateSelect the check box to verify the
eDirectory server certificate when using SSL.
Step 4
1.
212
Click OK to save the User-ID agent setup settings and then click
Commit to restart the User-ID agent and load the new settings.
User-ID
User-ID
Step 6
Step 7
Step 8
User-ID
Configure the firewalls to connect to the Complete the following steps on each firewall you want to connect
User-ID agent.
to the User-ID agent to receive user mappings:
1. Select Device > User Identification > User-ID Agents and click
Add.
2.
3.
4.
Enter the Port number on which the agent will be listening for
user mapping requests. This value must match the value
configured on the User-ID agent. By default, the port is set to
5007 on the firewall and on newer versions of the User-ID
agent. However, some older User-ID agent versions use port
2010 as the default.
5.
Make sure that the configuration is Enabled and then click OK.
6.
7.
1.
2.
3.
4.
5.
connected.
213
User-ID
Step 1
Create an Active Directory (AD) account Windows 2008 or later domain serversAdd the account to the
Event Log Readers group. If you are using the on-device User-ID
for the firewall agent that has the
agent, the account must also be a member of the Distributed COM
privilege levels required to log in to each
Users Group.
service or host you plan to monitor to
collect user mapping data.
Windows 2003 domain serversAssign Manage Auditing and
Security Logs permissions through group policy.
WMI probingMake sure the account has rights to read the
CIMV2 namespace; by default, Domain Administrator and Server
Operator accounts have this permission.
NTLM authenticationBecause the firewall must join the
domain if you are using NTLM authentication with an on-device
User-ID agent, the Windows account you create for NTLM access
must have administrative privileges. Note that due to AD
restrictions on virtual systems running on the same host, if you
have configured multiple virtual systems, only vsys1 will be able to
join the domain.
214
User-ID
User-ID
Step 2
1.
2.
3.
4.
5.
Keep in mind that in order to collect all of
the required mappings, you must connect 6.
to all servers that your users log in to so
that the firewall can monitor the security
log files on all servers that contain logon
events.
Make sure the Enabled check box is selected and then click OK
(Optional) To enable the firewall to automatically discover
domain controllers on your network using DNS lookups, click
Discover.
Step 3
Step 4
1.
User-ID
215
User-ID
Step 5
Step 6
1.
2.
1.
2.
To add the list of user accounts for which you do not want the
firewall to perform mapping, run the following command:
set user-id-collector ignore-user <value>
Step 7
3.
1.
2.
On the Device > User Identification > User Mapping tab in the
web interface, verify that the Status of each server you
configured for server monitoring is Connected.
216
User-ID
User-ID
Step 1
1.
2.
Select Device > User Identification > User Mapping and edit the
Palo Alto Networks User-ID Agent Setup section.
3.
4.
5.
Specify the Type of parsing to use to filter out the user mapping
information by selecting one of the following options:
Regex IdentifierWith this type of parsing, you specify
regular expressions to describe search patterns for identifying
and extracting user mapping information from syslog
messages. Continue to Step 3 for instructions on creating the
regex identifiers.
Field IdentifierWith this type of parsing, you specify a
string to match the authentication event, and prefix and
suffix strings to identify the user mapping information in the
syslogs. Continue to Step 4 for instructions on creating the
field identifiers.
User-ID
217
User-ID
Step 3
1.
If you selected Regex Identifier as the
parsing Type, create the regex matching
patterns for identifying the authentication
events and extracting the user mapping
information.
The example below shows a regex
configuration for matching syslog
messages with the following format:
2.
3.
4.
Click OK.
218
User-ID
User-ID
Step 4
1.
If you selected Field Identifier as the
parsing Type, define the string matching
patterns for identifying the authentication
events and extracting the user mapping
information.
2.
3.
4.
5.
1.
Define the servers that will send syslog
messages to the firewall for user mapping 2.
purposes.
3.
You can define up to 50 syslog senders
4.
per virtual system and up to a total of 100
5.
monitored servers, including syslog
6.
senders, Microsoft Active Directory,
Microsoft Exchange, or Novell
eDirectory servers. The firewall will
discard any syslog messages received
from servers that are not on this list.
7.
Click OK.
Select Device > User Identification > User Mapping.
In the Server Monitoring section of the screen, click Add.
Enter a Name and Network Address for the server.
Select Syslog Sender as the server Type.
Make sure the Enabled check box is selected.
(Optional) If the syslogs that the authenticating device sends do
not include domain information in the login event logs, enter
the Default Domain Name to append to the user mappings.
Click OK to save the settings.
User-ID
219
User-ID
Step 6
1.
Select Network > Network Profiles > Interface Mgmt and then
select an interface profile to edit or click Add to create a new
profile.
2.
3.
Step 7
220
User-ID
User-ID
Step 8
Verify the configuration by opening an SSH connection to the firewall and then running the following CLI
commands:
1000
1000
0
4
To see how many log messages came in from syslog senders and how many entries were successfully mapped:
admin@PA-5050> show user server-monitor statistics
Directory Servers:
Name
TYPE
Host
Vsys
Status
----------------------------------------------------------------------------AD
AD
10.2.204.43
vsys1
Connected
Syslog Servers:
Name
Connection Host
Vsys
Status
----------------------------------------------------------------------------Syslog1
UDP
10.5.204.40
vsys1
N/A
Syslog2
SSL
10.5.204.41
vsys1
Not connected
To see how many user mappings were discovered through syslog senders:
admin@PA-5050> show user ip-user-mapping all type SYSLOG
IP
axTimeout(s)
--------------192.168.3.8
476
192.168.5.39
480
192.168.2.147
476
192.168.2.175
476
192.168.4.196
480
192.168.4.103
480
192.168.2.193
476
192.168.2.119
476
192.168.3.176
478
Vsys
From
User
IdleTimeout(s) M
SYSLOG
acme\jdonaldson
2480
vsys1
SYSLOG
acme\ccrisp
2476
vsys1
SYSLOG
acme\jjaso
2476
vsys1
SYSLOG
acme\jblevins
2480
vsys1
SYSLOG
acme\bmoss
2480
vsys1
SYSLOG
acme\esogard
2476
vsys1
SYSLOG
acme\acallaspo
2476
vsys1
SYSLOG
acme\jlowrie
2478
Total: 9 users
User-ID
221
User-ID
Configure the Windows User-ID Agent to Collect User Mappings from Syslog Senders
Step 1
1.
Step 2
1.
2.
Select User Identification > Setup and click Edit in the Setup
section of the dialog.
3.
4.
5.
Specify the Type of parsing to use to filter out the user mapping
information by selecting one of the following options:
RegexWith this type of parsing, you specify regular
expressions to describe search patterns for identifying and
extracting user mapping information from syslog messages.
Continue to Step 3 for instructions on creating the regex
identifiers.
FieldWith this type of parsing, you specify a sting to match
the authentication event, and prefix and suffix strings to
identify the user mapping information in the syslogs.
Continue to Step 4 for instructions on creating the field
identifiers.
222
User-ID
User-ID
Configure the Windows User-ID Agent to Collect User Mappings from Syslog Senders (Continued)
Step 3
2.
3.
If the syslog contains a standalone
space and/or tab as a delimiter you
must use an \s (for a space)
and/or \t (for a tab) in order for
the agent to parse the syslog.
4.
User-ID
223
User-ID
Configure the Windows User-ID Agent to Collect User Mappings from Syslog Senders (Continued)
Step 4
1.
If you selected Field Identifier as the
parsing Type, define the string matching
patterns for identifying the authentication
events and extracting the user mapping
information.
2.
3.
4.
5.
Step 6
Step 7
224
3.
1.
2.
Enter a Name and Server Address for the server that will send
syslogs to the agent.
6.
7.
User-ID
User-ID
Configure the Windows User-ID Agent to Collect User Mappings from Syslog Senders (Continued)
Step 8
Verify the configuration by opening an SSH connection to the firewall and then running the following CLI
commands:
1000
1000
0
4
To see how many log messages came in from syslog senders and how many entries were successfully mapped:
admin@PA-5050> show user server-monitor statistics
Directory Servers:
Name
TYPE
Host
Vsys
Status
----------------------------------------------------------------------------AD
AD
10.2.204.43
vsys1
Connected
Syslog Servers:
Name
Connection Host
Vsys
Status
----------------------------------------------------------------------------Syslog1
UDP
10.5.204.40
vsys1
N/A
Syslog2
SSL
10.5.204.41
vsys1
Not connected
To see how many user mappings were discovered through syslog senders:
admin@PA-5050> show user ip-user-mapping all type SYSLOG
IP
axTimeout(s)
--------------192.168.3.8
476
192.168.5.39
480
192.168.2.147
476
192.168.2.175
476
192.168.4.196
480
192.168.4.103
480
192.168.2.193
476
192.168.2.119
476
192.168.3.176
478
Vsys
From
User
IdleTimeout(s) M
SYSLOG
acme\jdonaldson
2480
vsys1
SYSLOG
acme\ccrisp
2476
vsys1
SYSLOG
acme\jjaso
2476
vsys1
SYSLOG
acme\jblevins
2480
vsys1
SYSLOG
acme\bmoss
2480
vsys1
SYSLOG
acme\esogard
2476
vsys1
SYSLOG
acme\acallaspo
2476
vsys1
SYSLOG
acme\jlowrie
2478
Total: 9 users
User-ID
225
User-ID
Description
NTLM Authentication
Web Form
Requests are redirected to a web form for authentication. You can configure
Captive Portal to use a local user database, RADIUS, LDAP, or Kerberos to
authenticate users. Although users will always be prompted for credentials, this
authentication method works with all browsers and operating systems.
Prompts the browser to present a valid client certificate for authenticating the user.
To use this method, you must provision client certificates on each user system and
install the trusted CA certificate used to issue those certificates on the firewall. This
is the only authentication method that enables transparent authentication for Mac
OS and Linux clients.
Description
Transparent
The firewall intercepts the browser traffic per the Captive Portal rule and
impersonates the original destination URL, issuing an HTTP 401 to invoke
authentication. However, because the firewall does not have the real certificate for
the destination URL, the browser will display a certificate error to users attempting
to access a secure site. Therefore you should only use this mode when absolutely
necessary, such as in Layer 2 or virtual wire deployments.
226
User-ID
User-ID
Mode
Description
Redirect
The firewall intercepts unknown HTTP or HTTPS sessions and redirects them to
a Layer 3 interface on the firewall using an HTTP 302 redirect in order to perform
authentication. This is the preferred mode because it provides a better end-user
experience (no certificate errors). However, it does require additional Layer 3
configuration. Another benefit of the Redirect mode is that it provides for the use
of session cookies, which enable the user to continue browsing to authenticated
sites without requiring re-mapping each time the time outs expire. This is especially
useful for users who roam from one IP address to another (for example, from the
corporate LAN to the wireless network) because they will not need to
re-authenticate upon IP address change as long as the session stays open. In
addition, if you plan to use NTLM authentication, you must use Redirect mode
because the browser will only provide credentials to trusted sites.
Step 1
Step 2
Step 3
1.
User-ID
2.
3.
227
User-ID
Configure Captive Portal Using the PAN-OS Integrated User-ID Agent (Continued)
Step 4
Step 5
3.
Best Practices:
If using RADIUS to authenticate
users from the web form, be sure
to enter a RADIUS domain. This
will be used as the default domain
if users dont supply one upon
2.
login.
If using AD to authenticate users
from the web form, make sure to
enter sAMAccountName as the
LogonAttribute.
228
User-ID
User-ID
Configure Captive Portal Using the PAN-OS Integrated User-ID Agent (Continued)
Step 6
1.
(Optional) Set up client certificate
authentication. Note that you do not need
to set up both an authentication profile 2.
and a client certificate profile to enable
3.
Captive Portal. If you configure both, the
user will be required to authenticate using
both methods.
For details on other certificate
profile fields, such as whether to
use CRL or OCSP, refer to the
online help.
4.
Create the client certificate profile that you will use when you
configure Captive Portal.
a. Select Device > Certificates > Certificate Management >
Certificate Profile and click Add and enter a profile Name.
b. In the Username Field drop-down, select the certificate field
that contains the users identity information.
c. In the CA Certificates field, click Add, select the Trusted
Root CA certificate you just imported and then click OK.
Step 7
1.
User-ID
Select Device > User Identification > User Mapping and click
the Edit
icon in the Palo Alto Networks User ID Agent
Setup section of the screen.
On the NTLM tab, select the Enable NTLM authentication
processing check box.
Enter the NTLM domain against which the User-ID agent on
the firewall should check NTLM credentials.
Enter the user name and password for the Active Directory
account you created in Step 1 in Map IP Addresses to Users
Using the Integrated User-ID Agent for NTLM authentication.
229
User-ID
Configure Captive Portal Using the PAN-OS Integrated User-ID Agent (Continued)
Step 8
1.
2.
3.
4.
5.
6.
230
7.
8.
User-ID
User-ID
Configure the Palo Alto Networks Terminal Server Agent for User Mapping
Retrieve User Mappings from a Terminal Server Using the User-ID XML API
Configure the Palo Alto Networks Terminal Server Agent for User Mapping
Use the following procedure to install the TS agent on the terminal server. You must install the TS agent on all
terminal servers that your users log in to in order to successfully map all your users.
For information about the supported terminal servers supported by the TS Agent, refer to
Operating System (OS) Compatibility TS Agent in the Terminal Services Agent Release Notes,
which are available on the Palo Alto Networks Software Updates page.
Step 1
User-ID
1.
2.
3.
4.
231
User-ID
Step 2
1.
2.
From the command line, run the .msi file you downloaded. For
example, if you saved the .msi file to the Desktop you would
enter the following:
C:\Users\administrator.acme>cd Desktop
C:\Users\administrator.acme\Desktop>TaInstall-6.0.
0-1.msi
3.
Follow the setup prompts to install the agent using the default
settings. By default, the agent gets installed to the C:\Program
Files (x86)\Palo Alto Networks\Terminal Server Agent
Step 3
232
User-ID
User-ID
Step 4
Step 5
User-ID
1.
Select Configure.
2.
3.
4.
5.
The System Source Port
Allocation Range and System
Reserved Source Ports fields
6.
specify the range of ports that will
be allocated to non-user sessions.
Make sure the values specified in
these fields do not overlap with
the ports you designate for user
traffic. These values can only be
changed by editing the
corresponding Windows registry
settings.
Configure the firewalls to connect to the Complete the following steps on each firewall you want to connect
Terminal Server agent.
to the Terminal Server agent to receive user mappings:
1. Select Device > User Identification > Terminal Server Agents
and click Add.
2.
3.
4.
Enter the Port number on which the agent will listen for user
mapping requests. This value must match the value configured
on the Terminal Server agent. By default, the port is set to 5009
on the firewall and on the agent. If you change it here you must
also change the Listening Port field on the Terminal Server
agent Configure screen.
5.
Make sure that the configuration is Enabled and then click OK.
6.
7.
connected.
233
User-ID
Step 6
1.
Launch the Terminal Server agent and verify that the firewalls
can connect by making sure the Connection Status for each of
Device in the Connection List is Connected.
2.
Retrieve User Mappings from a Terminal Server Using the User-ID XML API
The User-ID XML API is a RESTful API that uses standard HTTP requests to send and receive data. API calls
can be made directly from command line utilities such as cURL or using any scripting or application framework
that supports RESTful services.
To enable a non-Windows terminal server to send user mapping information directly to the firewall, create
scripts that extract the user login and logout events and use them for input to the User-ID XML API request
format. Then define the mechanisms for submitting the XML API request(s) to the firewall using cURL or wget
and providing the firewalls API key for secure communication. Creating user mappings from multi-user systems
such as terminal servers requires use of the following API messages:
<multiusersystem>Sets up the configuration for an XML API Multi-user System on the firewall.
This message allows for definition of the terminal server IP address (this will be the source address for all
users on that terminal server). In addition, the <multiusersystem> setup message specifies the range of
source port numbers to allocate for user mapping and the number of ports to allocate to each individual user
upon login (called the block size). If you want to use the default source port allocation range (1025-65534)
and block size (200), you do not need to send a <multiusersystem> setup event to the firewall. Instead, the
firewall will automatically generate the XML API Multi-user System configuration with the default settings
upon receipt of the first user login event message.
<blockstart>Used with the <login> and <logout> messages to indicate the starting source port
number allocated to the user. The firewall then uses the block size to determine the actual range of port
numbers to map to the IP address and username in the login message. For example, if the <blockstart>
value is 13200 and the block size configured for the multi-user system is 300, the actual source port range
allocated to the user is 13200 through 13499. Each connection initiated by the user should use a unique
source port number within the allocated range, enabling the firewall to identify the user based on its IP
address-port-user mappings for enforcement of user- and group-based security policy rules. When a user
exhausts all the ports allocated, the terminal server must send a new <login> message allocating a new port
range for the user so that the firewall can update the IP address-port-user mapping. In addition, a single
234
User-ID
User-ID
username can have multiple blocks of ports mapped simultaneously. When the firewall receives a <logout>
message that includes a <blockstart> parameter, it removes the corresponding IP address-port-user
mapping from its mapping table. When the firewall receives a <logout> message with a username and IP
address, but no <blockstart>, it removes the user from its table. And, if the firewall receives a <logout>
message with an IP address only, it removes the multi-user system and all mappings associated with it.
The XML files that the terminal server sends to the firewall can contain multiple message types
and the messages do not need to be in any particular order within the file. However, upon
receiving an XML file that contains multiple message types, the firewall will process them in the
following order: multiusersystem requests first followed by logins then logouts.
The following workflow provides an example of how to use the User-ID XML API to send user mappings from
a non-Windows terminal server to the firewall.
Use the User-ID XML API to Map Non-Windows Terminal Services Users
Step 1
User-ID
From a browser, log in to the firewall. Then, to generate the API key for the
firewall, open a new browser window and enter the following URL:
https://<Firewall-IPaddress>/api/?type=keygen&user=<username>&
password=<password>
The firewall responds with a message containing the key, for example:
<response status="success">
<result>
<key>k7J335J6hI7nBxIqyfa62sZugWx7ot%2BgzEA9UOnlZRg=</key>
</result>
</response>
235
User-ID
Use the User-ID XML API to Map Non-Windows Terminal Services Users (Continued)
Step 2
Step 3
The following shows the input file format for a user-ID XML login event:
<uid-message>
<payload>
<login>
<entry name="acme\jjaso" ip="10.1.1.23" blockstart="20000">
<entry name="acme\jparker" ip="10.1.1.23" blockstart="20100">
<entry name="acme\ccrisp" ip="10.1.1.23" blockstart="21000">
</login>
</payload>
<type>update</type>
<version>1.0</version>
</uid-message>
The firewall uses this information to populate its user mapping table. Based on
the mappings extracted from the example above, if the firewall received a packet
with a source address and port of 10.1.1.23:20101, it would map the request to
user jparker for policy enforcement.
Each multi-user system can allocate a maximum of 1000 port blocks.
236
User-ID
User-ID
Use the User-ID XML API to Map Non-Windows Terminal Services Users (Continued)
Step 4
Create a script that will extract The following shows the input file format for a User-ID XML logout event:
the logout events and create <uid-message>
<payload>
the XML input file to send to
<logout>
<entry name="acme\jjaso" ip="10.1.1.23"
the firewall.
blockstart="20000">
Step 5
Step 6
One way to do this would be to use netfilter NAT rules to hide user sessions
behind the specific port ranges allocated via the XML API based on the uid. For
example, to ensure that a user with the user ID jjaso is mapped to a source
network address translation (SNAT) value of 10.1.1.23:20000-20099 the script
you create should include the following:
[root@ts1 ~]# iptables -t nat -A POSTROUTING -m owner --uid-owner jjaso
-p tcp -j SNAT --to-source 10.1.1.23:20000-20099
Similarly, the scripts you create should also ensure that the IP table routing
configuration dynamically removes the SNAT mapping when the user logs out
or the port allocation changes:
[root@ts1 ~]# iptables -t nat -D POSTROUTING 1
For example, the syntax for sending an input file named login.xml to the firewall
at 10.2.5.11 using key k7J335J6hI7nBxIqyfa62sZugWx7ot%2BgzEA9UOnlZRg
using wget would look as follows:
> wget --post file login.xml
https://10.2.5.11/api/?type=user-id&key=k7J335J6hI7nBxIqyfa62sZugWx
7ot%2BgzEA9UOnlZRg&file-name=login.xml&client=wget&vsys=vsys1
For example, the syntax for sending an input file named login.xml to the firewall
at 10.2.5.11 using key k7J335J6hI7nBxIqyfa62sZugWx7ot%2BgzEA9UOnlZRg
using cURL would look as follows:
> curl --form [email protected]
https://10.2.5.11/api/?type=user-id&key=k7J335J6hI7nBxIqyfa62sZugWx7ot%
2BgzEA9UOnlZRg&vsys=vsys1
User-ID
237
User-ID
Use the User-ID XML API to Map Non-Windows Terminal Services Users (Continued)
Step 7
Verify the configuration by opening an SSH connection to the firewall and then
running the following CLI commands:
To verify if the terminal server is connecting to the firewall over XML:
admin@PA-5050> show user xml-api multiusersystem
Host
Vsys
Users
Blocks
---------------------------------------10.5.204.43
vsys1
5
2
To verify that the firewall is receiving mappings from a terminal server over
XML:
admin@PA-5050> show user ip-port-user-mapping all
Global max host index 1, host hash count 1
XML API Multi-user System 10.5.204.43
Vsys 1, Flag 3
Port range: 20000 - 39999
Port size: start 200; max 2000
Block count 100, port count 20000
20000-20199: acme\administrator
Total host: 1
238
User-ID
User-ID
Step 1
User-ID
1.
Select Device > User Identification > User Mapping and edit the
Palo Alto Networks User-ID Agent Setup section.
2.
Select Redistribution.
3.
4.
Enter and confirm the Pre-Shared Key that will enable other
firewalls to connect to this firewall to retrieve user mapping
information.
5.
239
User-ID
Step 2
Step 3
1.
Select Network > Network Profiles > Interface Mgmt and click
Add.
2.
Enter a Name for the profile and then select the Permitted
Services. At a minimum, select User-ID Service and HTTPS.
3.
4.
Select Network > Interfaces > Ethernet and select the interface
you plan to use for redistribution.
5.
6.
Perform the following steps on each firewall that you want to be able
to retrieve user mappings:
1. Select Device > User Identification > User-ID Agents.
2.
3.
4.
5.
6.
7.
8.
9.
Make sure that the configuration is Enabled and then click OK.
on the dataplane)
show user ip-user-mapping-mp
management plane).
240
User-ID
User-ID
Step 1
User-ID
241
User-ID
Step 2
1.
2.
242
User-ID
User-ID
Step 3
1.
2.
3.
4.
Define the Action to take on traffic that matches the rule. You
can choose:
no-captive-portalAllow traffic to pass without presenting
a Captive Portal page for authentication.
web-formPresent a Captive Portal page for the user to
explicitly enter authentication credentials or use client
certificate authentication.
browser-challengeOpen an NTLM authentication
request to the user's web browser. The web browser will
respond using the users current login credentials. If the login
credentials are not available, the user will be prompted to
supply them.
5.
Click OK.
Step 4
User-ID
Click Commit.
243
User-ID
Step 1
Step 2
If you are using the on-device User-ID agent, you can verify this
from the CLI using the following command:
show user ip-user-mapping-mp all
IP
(sec)
Vsys
From
User
Timeout
-----------------------------------------------------192.168.201.1
vsys1 UIA
acme\george
192.168.201.11
vsys1 UIA
acme\duane
210
192.168.201.50
vsys1 UIA
acme\betsy
210
192.168.201.10
vsys1 UIA
acme\administrator
210
acme\administrator
748
192.168.201.100 vsys1 AD
210
Total: 5 users
*: WMI probe succeeded
Step 3
244
User-ID
User-ID
Step 4
1.
2.
3.
Log in using the correct credentials and confirm that you are
redirected to the requested page.
4.
You can also test your Captive Portal policy using the test
command as follows:
cp-policy-match
Step 5
User-ID
Verify that user names are displayed in the log files (Monitor > Logs).
245
User-ID
Step 6
246
Verify that user names are displayed in reports (Monitor > Reports). For example, when drilling down into the
denied applications report, you should see a list of the users who attempted to access the applications as in the
following example.
User-ID
App-ID
To safely enable applications on your network, the Palo Alto Networks next-generation firewalls provide both
an application and web perspectiveApp-ID and URL Filteringto protect against a full spectrum of legal,
regulatory, productivity, and resource utilization risks.
App-ID enables visibility into the applications on the network, so you can learn how they work, understand their
behavioral characteristics and their relative risk. This application knowledge allows you to create and enforce
security policies to enable, inspect, and shape desired applications and block undesired applications. When you
define policies to begin allowing traffic, App-ID begins to classify traffic without any additional configuration.
App-ID Overview
App-ID
247
App-ID Overview
App-ID
App-ID Overview
App-ID, a patented traffic classification system only available in Palo Alto Networks firewalls, determines what
the application is irrespective of port, protocol, encryption (SSH or SSL) or any other evasive tactic used by the
application. It applies multiple classification mechanismsapplication signatures, application protocol
decoding, and heuristicsto your network traffic stream to accurately identify applications.
Here's how App-ID identifies applications traversing your network:
Signatures are then applied to allowed traffic to identify the application based on unique application
properties and related transaction characteristics. The signature also determines if the application is being
used on its default port or it is using a non-standard port. If the traffic is allowed by policy, the traffic is then
scanned for threats and further analyzed for identifying the application more granularly.
If App-ID determines that encryption (SSL or SSH) is in use, and a decryption policy is in place, the session
is decrypted and application signatures are applied again on the decrypted flow.
Decoders for known protocols are then used to apply additional context-based signatures to detect other
applications that may be tunneling inside of the protocol (e.g., Yahoo! Instant Messenger used across HTTP).
Decoders validate that the traffic conforms to the protocol specification and provide support for NAT
traversal and opening dynamic pinholes for applications such as SIP and FTP.
For applications that are particularly evasive and cannot be identified through advanced signature and
protocol analysis, heuristics or behavioral analysis may be used to determine the identity of the application.
When the application is identified, the policy check determines how to treat the application, for example
block, or allow and scan for threats, inspect for unauthorized file transfer and data patterns, or shape using QoS.
248
App-ID
App-ID
Incomplete dataA handshake took place, but no data packets were sent prior to the timeout.
Insufficient dataA handshake took place followed by one or more data packets; however, not enough data
packets were exchanged to identify the application.
Create security policies to control unknown applications by unknown TCP, unknown UDP or by a
combination of source zone, destination zone, and IP addresses.
Request an App-ID from Palo Alto NetworksIf you would like to inspect and control the applications that
traverse your network, for any unknown traffic, you can record a packet capture. If the packet capture reveals
that the application is a commercial application, you can submit this packet capture to Palo Alto Networks
for App-ID development. If it is an internal application, you can create a custom App-ID and/or define an
application override policy.
Create a custom App-ID with a signature and attach it to a security policy, or create a custom App-ID and
define an application override policyA custom App-ID allows you to customize the definition of the
internal applicationits characteristics, category and sub-category, risk, port, timeoutand exercise
granular policy control in order to minimize the range of unidentified traffic on your network. Creating a
custom App-ID also allows you to correctly identify the application in the ACC and traffic logs and is useful
in auditing/reporting on the applications on your network. For a custom application you can specify a
signature and a pattern that uniquely identifies the application and attach it to a security policy that allows or
denies the application.
In order to collect the right data to create a custom application signature, you'll need a good
understanding of packet captures and how datagrams are formed. If the signature is created too
broadly you might inadvertently include other similar traffic; if it is defined too narrowly, the traffic
will evade detection if it does not strictly match the pattern.
Custom App-IDs are stored in a separate database on the firewall and this database is not
impacted by the weekly App-ID updates.
The supported application protocol decoders that enables the firewall to detect applications that
may be tunneling inside of the protocol include the following as of content update 424: HTTP,
HTTPS, DNS, FTP, IMAP SMTP, Telnet, IRC (Internet Relay Chat), Oracle, RTMP, RTSP, SSH,
GNU-Debugger, GIOP (Global Inter-ORB Protocol), Microsoft RPC, Microsoft SMB (also known
as CIFS). Additionally, with the 4.0 release of PAN-OS this custom App-ID capability has been
expanded to include unknown TCP and unknown UDP as well.
Alternatively, if you would like the firewall to process the custom application using fast path (Layer-4
inspection instead of using App-ID for Layer-7 inspection), you can reference the custom App-ID in an
application override policy. An application override with a custom application will prevent the session from
being processed by the App-ID engine, which is a Layer-7 inspection. Instead it forces the firewall to handle
the session as a regular stateful inspection firewall at Layer-4, and thereby saves application processing time.
App-ID
249
App-ID
For example, if you build a custom application that triggers on a host header www.mywebsite.com, the packets
are first identified as web-browsing and then are matched as your custom application (whose parent application
is web-browsing). Because the parent application is web-browsing, the custom application is inspected at
Layer-7 and scanned for content and vulnerabilities.
If you define an application override, the firewall stops processing at Layer-4. The custom application name
is assigned to the session to help identify it in the logs, and the traffic is not scanned for threats.
For more details, refer to the following articles:
250
App-ID
App-ID
Review the ACC for the list of applications on your network, and determine which applications to allow or
block. If you are migrating from a firewall where you defined port-based rules, to get a list of applications
that run on a given port search by the port number in the application browser (Objects > Applications) on
the Palo Alto Networks firewall or in Applipedia.
Use application-default for the Service. The firewall compares the port used with the list of default ports
for that application. If the port used is not a default port for the application, the firewall drops the session
and logs the message appid policy lookup deny. If you have a application that is accessed on many ports and
you would like to limit the ports on which the application is used, specify it in Service/Service Group
objects in policies.
Use application filters to dynamically include new applications in existing policy rules. See an example.
App-ID
251
App-ID
Implicitly Supports
360-safeguard-update
http
apple-update
http
apt-get
http
as2
http
avg-update
http
avira-antivir-update
http, ssl
blokus
rtmp
bugzilla
http
clubcooee
http
corba
http
cubby
http, ssl
dropbox
ssl
esignal
http
evernote
http, ssl
ezhelp
http
http, ssl
facebook-chat
jabber
facebook-social-plugin
http
fastviewer
http, ssl
forticlient-update
http
gmail
http
good-for-enterprise
http, ssl
google-cloud-print
252
App-ID
App-ID
Application
Implicitly Supports
google-desktop
http
google-drive-web
http
google-talk
jabber
google-update
http
gotomypc-desktop-sharing
citrix-jedi
gotomypc-file-transfer
citrix-jedi
gotomypc-printing
citrix-jedi
hipchat
http
iheartradio
infront
http
http, ssl
issuu
http, ssl
java-update
http
jepptech-updates
http
kerberos
rpc
kik
http, ssl
lastpass
http, ssl
logmein
http, ssl
mcafee-update
http
megaupload
http
metatrader
http
mocha-rdp
t_120
mount
rpc
ms-frs
msrpc
ms-rdp
t_120
ms-scheduler
msrpc
ms-service-controller
msrpc
nfs
rpc
oovoo
http, ssl
paloalto-updates
ssl
panos-global-protect
http
panos-web-interface
http
App-ID
253
App-ID
Application
Implicitly Supports
pastebin
http
pastebin-posting
http
http, ssl
portmapper
rpc
prezi
http, ssl
rdp2tcp
t_120
renren-im
jabber
roboform
http, ssl
salesforce
http
stumbleupon
http
supremo
http
symantec-av-update
http
trendmicro
http
trillian
http, ssl
http
http, ssl
xm-radio
rtsp
254
App-ID
App-ID
App-ID
255
App-ID
Step 1
Step 2
Step 3
Select Customize... for ALG in the Options section of the Application dialog box.
Step 4
Select the Disable ALG check box in the Application - sip dialog box and click OK.
Step 5
256
App-ID
Threat Prevention
The Palo Alto Networks next-generation firewall protects and defends your network from commodity threats
and advanced persistent threats (APTs). The firewalls multi-pronged detection mechanisms include a
signature-based (IPS/Command and Control/Antivirus) approach, heuristics-based (bot detection) approach,
sandbox-based (WildFire) approach, and Layer 7 protocol analysis-based (App-ID) approach.
Commodity threats are exploits that are less sophisticated and more easily detected and prevented using a
combination of the antivirus, anti-spyware, vulnerability protection and the URL filtering/Application
identification capabilities on the firewall.
Advanced threats are perpetuated by organized cyber criminals or malicious groups that use sophisticated attack
vectors to target your network, most commonly for intellectual property theft and financial data theft. These
threats are more evasive and require intelligent monitoring mechanisms for detailed host and network forensics
on malware. The Palo Alto Networks next-generation firewall in conjunction with WildFire and Panorama
provides a comprehensive solution that intercepts and break the attack chain and provides visibility to prevent
security infringement on your networkincluding mobile and virtualizedinfrastructure.
Best Practices for Securing Your Network from Layer 4 and Layer 7 Evasions
Threat Prevention
257
Threat Prevention
URL FilteringProvides the ability to control access to websites based on URL category. You can
purchase and install a subscription for PAN-DB (Palo Alto Networks database) or the BrightCloud URL
filtering databases.
WildFireThe WildFire feature is included as part of the base product. This means that anyone can
configure a file blocking profile to forward Portable Executable (PE) files to WildFire for analysis. A threat
prevention subscription is required in order to receive antivirus signature updates, which include signatures
discovered by WildFire.
The WildFire subscription service provides enhanced services for organizations that require immediate
security, enabling sub-hourly WildFire signature updates, advanced file type forwarding (APK, PDF,
Microsoft Office, and Java Applet), as well as the ability to upload files using the WildFire API. A WildFire
subscription is also required if your firewalls will be forwarding files to a private WF-500 WildFire appliance.
Decryption Port MirrorProvides the ability to create a copy of decrypted traffic from the firewall and
send it to a traffic collection tool that is capable of receiving raw packet capturessuch as NetWitness or
Solerafor archiving and analysis.Currently this license is available free of charge through the Palo Alto
Networks Support Portal; this feature is supported on the PA-7050, PA-5000 Series and PA-3000 Series
platforms only. For more information, see Configure Decryption Port Mirroring.
Retrieve license keys from license serverUse this option if your license has been activated on the
support portal.
Activate feature using authorization codeUse this option to enable purchased subscriptions using an
authorization code for licenses that have not been previously activated on the support portal.
258
Threat Prevention
Threat Prevention
Manually upload license keyUse this option if your device does not have connectivity to the Palo Alto
Networks support site. In this case, you must download a license key file from the support site on an Internet
connected computer and then upload to the device.
For more details about registering and activating licenses on your firewall, see Activate Licenses.
Threat Prevention
259
Threat Prevention
Description
Antivirus
Protects against viruses, worms, and trojans as well as spyware downloads. Using a
stream-based malware prevention engine, which inspects traffic the moment the first packet
is received, the Palo Alto Networks antivirus solution can provide protection for clients
without significantly impacting the performance of the firewall. This feature will scan for a
wide variety of malware in executables, PDF files, HTML and JavaScript viruses, including
support for scanning inside compressed files and data encoding schemes. Scanning of
decrypted content can be performed by enabling decryption on the firewall.
The default profile inspects all of the listed protocol decoders for viruses, and generates
alerts for SMTP, IMAP, and POP3 protocols while blocking for FTP, HTTP, and SMB
protocols. Customized profiles can be used to minimize antivirus inspection for traffic
between trusted security zones, and to maximize the inspection of traffic received from
untrusted zones, such as the Internet, as well as the traffic sent to highly sensitive
destinations, such as server farms.
The Palo Alto Networks WildFire system also provides signatures for persistent threats that
are more evasive and have not yet been discovered by other antivirus solutions. As threats
are discovered by WildFire, signatures are quickly created and then integrated into the
standard antivirus signatures that can be downloaded by Threat Prevention subscribers on
a daily basis (sub-hourly for WildFire subscribers).
260
Threat Prevention
Threat Prevention
Threat Prevention
Feature
Description
Anti-spyware
Blocks attempts from spyware on compromised hosts trying to phone-home or beacon out
to external command-and-control (C2) servers. You can apply various levels of protection
between zones. For example, you may want to have custom anti-spyware profiles that
minimize inspection between trusted zones, while maximizing inspection on traffic received
from an untrusted zone, such as Internet facing zones.
You can choose between two pre-defined profiles when applying anti-spyware to a security
policy.
DefaultThe default profile will use the default action for every signature, as specified
by Palo Alto Networks when the signature is created.
StrictThe strict profile will override the action of critical, high, and medium severity
threats to the block action, regardless of the action defined in the signature file. The
default action is taken with medium and informational severity signatures.
In PAN-OS 6.0, the DNS sinkhole feature has been added. The DNS sinkhole action that
can be enabled in Anti-Spyware profiles enables the firewall to forge a response to a DNS
query for a known malicious domain, causing the malicious domain name to resolve to an
IP address that you define. This feature can be used to identify infected hosts on the
protected network using DNS traffic in situations where the firewall cannot see the infected
client's DNS query (That is, the firewall cannot see the originator of the DNS query). In a
typical deployment where the firewall is north of the local DNS server, the threat log will
identify the local DNS resolver as the source of the traffic rather than the actual infected
host. Sinkholing malware DNS queries solves this visibility problem by forging responses
to the client host queries directed at malicious domains, so that clients attempting to
connect to malicious domains (for command-and-control, for example) will instead attempt
to connect to a sinkhole IP address you define. Infected hosts can then be easily identified
in the traffic and threat logs because any host that attempts to connect to the sinkhole IP
address are most likely infected with malware. Anti-spyware and vulnerability protection
profiles are configured similarly. With anti-spyware, the main purpose is to detect malicious
traffic leaving the network from infected clients, whereas vulnerability protection protects
against threats entering the network.
Vulnerability Protection
Stops attempts to exploit system flaws or gain unauthorized access to systems. For example,
this feature will protect against buffer overflows, illegal code execution, and other attempts
to exploit system vulnerabilities. The default vulnerability protection profile protects clients
and servers from all known critical, high, and medium-severity threats. You can also create
exceptions, which allow you to change the response to a specific signature.
Anti-spyware and vulnerability protection profiles are configured similarly. With
vulnerability protection, the main purpose is to detect malicious traffic entering the network
from infected clients, whereas anti-spyware protection protects against threats leaving the
network.
URL Filtering
Threat Prevention
Provides the ability to control user web traffic based on specific websites and/or website
categories such as adult, shopping, gambling, and so on. The Palo Alto Networks PAN-DB
URL database, or the BrightCloud database are available for categorization and enforcing
URL Filtering policies on the firewall.
261
Threat Prevention
Threat Prevention
Feature
Description
Data Filtering
Helps to prevent sensitive information such as credit card or social security numbers from
leaving a protected network. You can also filter on key words, such as a sensitive project
name and the word confidential. It is important to focus your profile on the desired file
types to reduce false positives. For example, you may only want to search Word documents
or Excel spreadsheets. You may also only want to scan web-browsing traffic, or FTP.
You can use default profiles, or create custom data patterns. There are two default profiles:
CC# (Credit Card)Identifies credit card numbers using a hash algorithm. The
content must match the hash algorithm in order for data to be detected as a credit card
number. This method will reduce false positives.
SSN# (Social Security Number)Uses an algorithm to detect nine digit numbers,
regardless of format. There are two fields: SSN# and SSN# (no dash).
Weight and Threshold Values
It is important to understand how the weight of an object (SSN, CC#, pattern) is calculated
in order to set the appropriate threshold for a condition you are trying to filter. Each
occurrence multiplied by the weight value will be added together in order to reach an action
threshold (alert or block).
Example 1
For simplicity, if you only want to filter files with Social Security Numbers (SSN) and you
define a weight of 3 for SSN#, you would use the following formula: each instance of a SSN
x weight = threshold increment. In this case, if a Word document has 10 social security
numbers you multiply that by the weight of 3, so 10 x 3 = 30. In order to take action for a
file that contains 10 social security numbers you would set the threshold to 30. You may
want to set an alert at 30 and then block at 60. You may also want to set a weight in the field
SSN# (no dash) for Social Security Numbers that do not contain dashes. If multiple settings
are used, they will accumulate to reach a given threshold.
Example 2
In this example, we will filter on files that contain Social Security Numbers and the custom
pattern confidential. In other words, if a file has Social Security Numbers in addition to the
word confidential and the combined instances of those items hit the threshold, the file will
trigger an alert or block, depending on the action setting.
SSN# weight = 3
Custom Pattern confidential weight = 20
The custom pattern is case sensitive.
If the file contains 20 Social Security Numbers and a weight of 3 is configured, that is 20 x
3 = 60. If the file also contains one instance of the term confidential and a weight of 20 is
configured, that is 1 x 20 = 20 for a total of 80. If your threshold for block is set to 80, this
scenario would block the file. The alert or block action will be triggered as soon as the
threshold is hit.
262
Threat Prevention
Threat Prevention
Threat Prevention
Feature
Description
File Blocking
Blocks specified file types over specified applications and in the specified session flow
direction (inbound/outbound/both). You can set the profile to alert or block on upload
and/or download and you can specify which applications will be subject to the file blocking
profile. You can also configure custom block pages that will appear when a user attempts to
download the specified file type. This allows the user to take a moment to consider whether
or not they want to download a file.
The following actions can be set when the specified file is detected:
AlertWhen the specified file type is detected, a log is generated in the data filtering log.
BlockWhen the specified file type is detected, the file is blocked and a customizable
block page is presented to the user. A log is also generated in the data filtering log.
ContinueWhen the specified file type is detected, a customizable continuation page is
presented to the user. The user can click through the page to download the file. A log is
also generated in the data filtering log.
ForwardWhen the specified file type is detected, the file is sent to WildFire for
analysis. A log is also generated in the data filtering log.
Continue-and-forwardWhen the specified file type is detected, a customizable
continuation page is presented to the user. The user can click through the page to
download the file. If the user clicks through the continue page to download the file, the
file is sent to WildFire for analysis. A log is also generated in the data filtering log.
DoS Protection
Provide detailed control for Denial of Service (DoS) protection policies. DoS policies allow
you to control the number of sessions between interfaces, zones, addresses, and countries
based on aggregate sessions or source and/or destination IP addresses. There are two DoS
protection mechanisms that the Palo Alto Networks firewalls support.
Flood ProtectionDetects and prevents attacks where the network is flooded with
packets resulting in too many half-open sessions and/or services being unable to respond
to each request. In this case the source address of the attack is usually spoofed.
Resource Protection Detects and prevent session exhaustion attacks. In this type of
attack, a large number of hosts (bots) are used to establish as many fully established
sessions as possible to consume all of a systems resources.
Both of these protection mechanisms can be defined in a single DoS profile.
The DoS profile is used to specify the type of action to take and details on matching criteria
for the DoS policy. The DoS profile defines settings for SYN, UDP, and ICMP floods, can
enable resource protect and defines the maximum number of concurrent connections. After
you configure the DoS protection profile, you then attach it to a DoS policy.
When configuring DoS protection, it is important to analyze your environment in order to
set the correct thresholds and due to some of the complexities of defining DoS protection
policies, this guide will not go into detailed examples. For more information, refer to the
Threat Prevention Tech Note.
Threat Prevention
263
Threat Prevention
Threat Prevention
Feature
Description
Zone Protection
Provides additional protection between specific network zones in order to protect the zones
against attack. The profile must be applied to the entire zone, so it is important to carefully
test the profiles in order to prevent issues that may arise with the normal traffic traversing
the zones. When defining packets per second (pps) thresholds limits for zone protection
profiles, the threshold is based on the packets per second that do not match a previously
established session. For more information, refer to the Threat Prevention Tech Note.
264
Threat Prevention
Threat Prevention
For information on controlling web access as part of your threat prevention strategy, see URL Filtering.
Step 1
Verify that you have a Threat Prevention The Threat Prevention license bundles the Antivirus,
license.
Anti-spyware, and the Vulnerability Protection features in one
license.
Select Device > Licenses to verify that the Threat Prevention
license is installed and check the expiration date.
Step 2
1.
Select Device > Dynamic Updates and click Check Now at the
bottom of the page to retrieve the latest signatures.
Threat Prevention
265
Threat Prevention
Step 3
1.
From Device > Dynamic Updates, click the text to the right of
Schedule to automatically retrieve signature updates for
Antivirus and Applications and Threats.
2.
Specify the frequency and timing for the updates and whether
the update will be downloaded and installed or only
downloaded. If you select Download Only, you would need to
manually go in and click the Install link in the Action column to
install the signature. When you click OK, the update is scheduled.
No commit is required.
3.
4.
The general recommendation for antivirus signature update schedules is to perform a download-and-install on a daily
basis for antivirus and weekly for applications and vulnerabilities.
Recommendations for HA Configurations:
Active/Passive HAIf the MGT port is used for antivirus signature downloads, you should configure a schedule on
both devices and both devices will download/install independently. If you are using a data port for downloads, the
passive device will not perform downloads while it is in the passive state. In this case you would set a schedule on both
devices and then select the Sync To Peer option. This will ensure that whichever device is active, the updates will occur
and will then push to the passive device.
Active/Active HAIf the MGT port is used for antivirus signature downloads on both devices, then schedule the
download/install on both devices, but do not select the Sync To Peer option. If you are using a data port, schedule the
signature downloads on both devices and select Sync To Peer. This will ensure that if one device in the active/active
configuration goes into the active-secondary state, the active device will download/install the signature and will then
push it to the active-secondary device.
266
Threat Prevention
Threat Prevention
Step 4
1.
2.
Step 5
Click Commit.
Step 1
1.
Select Objects > Security Profiles > Data Filtering and click
Add.
2.
3.
Threat Prevention
267
Threat Prevention
Step 2
268
1.
2.
3.
Set the password that will be required to view the data filtering
logs.
Threat Prevention
Threat Prevention
Step 3
1.
From the Data Filtering Profile page click Add and select New
from the Data Pattern drop-down. You can also configure data
patterns from Objects > Custom Signatures > Data Patterns.
2.
3.
4.
Threat Prevention
269
Threat Prevention
Step 4
Step 5
270
2.
Set File Types to doc and docx to only scan doc and docx files.
2.
3.
Set the Block Threshold to 50. The file will be blocked if the
threshold of 50 instances of a SSN and/or the term confidential
exists in the file. In this case, if the doc contained 1 instance of
the word confidential with a weight of 20 that equals 20 toward
the threshold, and the doc has 15 Social Security Numbers with
a weight of 3 that equals 45. Add 20 and 45 and you have 65,
which will exceed the block threshold of 50.
Threat Prevention
Threat Prevention
Step 6
1.
2.
Select Policies > Security and select the security policy rule to
which to apply the profile.
Click the security policy rule to modify it and then click the
Actions tab. In the Data Filtering drop-down, select the new
data filtering profile you created and then click OK to save. In
this example, the data filtering rule name is DF_Profile1.
Step 7
Step 8
When testing, you must use real Social Security Numbers and each
number must be unique. Also, when defining Custom Patterns as we
If you have problems getting Data
did in this example with the word confidential, the pattern is case
Filtering to work, you can check the Data
sensitive. To keep your test simple, you may want to just test using a
Filtering log or the Traffic log to verify the
data pattern first, then test the SSNs.
application that you are testing with and
1. Access a client PC in the trust zone of the firewall and send an
make sure your test document has the
HTTP request to upload a .doc or .docx file that contains the
appropriate number of unique Social
exact information you defined for filtering.
Security Number instances. For example,
an application such as Microsoft Outlook 2. Create a Microsoft Word document with one instance of the
term confidential and five Social Security numbers with dashes.
Web App may seem to be identified as
web-browsing, but if you look at the logs, 3. Upload the file to a website. Use an HTTP site unless you have
the application is outlook-web. Also
decryption configured, in which case you can use HTTPS.
increase the number of SSNs, or your
4. Select Monitoring > Logs > Data Filtering logs.
custom pattern to make sure you are
5. Locate the log that corresponds to the file you just uploaded. To
hitting the thresholds.
help filter the logs, use the source of your client PC and the
destination of the web server. The action column in the log will
show reset-both. You can now increase the number of Social
Security Numbers in the document to test the block threshold.
Test the data filtering configuration.
Threat Prevention
271
Threat Prevention
Step 1
1.
Select Objects > Security Profiles > File Blocking and click
Add.
2.
Step 2
Step 3
1.
2.
3.
4.
5.
6.
7.
1.
2.
3.
4.
272
Threat Prevention
Threat Prevention
Step 4
To test your file blocking configuration, access a client PC in the trust zone of the firewall and attempt to
download a .exe file from a website in the untrust zone. A response page should display. Click Continue to
download the file. You can also set other actions, such as alert only, forward (which will forward to WildFire), or
block, which will not provide a continue page to the user. The following shows the default response page for
File Blocking:
Step 5
(Optional) Define custom file blocking response pages (Device > Response Pages). This allows you to provide
more information to users when they see a response page. You can include information such as company policy
information and contact information for a Helpdesk.
When you create a file blocking profile with the action continue or continue-and-forward (used for
WildFire forwarding), you can only choose the application web-browsing. If you choose any other
application, traffic that matches the security policy will not flow through the firewall due to the fact that
the users will not be prompted with a continue page. Also, if the website uses HTTPS, you will need to
have a decryption policy in place.
You may want to check your logs to confirm what application is being used when testing this feature. For example, if you
are using Microsoft Sharepoint to download files, even though you are using a web-browser to access the site, the
application is actually sharepoint-base, or sharepoint-document. You may want to set the application type to Any for
testing.
Threat Prevention
273
Threat Prevention
Attach the vulnerability profile to a security rule. See Set Up Antivirus, Anti-spyware, and Vulnerability
Protection.
Install content updates that include new signatures to protect against emerging threats. See Manage Content
Updates.
Customize the Action and Trigger Conditions for a Brute Force Signature
Threat Name
40001
40003
40004
274
Child Signature ID
40002
31696
Trigger Conditions
Threat Prevention
Threat Prevention
Signature ID
Threat Name
Child Signature ID
Trigger Conditions
40005
31706
HTTP: User
Authentication
Brute-force Attempt
31708
31709
40006
40007
40008
40009
40010
40011
40012
40013
MySQL Authentication
Brute-force Attempt
31719
Telnet Authentication
Brute-force Attempt
31732
31753
31754
31761
31763
Threat Prevention
275
Threat Prevention
Signature ID
Threat Name
Child Signature ID
Trigger Conditions
40014
31764
40015
40016
40017
40018
40019
40020
40021
40022
40023
276
31993
32256
32452
32513
33020
HTTP: Microsoft
ASP.Net Information
Leak brute force
Attempt
33435
33592
Threat Prevention
Threat Prevention
Signature ID
Threat Name
Child Signature ID
Trigger Conditions
40028
34520
34548
HTTP: HTTP
Forbidden Brute Force
Attack
34556
34767
40030
40031
40032
40033
40034
35364
Customize the Action and Trigger Conditions for a Brute Force Signature
The firewall includes two types of predefined brute force signaturesparent signature and child signature. A
child signature is a single occurrence of a traffic pattern that matches the signature. A parent signature is
associated with a child signature and is triggered when multiple events occur within a time interval and match
the traffic pattern defined in the child signature.
Typically, a child signature is of default action allow because a single event is not indicative of an attack. In most
cases, the action for a child signature is set to allow so that legitimate traffic is not blocked and threat logs are
not generated for non-noteworthy events. Therefore, Palo Alto Networks recommends that you only change
the default action after careful consideration.
In most cases, the brute force signature is a noteworthy event because of its recurrent pattern. If you would like
to customize the action for a brute-force signature, you can do one of the following:
Create a rule to modify the default action for all signatures in the brute force category. You can define the
action to allow, alert, block, reset, or drop the traffic.
Threat Prevention
277
Threat Prevention
Define an exception for a specific signature. For example, you can search for a CVE and define an exception
for it.
For a parent signature, you can modify both the trigger conditions and the action; for a child signature only
the action can be modified.
To effectively mitigate an attack, the block-ip address action is recommended
over the drop or reset action for most brute force signatures.
Step 1
Step 2
Step 3
Select Rules, click Add and enter a Name for the rule.
Set the Action. In this example, it is set to Block.
3.
4.
5.
6.
7.
1.
2.
3.
4.
278
5.
Click OK
6.
7.
Click OK.
Threat Prevention
Threat Prevention
Step 4
1.
Click
to edit the time attribute and the aggregation
criteria for the signature.
2.
3.
4.
Click OK.
1.
Click Commit.
Step 5
Step 6
Threat Prevention
279
Best Practices for Securing Your Network from Layer 4 and Layer 7 Evasions
Threat Prevention
Upgrade to the most current PAN-OS software version and content release version to ensure that you
have the latest security updates. See Manage Content Updates and Install Software Updates.
For web servers, create a security policy to only allow the protocols that the server supports. For example,
ensure that only HTTP traffic is allowed to a web server. If you have defined an application override policy
for a custom application, make sure to restrict access to specific source zone or set of IP addresses.
Attach the following security profiles to your security policies to provide signature-based protection.
Create a vulnerability protection profile to block all vulnerabilities with severity low and higher.
Create an antivirus profile to block all content that matches an antivirus signature.
Block all unknown applications/traffic using security policy. Typically, the only applications that are
classified as unknown traffic are internal or custom applications on your network, or potential threats.
Because unknown traffic can be a non-compliant application or protocol that is anomalous or abnormal,
or a known application that is using non-standard ports, unknown traffic should be blocked. See Manage
Custom or Unknown Applications.
Create a file blocking profile that blocks Portable Executable (PE) file types for Internet-based SMB
(Server Message Block) traffic from traversing the trust to untrust zones, (ms-ds-smb applications).
For additional protection, create an antivirus policy to detect and block any known malicious DLL files.
Create a zone protection profile that is configured to drop mismatched and overlapping TCP segments, to
protect against packet-based attacks.
By deliberately constructing connections with overlapping but different data in them, attackers can attempt
to cause misinterpretation of the intent of the connection. This can be used to deliberately induce false
positives or false negatives. An attacker can use IP spoofing and sequence number prediction to intercept a
user's connection and inject his/her own data into the connection. PAN-OS uses this field to discard such
frames with mismatched and overlapping data. The scenarios where the received segment will be discarded
are:
Verify that support for IPv6 is enabled, if you have configured IPv6 addresses on your network hosts.
(Network > Interfaces > Ethernet> IPv6)
This allows access to IPv6 hosts and filters IPv6 packets that are encapsulated in IPv4 packets. Enabling
support for IPv6 prevents IPv6 over IPv4 multicast addresses from being leveraged for network
reconnaissance.
Enable support for multicast traffic so that the firewall can enforce policy on multicast traffic. (Network >
Virtual Router > Multicast)
280
Threat Prevention
Threat Prevention
Best Practices for Securing Your Network from Layer 4 and Layer 7 Evasions
Enable the following CLI command to clear the URG bit flag in the TCP header and disallow out-of-band
processing of packets.
The urgent pointer in the TCP header is used to promote a packet for immediate processing by removing it
from the processing queue and expediting it through the TCP/IP stack on the host. This process is called
out-of-band processing. Because the implementation of the urgent pointer varies by host, to eliminate
ambiguity, use the following CLI command to disallow out-of-band processing; the out-of-band byte in the
payload becomes part of the payload and the packet is not processed urgently. Making this change allows
you to remove ambuiguity in how the packet is processed on the firewall and the host, and the firewall sees
the exact same stream in the protocol stack as the host for whom the packet is destined.
set deviceconfig setting tcp urgent-data clear
Enable the following CLI commands for disabling the inspection of packets when the out-of-order packet
limit is reached. The Palo Alto Networks firewall can collect up to 32 out-of-order packets per session.
This counter identifies that packets have exceeded the 32-packet limit. When the bypass setting is set to
no, the device drops the out-of-order packets that exceed the 32-packet limit. A commit is required.
set deviceconfig setting tcp bypass-exceed-oo-queue no
set deviceconfig setting ctd bypass-exceed-queue no
Enable the following CLI commands for checking the TCP timestamp. The TCP timestamp records when the
segment was sent and allows the firewall to verify that the timestamp is valid for that session.
set deviceconfig setting tcp check-timestamp-option yes
Threat Prevention
281
Threat Prevention
Passive DNS monitoring is disabled by default, but it is recommended that you enable it to facilitate enhanced
threat intelligence. Use the following procedure to enable Passive DNS:
Enable Passive DNS
1.
2.
3.
Select the DNS Signatures tab and click the Enable Passive DNS Monitoring check box.
4.
282
Threat Prevention
Threat Prevention
URL
Application Database
updates.paloaltonetworks.com:443
staticupdates.paloaltonetworks.com or the IP
address 199.167.52.15
staticupdates.paloaltonetworks.com or the IP
address 199.167.52.15
downloads.paloaltonetworks.com:443
As a best practice, set the update server to
updates.paloaltonetworks.com.This
allows the Palo Alto Networks device to
receive content updates from the server
closest to it in the CDN infrastructure.
PAN-DB URL Filtering
*.urlcloud.paloaltonetworks.com
s0100.urlcloud.paloaltonetworks.com
s0200.urlcloud.paloaltonetworks.com
s0300.urlcloud.paloaltonetworks.com
s0500.urlcloud.paloaltonetworks.com
BrightCloud URL Filtering database.brightcloud.com:443/80
service.brightcloud.com:80
Threat Prevention
283
Threat Prevention
Resource
URL
WildFire
beta.wildfire.paloaltonetworks.com:443/8 mail.wildfire.paloaltonetworks.com:25
0
or the IP address 54.241.16.83
beta-s1.wildfire.paloaltonetworks.com:443
wildfire.paloaltonetworks.com:443/80
/80
Note
or 54.241.8.199
ca-s1.wildfire.paloaltonetworks.com:44
or 54.241.34.71
va-s1.wildfire.paloaltonetworks.com:443
or 174.129.24.252
eu-s1.wildfire.paloaltonetworks.com:443
or 54.246.95.247
sg-s1.wildfire.paloaltonetworks.com:443
or 54.251.33.241
jp-s1.wildfire.paloaltonetworks.com:443
or 54.238.53.161
portal3.wildfire.paloaltonetworks.com:4
43/80 or 54.241.8.199
ca-s3.wildfire.paloaltonetworks.com:443
or 54.241.34.71
va-s3.wildfire.paloaltonetworks.com:443
or 23.21.208.35
eu-s3.wildfire.paloaltonetworks.com:443
or 54.246.95.247
sg-s3.wildfire.paloaltonetworks.com:443
or 54.251.33.241
jp-s3.wildfire.paloaltonetworks.com:443
or 54.238.53.161
wildfire.paloaltonetworks.com.jp:443/8
0 or 180.37.183.53
wf1.wildfire.paloaltonetowrks.jp:443
or 180.37.180.37
wf2.wildfire.paloaltonetworks.jp:443
or 180.37.181.18
portal3.wildfire.paloaltonetworks.jp:443
/80 or 180.37.183.53
mail.wildfire.paloaltonetworks.com:25
wildfire.paloaltonetworks.com:443/80
284
Threat Prevention
Threat Prevention
To view a list of Threats and Applications that Palo Alto Networks products can identify, use the following links:
ApplipediaProvides details on the applications that Palo Alto Networks can identify.
Threat VaultLists threats that Palo Alto Networks products can identify. You can search by Vulnerability,
Spyware, or Virus. Click the Details icon next to the ID number for more information about a threat.
Threat Prevention
285
286
Threat Prevention
Threat Prevention
Decryption
Palo Alto Networks firewalls provide the capability to decrypt and inspect traffic for visibility, control, and
granular security. Decryption on a Palo Alto Networks firewall includes the capability to enforce security policies
on encrypted traffic, where otherwise the encrypted traffic might not be blocked and shaped according to your
configured security settings. Use decryption on a firewall to prevent malicious content from entering your
network or sensitive content from leaving your network concealed as encrypted traffic. Enabling decryption on
a Palo Alto Networks firewall can include preparing the keys and certificates required for decryption, creating a
decryption policy, and configuring decryption port mirroring. See the following topics to learn about and
configure decryption:
Decryption Overview
Decryption Concepts
Decryption
287
Decryption Overview
Decryption
Decryption Overview
Secure Sockets Layer (SSL) and Secure Shell (SSH) are encryption protocols used to secure traffic between two
entities, such as a web server and a client. SSL and SSH encapsulate traffic, encrypting data so that it is
meaningless to entities other than the client and server with the keys to decode the data and the certificates to
affirm trust between the devices. Traffic that has been encrypted using the protocols SSL and SSH can be
decrypted to ensure that these protocols are being used for the intended purposes only, and not to conceal
unwanted activity or malicious content.
Palo Alto Networks firewalls decrypt encrypted traffic by using keys to transform strings (passwords and shared
secrets) from ciphertext to plaintext (decryption) and from plaintext back to ciphertext (re-encrypting traffic as
it exits the device). Certificates are used to establish the firewall as a trusted third party and to create a secure
connection. SSL decryption (both forward proxy and inbound inspection) requires certificates to establish trust
between two entities in order to secure an SSL/TLS connection. Certificates can also be used when excluding
servers from SSL decryption. You can integrate a hardware security module (HSM) with a firewall to enable
enhanced security for the private keys used in SSL forward proxy and SSL inbound inspection decryption. To
learn more about storing and generating keys using an HSM and integrating an HSM with your firewall, see
Secure Keys with a Hardware Security Module. SSH decryption does not require certificates.
Palo Alto Networks firewall decryption is policy-based, and can be used to decrypt, inspect, and control both
inbound and outbound SSL and SSH connections. Decryption policies allow you to specify traffic for
decryption according to destination, source, or URL category and in order to block or restrict the specified
traffic according to your security settings. The firewall uses certificates and keys to decrypt the traffic specified
by the policy to plaintext, and then enforces App-ID and security settings on the plaintext traffic, including
Decryption, Antivirus, Vulnerability, Anti-Spyware, URL Filtering, and File-Blocking profiles. After traffic is decrypted
and inspected on the firewall, the plaintext traffic is re-encrypted as it exits the firewall to ensure privacy and
security. Use policy-based decryption on the firewall to achieve outcomes such as the following:
Prevent malware concealed as encrypted traffic from being introduced into an corporate network.
Prevent sensitive corporate information from moving outside the corporate network.
Selectively decrypt traffic; for example, exclude traffic for financial or healthcare sites from decryption by
configuring a decryption exception.
The three decryption policies offered on the firewall, SSL Forward Proxy, SSL Inbound Inspection, and SSH
Proxy, all provide methods to specifically target and inspect SSL outbound traffic, SSL inbound traffic, and SSH
traffic, respectively. The decryption policies provide the settings for you to specify what traffic to decrypt and
decryption profiles can be selected when creating a policy, in order to apply more granular security settings to
decrypted traffic, such as checks for server certificates, unsupported modes, and failures. This policy-based
decryption on the firewall gives you visibility into and control of SSL and SSH encrypted traffic according to
configurable parameters.
You can also choose to extend a decryption configuration on the firewall to include Decryption Port Mirroring,
which allows for decrypted traffic to be forwarded as plaintext to a third party solution for additional analysis
and archiving.
288
Decryption
Decryption
Decryption Concepts
Decryption Concepts
To learn about keys and certificates for decryption, decryption policies, and decryption port mirroring, see the
following topics:
SSH Proxy
Decryption Exceptions
Table: Palo Alto Networks Device Keys and Certificates describes the different keys and certificates used by
Palo Alto Networks devices for decryption. As a best practice, use different keys and certificates for each usage.
Decryption
289
Decryption Concepts
Decryption
Description
Forward Trust
The certificate the firewall presents to clients during decryption if the site the client is
attempting to connect to has a certificate that is signed by a CA that the firewall trusts.
To configure a Forward Trust certificate on the firewall, see Step 2 in the Configure
SSL Forward Proxy task. For added security, the forward trust certificate can be stored
on a Hardware Security Module (HSM), see Store Private Keys on an HSM.
Forward Untrust
The certificate the firewall presents to clients during decryption if the site the client is
attempting to connect to has a certificate that is signed by a CA that the firewall does
not trust. To configure a Forward Untrust certificate on the firewall, see Step 3 in the
Configure SSL Forward Proxy task.
Certificates for servers that you want to exclude from SSL decryption. For example, if
you have SSL decryption enabled, but have certain servers that you do not want
included in SSL decryption, such as the web services for your HR systems, you would
import the corresponding certificates onto the firewall and configure them as SSL
Exclude Certificates. See Exclude a Server From Decryption.
The certificate used to decrypt inbound SSL traffic for inspection and policy
enforcement. For this application, you would import the server certificate for the
servers for which you are performing SSL inbound inspection, or store them on an
HSM (see Store Private Keys on an HSM).
290
Decryption
Decryption
Decryption Concepts
See Configure SSL Forward Proxy for details on configuring SSL Forward Proxy.
Decryption
291
Decryption Concepts
Decryption
See Configure SSL Inbound Inspection for details on configuring SSL Inbound Inspection.
SSH Proxy
SSH Proxy provides the capability for the firewall to decrypt inbound and outbound SSH connections passing
through the firewall, in order to ensure that SSH is not being used to tunnel unwanted applications and content.
SSH decryption does not require any certificates and the key used for SSH decryption is automatically generated
when the firewall boots up. During the boot up process, the firewall checks to see if there is an existing key. If
not, a key is generated. This key is used for decrypting SSH sessions for all virtual systems configured on the
device. The same key is also used for decrypting all SSH v2 sessions.
In an SSH Proxy configuration, the firewall resides between a client and a server. When the client sends an SSH
request to the server, the firewall intercepts the request and forwards the SSH request to the server. The firewall
then intercepts the servers response and forwards the response to the client, establishing an SSH tunnel
between the firewall and the client and an SSH tunnel between the firewall and the server, with firewall
functioning as a proxy. As traffic flows between the client and the server, the firewall is able to distinguish
whether the SSH traffic is being routed normally or if it is using SSH tunneling (port forwarding). Content and
threat inspections are not performed on SSH tunnels; however, if SSH tunnels are identified by the firewall, the
SSH tunneled traffic is blocked and restricted according to configured security policies.
Figure: SSH Proxy Decryption shows this process in detail.
292
Decryption
Decryption
Decryption Concepts
See Configure SSH Proxy for details on configuring an SSH Proxy policy.
Decryption Exceptions
Traffic can also be excluded from decryption according to matching criteria (using a decryption policy), a
targeted servers traffic can be excluded from decryption (using certificates), and some applications are excluded
from decryption by default.
Applications that do not function properly when decrypted by the firewall and are automatically excluded from
SSL decryption. The applications that are excluded from SSL decryption by default are excluded because these
applications often fail when decrypted due to the application looking for specific details in the certificate that
might not be present in the certificate generated for SSL Forward Proxy. Refer to the KB article List of
Applications Excluded from SSL Decryption for a current list of applications excluded by default from SSL
decryption on the firewall.
You can configure decryption exceptions for certain URL categories or applications that either do not work
properly with decryption enabled or for any other reason, including for legal or privacy purposes. You can use
a decryption policy to exclude traffic from decryption based on source, destination, and URL category. For
example, with SSL decryption enabled, you can exclude traffic that is categorized as financial or health-related
from decryption, using the URL category selection. To create a decryption policy that excludes traffic from
decryption.
You can also exclude servers from SSL decryption based on the Common Name (CN) in the servers certificate.
For example, if you have SSL decryption enabled but have certain servers that you do not want included in SSL
decryption, such as the web services for your HR systems, you can exclude those servers from decryption by
importing the server certificate onto the firewall and modifying the certificate to be an SSL Exclude Certificate.
Decryption
293
Decryption Concepts
Decryption
To exclude traffic from decryption based on application, source, destination, URL cateogry or to exclude a
specific servers traffic from decryption, see Configure Decryption Exceptions.
294
Decryption
Decryption
Step 1
Ensure that the appropriate interfaces are View configured interfaces on the Network > Interfaces > Ethernet
configured as either virtual wire, Layer 2, tab. The Interface Type column displays if an interface is configured
or Layer 3 interfaces.
to be a Virtual Wire or Layer 2, or Layer 3 interface. You can select
an interface to modify its configuration, including what type of
interface it is.
Step 2
2.
3.
Decryption
295
Decryption
Using an Enterprise CA
An enterprise CA can issue a signing
certificate which the firewall can use to
then sign the certificates for sites
requiring SSL decryption. Send a
Certificate Signing Request (CSR) for the
enterprise CA to sign and validate. The
firewall can then use the signed enterprise
CA certificate for SSL Forward Proxy
decryption. Because the enterprise CA is
already trusted by the client systems, with
this option, you do not need to distribute
the certificate to client systems prior to
configuring decryption.
3.
4.
5.
6.
7.
296
Decryption
Decryption
Step 3
2.
3.
4.
5.
6.
Click OK to save.
7.
Step 4
8.
Click OK to save.
1.
2.
Decryption profiles can be associated
with a decryption policy, enabling the
firewall to block and control various
aspects of traffic that is being decrypted.
An SSL Forward Proxy decryption profile
can be used to perform checks for server 3.
certificates, unsupported modes, and
failures and block or restrict traffic
accordingly. For a complete list of checks
that can be performed, navigate to
Objects > Decryption Profiles on the
firewall and click the help icon.
Decryption
Select the SSL Forward Proxy tab to block and control specific
aspects of SSL tunneled traffic. For example, you can choose to
terminate sessions if system resources are not available to
process decryption by selecting Block sessions if resources
not available.
Click OK to save the profile.
297
Decryption
Step 5
1.
2.
3.
On the Source and Destination tabs, select Any for the Source
Zone and Destination Zone to decrypt all SSL traffic destined
for an external server. If you want to specify traffic from or to
certain sources or destinations for decryption, click Add.
4.
In the URL Category tab, leave Any to decrypt all traffic. If you
only want to apply this profile to certain website categories, click
Add.
Selecting a URL Category is useful when excluding
certain sites from decryption. See Configure Decryption
Exceptions.
Step 6
298
5.
6.
7.
Click OK to save.
With the an SSL Forward Proxy decryption policy enabled, all traffic
identified by the policy is decrypted. Decrypted traffic is blocked and
restricted according to the profiles configured on the firewall
(including the decryption profiles associated with the policy and
Antivirus, Vulnerability, Anti-Spyware, URL Filtering, and
File-Blocking profiles). Traffic is re-encrypted as it exits the firewall.
Decryption
Decryption
Step 1
Ensure that the appropriate interfaces are View configured interfaces on the Network > Interfaces > Ethernet
configured as either virtual wire, Layer 2, tab. The Interface Type column displays if an interface is configured
or Layer 3 interfaces.
to be a Virtual Wire or Layer 2, or Layer 3 interface. You can select
an interface to modify its configuration, including what type of
interface it is.
Step 2
Step 3
2.
3.
4.
Click OK.
1.
2.
Decryption
299
Decryption
Step 4
1.
2.
3.
4.
In the URL Category tab, leave Any to decrypt all traffic. If you
only want to apply this profile to certain website categories, click
Add.
Selecting a URL Category is useful when excluding
certain sites from decryption. See Configure Decryption
Exceptions.
5.
Step 5
300
6.
7.
Click OK to save.
Decryption
Decryption
Step 1
Step 2
1.
2.
Decryption profiles can be associated
with a decryption policy, enabling the
firewall to block and control various
aspects of traffic that is being decrypted.
The decryption profile can be used to
perform checks for server certificates,
3.
unsupported modes, and failures and
block or restrict traffic accordingly. For a
complete list of checks that can be
performed, navigate to Objects >
Decryption Profiles on the firewall and
then click the help icon.
Step 3
Step 4
Decryption
1.
2.
3.
4.
On the URL Category tab, select Any to decrypt all SSH traffic.
5.
On the Options tab, select Decrypt and select SSH Proxy as the
Type of traffic to decrypt.
6.
7.
Click OK to save.
With the an SSH Proxy decryption policy enabled, all SSH traffic
identified by the policy is decrypted and identified as either regular
SSH traffic or as SSH tunneled traffic. SSH tunneled traffic is
blocked and restricted according to the profiles configured on the
firewall. Traffic is re-encrypted as it exits the firewall.
301
Decryption
Step 1
Step 2
1.
On the Source and Destination tabs, select Any for the Source
Zone and Destination Zone to apply the
No-Decrypt-Finance-Health rule to all SSL traffic destined for an
external server.
On the URL Category tab, Add the URL categories
financial-services and health-and-medicine to the policy,
specifying that traffic that matches these categories will not be
decrypted.
5.
6.
Move the decryption policy to the top of On the Decryption > Policies page, select the policy
the list of decryption policies.
No-Decrypt-Finance-Health, and click Move Up until it appears at the
top of the list (or you can drag and drop).
The order in which the decryption policies are listed is the order in
which they are applied to network traffic. Moving the policy with the
No Decrypt action applied to the top of the list ensures that the
specified traffic is not decrypted according to another configured
policy.
302
Decryption
Decryption
Step 3
Step 1
Step 2
Select the targeted servers certificate on the Device Certificates tab and enable it as an SSL Exclude Certificate.
With the targeted servers certificate imported on the firewall and designated as an SSL Exclude Certificate, the
servers traffic is not decrypted as it passes through the firewall.
Decryption
303
Decryption
Step 1
Step 2
304
1.
2.
Select the device entry for the device you want to license and
select Actions.
3.
4.
5.
Click Activate.
3.
4.
Reboot the firewall (Device > Setup > Operations). This feature
will not be available for configuration until PAN-OS reloads.
Decryption
Decryption
Step 3
3.
Click OK to save.
Step 4
2.
3.
4.
Click OK to save.
1.
2.
3.
4.
Step 5
Click OK to save.
Select Objects > Decryption Profile.
Select the Interface to use for Decryption Mirroring.
The Interface drop-down contains all Ethernet interfaces that
have been defined as the type: Decrypt Mirror.
3.
Step 6
Step 7
Decryption
4.
1.
2.
3.
4.
Click Commit.
305
306
Decryption
Decryption
URL Filtering
The Palo Alto Networks URL filtering solution is a powerful PAN-OS feature that is used to monitor and
control how users access the web over HTTP and HTTPS. The following topics provide an overview of URL
filtering, configuration and troubleshooting information, and best practices for getting the most out of this
feature:
URL Filtering
307
URL Filtering
PAN-DBA Palo Alto Networks developed URL filtering database that is tightly integrated into PAN-OS
by utilizing high-performance local caching to perform maximum inline performance for URL lookups
while a distributed cloud architecture provides coverage for the latest websites. To view a list of PAN-DB
URL filtering categories, refer to https://urlfiltering.paloaltonetworks.com/CategoryList.aspx.
BrightCloudA third-party URL database that is owned by Webroot, Inc. and is integrated into PAN-OS
firewalls. For information on the BrightCloud URL database, visit http://brightcloud.com.
308
URL Filtering
URL Filtering
In some cases, you will want to use both URL filtering and App-ID, but to ensure that conflicts do not occur
in your policies, it is important to understand how these features work together. Palo Alto Networks generates
signatures for many applications and those signatures can be very granular in regard to various features within
the web-based applicationswhereas URL filtering would only apply actions based on a specific website or
URL category. For example, you may want to block social networking sites in general, but want to allow a few
sites in that category to be accessible to specific departments and then control what features of the website are
available to the allowed users. For more information, see URL Filtering Use Case Examples.
URL Filtering
309
URL Filtering
URL Categories
URL Categories
Each website defined in the URL filtering database is assigned one of approximately 60 different categories.
These categories can then be used in a URL filtering profile to block or allow access based on category, or you
can configure the firewall to use a category as a match criteria in policy. For example, to block all gaming
websites, in the URL filtering profile you would set the block action for the URL category games. As an example
of using a URL category as a match criteria in a policy, you could use the URL category streaming-media in a QoS
policy to apply bandwidth controls to all websites that are categorized as streaming media.
By grouping websites into categories, it makes it easy to define actions based on certain types of websites. In
addition to the standard URL categories, there are three additional categories:
Not-resolvedIndicates that the website was not found in the local URL filtering database and the firewall
was unable to connect to the cloud database to check the category. When a URL category lookup is
performed, the firewall first checks the dataplane cache for the URL, if no match is found, it will then check
the management plane cache, and if no match is found there, it queries the URL database in the cloud.
When deciding on what action to take for traffic that is categorized as not-resolved, be aware that setting the
action to block may be very disruptive to users.
For more information on troubleshooting lookup issues, see Troubleshoot URL Filtering.
Private-ip-addressesIndicates that the website is a single domain (no sub-domains), the IP address is in
the private IP range, or the URL root domain is unknown to the cloud.
UnknownThe website has not yet been categorized, so it does not exist in the URL filtering database on
the firewall or in the URL cloud database.
When deciding on what action to take for traffic categorized as unknown, be aware that setting the action to
block may be very disruptive to users because there could be a lot of valid sites that are not in the URL
database yet. If you do want a very strict policy, you could block this category, so websites that do not exist
in the URL database cannot be accessed.
310
URL Filtering
URL Filtering
have all categories set to allow for visibility into the traffic on your network. You can then customize the newly
added URL profiles and add lists of specific websites that should always be blocked or allowed, which provides
more granular control over URL categories. For example, you may want to block social-networking sites, but
allow some websites that are part of the social-networking category.
The section describes how URL filtering profiles are applied and the various options that can be defined:
Container Pages
Description
Alert
The website is allowed and a log entry is generated in the URL filtering log.
Allow
Block
The website is blocked and the user will see a response page and will not be able to
continue to the website. A log entry is generated in the URL filtering log.
Continue
The user will be prompted with a response page indicating that the site has been
blocked due to company policy, but the user is prompted with the option to continue
to the website. The continue action is typically used for categories that are considered
benign and is used to improve the user experience by giving them the option to
continue if they feel the site is incorrectly categorized. The response page message can
be customized to contain details specific to your company. A log entry is generated in
the URL filtering log.
The Continue page will not be displayed properly on client machines that are
configured to use a proxy server.
Override
The user will see a response page indicating that a password is required to allow access
to websites in the given category. With this option, the security admin or helpdesk
person would provide a password that will grant temporary access to all websites in the
given category. A log entry is generated in the URL filtering log.
The Override page will not be displayed properly on client machines that are
configured to use a proxy server.
None
The None action only applies to custom URL categories. The purpose of selecting None
is to ensure that if multiple URL profiles exist, the custom category will not have any
impact on other profiles. For example, if you have two URL profiles and the custom
URL category is set to block in one of the profiles, the other profile should have the
action set to None if you do not want it to apply.
Also, in order to delete a custom URL category, it must be set to none in any profile
where it is used.
URL Filtering
311
URL Filtering
Do not include HTTP and HTTPS when defining URLs. For example, enter www.paloaltonetworks.com or
paloaltonetworks.com instead of https://www.paloaltonetworks.com.
Entries in the block list must be an exact match and are case-insensitive.
For example: If you want to prevent a user from accessing any website within the domain
paloaltonetworks.com, you would also add *.paloaltonetworks.com, so whatever domain prefix (http://,
www, or a sub-domain prefix such as mail.paloaltonetworks.com) is added to the address, the specified action
will be taken. The same applies to the sub-domain suffix; if you want to block paloaltonetworks.com/en/US,
you would need to add paloaltonetworks.com/* as well.
Block and allow lists support wildcard patterns. The following characters are considered separators:
.
/
?
&
=
;
+
Every substring that is separated by the characters listed above is considered a token. A token can be any
number of ASCII characters that does not contain any separator character or *. For example, the following
patterns are valid:
*.yahoo.com (tokens are: "*", "yahoo" and "com")
www.*.com (tokens are: "www", "*" and "com")
www.yahoo.com/search=* (tokens are: "www", "yahoo", "com", "search", "*")
The following patterns are invalid because the character * is not the only character in the token.
ww*.yahoo.com
www.y*.com
312
URL Filtering
URL Filtering
browsers or user account. The strict safe search setting is used by search providers to prevent sexually explicit
content from appearing in search results. This is a best-effort setting and is not guaranteed by the search
providers to work with every website.
If Safe Search Enforcement is enabled on the firewall and the strict safe search option is not set in the browser
or search provider account when the user performs a search, the user will see a block page indicating that the
strict search setting is required. A link will also be provided in the block page that will take the user to the safe
search setting page in the browser. After the strict safe search option is set, the user will be able to view search
results again.
The Safe Search setting can be set in one or both of the following ways:
Account SettingIf you log in to a search provider and set the strict search setting, you can use any
computer or any browser and as long as you are logged in to the search provider site, the strict setting will
follow you. For example, if you log in to bing.com and set strict safe search, you can use any computer or
browser, log in to bing.com, and the strict setting will be configured.
Browser SettingIf you do not log in to the search provider site, you will need to set the strict search
setting for each browser that you use to connect to the search provider.
If a user is logged in to a search provider site, the connection will be over SSL, so decryption must be enabled
on the firewall for Safe Search Enforcement to function. Also, some search providers now only display search
results over SSL, so even if the user is not logged in, decryption must be configured on the firewall.
If you are performing a search on Yahoo Japan (yahoo.co.jp) while logged in to your Yahoo
account, the lock option for the search setting must also be enabled.
The ability of the firewall to detect the safe search setting within these three providers will be updated using the
Applications and Threats signature. If a search provider changes the safe search setting method that Palo Alto
Networks uses to detect the settings or if support for a new search provider is added, an update will be made to
this signature. How sites are judged to be safe or unsafe is performed by each search provider, not Palo Alto
Networks. The default for the Safe Search Enforcement option is disabled and a URL filtering license is not
required to use this feature.
Container Pages
A container page is the main page that a user accesses when visiting a website, but additional websites may be
loaded within the main page. If the Log Container page only option is enabled in the URL filtering profile, only the
main container page will be logged, not subsequent pages that may be loaded within the container page. Because
URL filtering can potentially generate a lot of log entries, you may want to turn on this option, so log entries
will only contain those URIs where the requested page file name matches the specific mime-types. The default
set includes the following mime-types:
application/pdf
application/soap+xml
application/xhtml+xml
text/html
URL Filtering
313
text/plain
text/xml
URL Filtering
If you have enabled the Log container page only option, there may not always be a correlated
URL log entry for threats detected by Antivirus or Vulnerability Protection.
Description
Captive Portal
To ensure that users authenticate before being allowed access to a specific category, you
can attach a URL category as a match criteria for the captive portal policy.
Decryption
Decryption policies can use URL categories as a match criteria to determine if specified
websites should be decrypted or not. For example, if you have a decryption policy with
the action decrypt for all traffic between two zones, there may be specific website
categories, such as financial-services and/or health-and-medicine, that should not be
decrypted. In this case, you would create a new decryption policy with the action of
no-decrypt that precedes the decrypt policy and then defines a list of URL categories as
match criteria for the policy. By doing this, each URL category that is part of the
no-decrypt policy will not be decrypted. You could also configure a custom URL
category to define your own list of URLs that can then be used in the no decrypt policy.
QoS
A QoS policy can use URL categories to determine throughput levels for specific
website categories. For example, you may want to allow the streaming-media category,
but limit throughput by adding the URL category as match criteria to the QoS policy.
314
URL Filtering
URL Filtering
Policy Type
Description
Security
URL categories can be defined directly in security policies to be used as a match criteria
in the Service/URL Category tab and URL filtering profiles can be configured in the
Actions tab.
For example, the security group within a company may need access to the category
hacking, but all other users should be prevented from accessing these sites. To do this,
you would create a security rule that allows access between the zones used for web
access and the Services/URL category tab will contain the hacking category and the
security group would then be defined in the Users tab of the policy. The main security
rule that allows general web access to all users would then have a URL filtering profile
that blocks all hacking sites. The policy that allows access to hacking would be listed
before the policy that blocks hacking. This way, when a user that is part of the security
group attempts to access a hacking site, the policy will allow the access and rule
processing would stop.
It is important to understand that when creating security policies, block rules are not
terminal and allow rules are terminal. What this means is that if you set a block rule
and there is a traffic match for that rule, other rules that come after the block rule will
be checked to see if there is a match. With an allow rule, which is terminal, when traffic
matches the rule, the traffic is allowed and other subsequent rules are not checked. For
example, you may have a block rule configured that blocks the category shopping for all
users, but you then have an allow rule that allows shopping for a specific user group.
In this example, a user in the allowed group is most likely part of the everyone group
as well. Because of this, it is best to put the more specific allow rule before the block
rule, so rule processing stops after the traffic is matched and the allow action is
performed.
URL Filtering
315
URL Filtering
Description
URL Filtering Seed Database The initial seed database downloaded to the firewall is a small subset of the database
that is maintained on the Palo Alto Networks URL cloud servers. The reason this is
done is because the full database contains millions of URLs and many of these URLs
may never be accessed by your users. When downloading the initial seed database a
region is selected (North America, Europe, APAC, Japan) and each region contains a
subset of URLs most accessed for the given region. By doing this, the firewall will store
a much smaller URL database, which greatly improves lookup performance. If a user
accesses a website that is not in the local URL database, the full cloud database is
queried and the firewall will then add the new URL to the local database. In other
words, the local database on the firewall will be continually populated/customized
based on user activity. Note that the local customized URL database will be cleared if
the PAN-DB seed database is re-downloaded or if you change the URL database
vendor from PAN-DB to BrightCloud.
Cloud Service
The PAN-DB cloud service is implemented using Amazon Web Services (AWS). AWS
provides a distributed high performance and stable environment for seed database
downloads and URL lookups for Palo Alto Networks firewalls and communication is
performed over SSL. The AWS cloud systems hold the entire PAN-DB and is updated
as new URLs are identified. The PAN-DB cloud service supports an automated
mechanism to update the firewalls local URL database if the version does not match.
Each time the firewall queries the cloud servers for URL lookups, it will also check for
critical updates. If there have been no queries to the cloud servers for more than 30
minutes, the firewall will check for updates on the cloud systems.
The cloud system also provides a mechanism to submit URL category change requests.
This is performed through the test-a-site service and is available directly from the
device (URL filtering profile setup) and from the Palo Alto Networks Test A Site
website. You can also submit URL categorization change request directly from URL
filtering log on the firewall in the log details section.
316
URL Filtering
URL Filtering
Component
Description
When PAN-DB is activated on the firewall, a seed database is downloaded from one
of the PAN-DB cloud servers to initially populate the local cache, which is done to
improve lookup performance. Each regional seed database contains the top URLs for
the region and the size of the seed database (number of URL entries) also depends on
the device platform. The URL MP cache is automatically written to the firewalls local
drive every eight hours, before the firewall is rebooted, or when the cloud upgrades the
URL database version on the firewall. After rebooting the firewall, the file that was
saved to the local drive will be loaded to the MP cache. A least recently used (LRU)
mechanism is also implemented in the URL MP cache in case the cache is full. If the
cache becomes full, the URLs that have been accessed the least will be replaced by the
newer URLs.
A subset of the MP cache and is a customized dynamic URL database that is stored in
the dataplane (DP) and is used to improve URL lookup performance. The URL DP
cache is cleared at each firewall reboot. The number of URLs that are stored in the
URL DP cache varies by hardware platform and the current URLs stored in the TRIE
(data structure). A least recently used (LRU) mechanism is implemented in the DP
cache in case the cache is full. If the cache becomes full, the URLs that have been
accessed the least will be replaced by the newer URLs. Entries in the URL DP cache
expire after a specified period of time and the expiration period cannot be changed by
the administrator.
If a URL query matches an expired entry in the URL DP cache, the cache responds with the expired category,
but also sends a URL categorization query to the management plane. This is done to avoid unnecessary delays
in the DP, assuming that the frequency of changing categories is low. Similarly, in the URL MP cache, if a URL
URL Filtering
317
URL Filtering
query from the DP matches an expired entry in the MP, the MP responds to the DP with the expired category
and will also send a URL categorization request to the cloud service. Upon getting the response from the cloud,
the firewall will resend the updated response to the DP.
As new URLs and categories are defined or if critical updates are needed, the cloud database will be updated.
Each time the firewall queries the cloud for a URL lookup or if no cloud lookups have occurred for 30 minute,
the database versions on the firewall be compared and if they do not match, an incremental update will be
performed.
318
URL Filtering
URL Filtering
Step 1
URL Filtering
319
URL Filtering
Step 2
Step 3
Step 4
1.
2.
3.
320
URL Filtering
URL Filtering
Step 1
URL Filtering
1.
2.
Select the default profile and then click Clone. The new profile
will be named default-1.
3.
Select the new profile and rename it. For example, rename it to
URL-Monitoring.
321
URL Filtering
Step 2
Step 3
In the section that lists all URL categories, select all categories
and then deselect the following categories:
adult
abused-drugs
gambling
hacking
malware
phishing
questionable
weapons
To the right of the Action column heading, mouse over and
select the down arrow and then select Set Selected Actions and
choose alert.
3.
Click OK to save.
1.
2.
Select the Actions tab and in the Profile Setting section, click
the drop-down for URL Filtering and select the new profile.
3.
Click OK to save.
Click Commit.
Step 4
Step 5
View the URL filtering logs to determine Select Monitor > Logs > URL Filtering. A log entry will be created for
all of the website categories that your
any website that exists in the URL filtering database that is in a
users are accessing. In this example, some category that is set to any action other than allow.
categories are set to block, so those
categories will also appear in the logs.
For information on viewing the logs and
generating reports, see Monitor Web
Activity.
322
URL Filtering
URL Filtering
Alert logIn this log the category is shopping and the action is alert.
Block logIn this log, the category alcohol-and-tobacco was set to block, so the action is block-url and the
user will see a response page indicating that the website was blocked.
Alert log on encrypted websiteIn this example, the category is social-networking and the application is
facebook-base, which is required to access the Facebook website and other Facebook applications. Because
faceboook.com is always encrypted using SSL, the traffic was decrypted by the firewall, which allows the
website to be recognized and controlled if needed.
URL Filtering
323
URL Filtering
You can also add several other columns to your URL Filtering log view, such as: to and from zone, content type,
and whether or not a packet capture was performed. To modify what columns to display, click the down arrow
in any column and select the attribute to display.
To view the complete log details and/or request a category change for the given URL that was accessed, click
the log details icon in the first column of the log.
324
URL Filtering
URL Filtering
most accessed category, followed by private-ip-addresses (internal servers), and search-engines. In the drop-down in
the upper right of the statistics, you can also choose to list by URL Categories, Blocked URL Categories, and
Blocked URLs.
URL Filtering
325
URL Filtering
Step 1
1.
2.
Enter a report Name and select the report type. Select User to
generate a report for one person, or select Group for a group of
users.
You mustEnable User-ID in order to be able to select
user or group names. If User-ID is not configured, you
can select the type User and enter the IP address of the
users computer.
Step 2
326
3.
4.
Select the time period. You can select an existing time period, or
select Custom.
5.
1.
2.
3.
URL Filtering
URL Filtering
Step 3
View the user activity report by opening the PDF file that was downloaded. The top of the report will contain
a table of contents similar to the following:
Step 4
Click an item in the table of contents to view details. For example, click Traffic Summary by URL Category to view
statistics for the selected user or group.
Step 1
URL Filtering
1.
2.
3.
327
URL Filtering
Step 2
1.
2.
3.
Step 3
Step 4
Click the Run Now icon to immediately generate the report that
will appear in a new tab.
(Optional) Click the Schedule check box to run the report once
per day. This will generate a daily report that details web activity
over the last 24 hours. To access the report, select Monitor >
Report and then expand Custom Reports on the right column
and select the report.
Click Commit.
328
URL Filtering
URL Filtering
Step 1
Step 2
1.
Select Objects > Security Profiles > URL Filtering and modify
your URL profile.
2.
In the Category list, select the appropriate action for each URL
category you want to control. For example, you may want to
block categories such as auctions, gaming, and dating, but allow
social-networking.
URL Filtering
329
URL Filtering
Step 3
Step 4
Enable logging for Container Pages only. Select the Log container page only check box.
Step 5
Step 6
330
Click OK.
5.
Click the Advanced tab and select the Interface Mgmt profile
that has the response page option enabled and select it from the
drop-down menu.
6.
URL Filtering
URL Filtering
Step 7
1.
2.
Click the URL filtering response page that you would like to
modify.
3.
URL Filtering
331
URL Filtering
Step 8
1.
Configure a URL filtering override to
create a temporary password that can be 2.
used by specific users to access sites that
are blocked.
3.
4.
Step 9
Click Commit.
332
URL Filtering
URL Filtering
Step 1
URL Filtering
1.
Select Device > Licenses and confirm that a valid date appears
for the URL filtering database that will used. This will either be
PAN-DB or BrightCloud.
2.
333
URL Filtering
Step 2
1.
2.
Step 3
Step 4
334
3.
1.
Select Objects > Security Profiles > URL Filtering and select
the default profile.
2.
3.
1.
Modify the new URL filtering profile and in the Category list
scroll to social-networking and in the Action column click on allow
and change the action to block.
2.
In the Allow List box, type facebook.com, press enter to start a new
line and then type *.facebook.com. Both of these formats are
required, so all URL variants a user may use will be identified,
such as facebook.com, www.facebook.com, and
https://facebook.com.
3.
URL Filtering
URL Filtering
Step 5
3.
Step 6
Select Policies > Security and click on the policy rule that allows
web access.
On the Actions tab, select the URL profile you just created from
the URL Filtering drop down.
Click OK to save.
Create the security policy that will allow marketing access the Facebook website and all Facebook applications.
This rule must precede other rules because it is more specific than the other policies and because it is an allow
rule, which will terminate when a traffic match occurs.
1. Select Policies > Security and click Add.
2. Enter a Name and optionally a Description and Tag(s).
3. On the Source tab add the zone where the users are connected.
4. On the User tab in the Source User section click Add.
5. Select the directory group that contains your marketing users.
6. On the Destination tab, select the zone that is connected to the Internet.
7. On the Applications tab, click Add and add the facebook App-ID signature.
8. On the Actions tab, add the default profiles for Antivirus, Vulnerability Protection, and Anti-Spyware.
URL Filtering
335
URL Filtering
Step 7
Configure the security policy to block all other users from using any Facebook applications, other than simple
web browsing. The easiest way to do this is to clone the marketing allow policy and then modify it.
1. From Policies > Security click the marketing Facebook allow policy you created earlier to highlight it and then
click the Clone icon.
2. Enter a Name and optionally enter a Description and Tag(s).
3. On the User tab highlight the marketing group and delete it and in the drop-down select any.
4. On the Applications tab, click the facebook App-ID signature and delete it.
5. Click Add and add the following App-ID signatures:
facebook-apps
facebook-chat
facebook-file-sharing
facebook-mail
facebook-posting
facebook-social-plugin
6. On the Actions tab in the Action Setting section, select Deny. The profile settings should already be correct
because this rule was cloned.
With these policies in place, any user who is part of the marketing group will have full access to all Facebook
applications and any user that is not part of the marketing group will only have read-only access to the Facebook
website and will not be able to use Facebook functions such as post, chat, email, and file sharing.
336
URL Filtering
URL Filtering
traffic if the website category is financial-services or health-and-medicine and the second rule will decrypt all other
traffic. The decryption policy type is ssl-forward-proxy, which is used for controlling decryption for all outbound
connections performed by users.
Configure a Decryption Policy Based on URL Category
Step 1
Create the no-decrypt rule that will be listed first in the decryption policies list. This will prevent any website
that is in the financial-services or health-and-medicine URL categories from being decrypted.
1. Select Policies > Decryption and click Add.
2. Enter a Name and optionally enter a Description and Tag(s).
3. On the Source tab add the zone where the users are connected.
4. On the Destination tab enter the zone that is connected to the Internet.
5. On the URL Category tab click Add and select the financial-services and health-and-medicine URL categories.
6. On the Options tab, set the action to No Decrypt and the Type to SSL Forward Proxy.
7.
Step 2
Create the decryption policy that will decrypt all other traffic. This policy will be listed after the no-decrypt policy.
1. Select the no-decrypt policy you created previously and then click Clone.
2. Enter a Name and optionally enter a Description and Tag(s).
3. On the URL Category tab, select financial-services and health-and-medicine and then click the Delete icon.
4. On the Options tab, set the action to Decrypt and the Type to SSL Forward Proxy.
5. Ensure that this new decryption rule is listed after the no-decrypt rule as shown in the previous screen
capture. This will ensure that rule processing occurs in the correct order, so websites in the financial-services and
health-and-medicine are not decrypted
6. Click OK to save the policy.
Step 3
URL Filtering
337
URL Filtering
Step 4
Click Commit.
With these two decrypt policies in place, any traffic destined for the financial-services or health-and-medicine URL
categories, the traffic will not be decrypted. All other traffic will be decrypted.
You can also define more granular control over decryption policies by defining decryption profiles, which are
used to perform checks such as server certificate checks or blocking sessions with expired certificates. The
profile is then added in the Options tab of the decryption policy. For a complete list of checks that can be
performed, select Objects > Decryption Profiles from the firewall and then click the help icon.
Now that you have a basic understanding of the powerful features of URL filtering, App-ID, and User-ID, you
can apply similar policies to your firewall to control any application in the Palo Alto Networks App-ID signature
database and control any website contained in the URL filtering database.
For help in troubleshooting URL filtering issues, see Troubleshoot URL Filtering.
338
URL Filtering
URL Filtering
Incorrect Categorization
Step 1
Step 2
Verify that the firewall has a valid PAN-DB license by running the following command:
admin@PA-200> request license info
You should see the license entry Feature: PAN_DB URL Filtering. If the license is not installed, you will need to
obtain and install a license. See Configure URL Filtering.
Step 4
After the license is installed, download a new PAN-DB seed database by running the following command:
admin@PA-200> request url-filtering download paloaltonetworks region
Step 5
<region>
If the message is different than PAN-DB download: Finished successfully, stop here, there may be a
problem connecting to the cloud. Attempt to solve the connectivity issue by performing basic network
troubleshooting between the firewall and the Internet. For more information, see PAN-DB Cloud
Connectivity Issues.
If the message is PAN-DB download: Finished successfully, the firewall successfully downloaded the
URL seed database. Try to enable PAN-DB again by running the following command:
admin@PA-200> set system setting url-database paloaltonetworks
Step 6
URL Filtering
339
URL Filtering
valid
s0000.urlcloud.paloaltonetworks.com
connected
2013.11.18.000
2013.11.18.000 ( last update time
good
pan/0.0.2
pan/0.0.2
compatible
If the cloud is note accessible, the expected response will be similar to the following:
admin@PA-200> show url-cloud status
PAN-DB URL Filtering
License :
valid
Cloud connection :
not connected
URL database version - device :
2013.11.18.000
URL database version - cloud :
2013.11.18.000
2013/11/19
13:20:51 )
URL database status :
good
URL protocol version - device :
pan/0.0.2
URL protocol version - cloud :
pan/0.0.2
Protocol compatibility status :
compatible
340
URL Filtering
URL Filtering
The following table describes procedures that you can use to resolve issues based on the output of the show
cloud status command, how to ping the URL cloud servers, and what to check if the firewall is in a High
Availability (HA) configuration.
Troubleshoot Cloud Connectivity Issues
PAN-DB URL Filtering license field shows invalidObtain and install a valid PAN-DB license.
URL database status is out of dateDownload a new seed database by running the following command:
admin@pa-200> request url-filtering download paloaltonetworks region <region>
URL protocol version shows not compatibleUpgrade PAN-OS to the latest version.
Attempt to ping the PAN-DB cloud server from the firewall by running the following command:
admin@pa-200> ping source ip-address host s0000.urlcloud.paloaltonetworks.com
For example, if your management interface IP address is 10.1.1.5, run the following command:
admin@pa-200> ping source 10.1.1.5 host s0000.urlcloud.paloaltonetworks.com
If the firewall is in an HA configuration, verify that the HA state of the devices supports connectivity to the cloud
systems. You can determine the HA state by running the following command:
admin@pa-200> show high-availability state
Connection to the cloud will be blocked if the firewall is not in one of the following states:
active
active-primary
active-secondary
If the problem persists, contact Palo Alto Networks support.
Step 1
The Cloud connection: field should show connected. If you see anything other than connected, any URL that
do not exist in the management plane cache will be categorized as not-resolved. To resolve this issue, see
PAN-DB Cloud Connectivity Issues.
URL Filtering
341
URL Filtering
Step 2
If the cloud connection status shows connected, check the current utilization of the firewall. If the firewalls
performance is spiking, URL requests may be dropped (may not reach the management plane), and will
be categorized as not-resolved.
To view system resources, run the following command and view the %CPU and %MEM columns:
admin@PA-200> show system resources
You can also view system resources from the firewalls web interfaces by clicking the Dashboard tab and
viewing the System Resources section.
Step 3
Incorrect Categorization
The following steps describe the procedures you can use if you identify a URL that does not have the correct
categorization. For example, if the URL paloaltonetworks.com was categorized as alcohol-and-tobacco, the
categorization is not correct; the category should be computer-and-internet-info.
Troubleshoot Incorrect Categorization Issues
Step 1
For example, to view the category for the Palo Alto Networks website, run the following command:
admin@PA-200> show running url paloaltonetworks.com
If the URL stored in the dataplane cache has the correct category (computer-and-internet-info in this example),
then the categorization is correct and no further action is required. If the category is not correct, continue to
the next step.
Step 2
For example:
admin@PA-200> test url-info-host paloaltonetworks.com
If the URL stored in the management plane cache has the correct category, remove the URL from the dataplane
cache by running the following command:
admin@PA-200> clear url-cache url <URL>
Next time the device requests the category for this URL, the request will be forwarded to the management plane.
This will resolve the issue and no further action is required. If this does not solve the issue, go to the next step
to check the URL category on the cloud systems.
Step 3
342
URL Filtering
URL Filtering
Step 4
If the URL stored in the cloud has the correct category, remove the URL from the dataplane and the
management plane caches.
Run the following command to delete a URL from the dataplane cache:
admin@PA-200> clear url-cache url <URL>
Run the following command to delete a URL from the management plane cache:
admin@PA-200> delete url-database url <URL>
Next time the device queries for the category of the given URL, the request will be forwarded to the
management plane and then to the cloud. This should resolve the category lookup issue. If problems persist, see
the next step to submit a categorization change request.
Step 5
To submit a change request from the web interface, go to the URL log and select the log entry for the URL you
would like to have changed.
Step 6
Click the Request Categorization change link and follow instructions. You can also request a category change
at the Palo Alto Networks Test A Site website by searching for the URL and then clicking the Request Change
icon. To view a list of all available categories with descriptions of each category, refer to
https://urlfiltering.paloaltonetworks.com/CategoryList.aspx.
If your change request is approved, you will receive an email notification. You then have two options to ensure
that the URL category is updated on the firewall:
Wait until the URL in the cache expires and the next time the URL is accessed by a user, the new
categorization update will be put in the cache.
Run the following command to force an update in the cache:
admin@PA-200> request url-filtering update url
URL Filtering
<URL>
343
URL Filtering
From the web interface, select Device > Licenses and in the PAN-DB URL Filtering section click the
link.
Re-Download
344
URL Filtering
Quality of Service
Quality of Service (QoS) is a set of technologies that work on a network to guarantee its ability to dependably
run high-priority applications and traffic under limited network capacity. QoS technologies accomplish this by
providing differentiated handling and capacity allocation to specific flows in network traffic. This enables the
network administrator to assign the order in which traffic is handled, and the amount of bandwidth afforded to
traffic.
Palo Alto Networks Application Quality of Service (QoS) provides basic QoS applied to networks and extends
it to provide QoS to applications and users.
Use the following topics to learn about and configure Palo Alto Networks Application QoS:
QoS Overview
QoS Concepts
Configure QoS
Quality of Service
345
QoS Overview
Quality of Service
QoS Overview
Use QoS to prioritize and adjust quality aspects of network traffic. You can assign the order in which packets
are handled and allot bandwidth, ensuring preferred treatment and optimal levels of performance are afforded
to selected traffic, applications, and users.
Service quality measurements subject to a QoS implementation are bandwidth (maximum rate of transfer),
throughput (actual rate of transfer), latency (delay), and jitter (variance in latency). The capability to shape and
control these service quality measurements makes QoS of particular importance to high-bandwidth, real-time
traffic such as voice over IP (VoIP), video conferencing, and video-on-demand that has a high sensitivity to
latency and jitter. Additionally, use QoS to achieve outcomes such as the following:
Prioritize network and application traffic, guaranteeing high priority to important traffic or limiting
non-essential traffic.
Achieve equal bandwidth sharing among different subnets, classes, or users in a network.
Allocate bandwidth externally or internally or both, applying QoS to both upload and download traffic or
to only upload or download traffic.
Ensure low latency for customer and revenue-generating traffic in an enterprise environment.
Each firewall model supports a maximum number of ports that can be configured with QoS. Refer to the spec
sheet for your firewall model.
QoS implementation on a Palo Alto Networks firewall begins with three primary configuration components
that support a full QoS solution:
QoS Profile
QoS Policy
Each of these options in the QoS configuration task facilitate a broader process that optimizes and prioritizes
the traffic flow and allocates and ensures bandwidth according to configurable parameters.
The figure Figure: QoS Traffic Flow shows traffic as it flows from the source, is shaped by the firewall with QoS
enabled, and is ultimately prioritized and delivered to its destination.
346
Quality of Service
Quality of Service
QoS Overview
The QoS configuration options allow you to control the traffic flow and define it at different points in the flow.
The Figure: QoS Traffic Flow indicates where the configurable options define the traffic flow. Use the QoS
Profile to define QoS classes and use the QoS Policy to associate QoS classes with selected traffic. Enable the
QoS Profile on a physical interface to shape traffic according to the QoS configuration as it flows through the
network.
You can configure a QoS Profile and QoS Policy individually or in any order, according to your preference. Each
of the QoS configuration options has components that influence the definition of the other options and the
QoS configuration options can be used to create a full and granular QoS policy or can be used sparingly with
minimal administrator action.
Quality of Service
347
QoS Concepts
Quality of Service
QoS Concepts
Use the following topics to learn about the different components and mechanisms of a QoS configuration on
a Palo Alto Networks firewall:
QoS Profile
QoS Classes
QoS Policy
Or to a users traffic:
348
Quality of Service
Quality of Service
QoS Concepts
QoS Profile
Use a QoS profile to define values of up to eight QoS classes contained within that single profile (Network >
Network Profiles > QoS Profile):
You enable QoS by applying a QoS profile to the egress interface for network, application or user traffic (or
specifically, for cleartext or tunneled traffic). An interface configured with QoS shapes traffic according to the
QoS profile class definitions and the traffic associated with those classes in the QoS policy.
A default QoS Profile is available on the firewall. The default profile and the classes defined in the profile do
not have predefined maximum or guaranteed bandwidth limits.
You can set bandwidth limits for a QoS profile and/or set limits for individual QoS classes within the QoS
profile. The total guaranteed bandwidth limits of all eight QoS classes in a QoS Profile cannot exceed the total
bandwidth allocated to that QoS Profile. Enabling QoS on a physical interface includes setting the maximum
bandwidth for traffic leaving the firewall through this interface. A QoS profiles guaranteed bandwidth (the
Egress Guaranteed field) should not exceed the bandwidth allocated to the physical interface that QoS is enabled
on.
For details, see Create a QoS profile.
Quality of Service
349
QoS Concepts
Quality of Service
QoS Classes
A QoS class determines the priority and bandwidth for traffic it is assigned to. In the web interface, use the QoS
profile to define QoS classes (Network > Network Profiles > QoS Profile):
Defining a QoS class includes setting the classs Priority, maximum bandwidth (Egress Max), and guaranteed
bandwidth (Egress Guaranteed).
Real-time priority is typically used for applications that are particularly sensitive to latency, such
as voice and video applications.
Use the QoS policy to assign a QoS class to specified traffic (Policies > QoS):
There are up to eight definable QoS classes in a single QoS profile. Unless otherwise configured, traffic that
does not match a QoS class is assigned a class of 4.
350
Quality of Service
Quality of Service
QoS Concepts
QoS priority queuing and bandwidth management, the fundamental mechanisms of a QoS configuration, are
configured within the QoS class definition (see Step 3). Queuing priority is determined by the priority set for a
QoS class. Bandwidth management is determined according to the maximum and guaranteed bandwidths set
for a QoS class.
The queuing and bandwidth management mechanisms determine the order of traffic and how traffic is handled
upon entering or leaving a network:
QoS Priority: One of four QoS priorities can be defined in a QoS class: real-time, high, medium, and low.
When a QoS class is associated with specific traffic, the priority defined in that QoS class is assigned to the
traffic. Packets in the traffic flow are then queued according to their priority until the network is ready to
process them. This method of priority queuing provides the capability to ensure that important traffic,
applications, or users takes precedence.
QoS Class Bandwidth Management: QoS class bandwidth management provides the capability to
control traffic flows on a network so that traffic does not exceed network capacity, resulting in network
congestion, or to allocate specific bandwidth limits to traffic, applications, or users. You can set overall limits
on bandwidth using the QoS profile or set limits for individual QoS classes. A QoS profile and QoS classes
in the profile have guaranteed and maximum bandwidth limits. The guaranteed bandwidth limit (Egress
Guaranteed) ensures that any amount of traffic up to that set bandwidth limit is processed. The maximum
bandwidth limit (Egress Max) sets the total limit of bandwidth allocated to either the QoS Profile or QoS
Class. Traffic in excess of the Maximum Bandwidth limit is dropped. The total bandwidth limits and
guaranteed bandwidth limits of QoS classes in a QoS profile cannot exceed the bandwidth limit of the QoS
profile.
QoS Policy
In a QoS configuration, the QoS policy identifies traffic requiring QoS treatment (either preferential treatment
or bandwidth-limiting) using a defined parameter or multiple parameters and assigns it a class.
Use the QoS Policy, similar to a security policy, to set the criteria that identifies traffic:
Quality of Service
351
QoS Concepts
Services and service groups limited to specific TCP and/or UDP port numbers.
Quality of Service
The QoS Policy in the web interface (Policies > QoS) allows you to associate the criteria used to specify traffic
with a QoS class.
See Step 3 to learn how to Identify the egress interface for applications that you identified as needing QoS
treatment.
352
Quality of Service
Quality of Service
QoS Concepts
Quality of Service
353
Configure QoS
Quality of Service
Configure QoS
Use the following task to configure Quality of Service (QoS), including how to create a QoS profile, create a
QoS policy, and enable QoS on an interface.
Configure QoS
Step 1
Select ACC to view the Application Command Center page. Use the
settings and charts on the ACC page to view trends and traffic related
to Applications, URL filtering, Threat Prevention, Data Filtering,
and HIP Matches.
Click any application name to display detailed application
information.
Step 2
Select Monitor > Logs > Traffic to view the devices traffic logs.
Identify the egress interface for
applications that you identified as needing To filter and only show logs for a specific application:
QoS treatment.
If an entry is displayed for the application, click the underlined
Tip: The egress interface for traffic
link in the Application column then click the Submit icon
.
depends on the traffic flow. If you are
If an entry is not displayed for the application, click the Add Log
shaping incoming traffic, the egress
icon and search for the application
.
interface is the internal-facing interface. If
The Egress I/F in the traffic logs displays each applications egress
you are shaping outgoing traffic, the
interface. To display the Egress I/F column if it is not displayed by
egress interface is the external-facing
default:
interface.
Click any column header to add a column to the log:
Click the spyglass icon to the left of any entry to display a detailed
log that includes the applications egress interface listed in the
Destination section:
354
Quality of Service
Quality of Service
Configure QoS
Step 3
1.
Select Network > Network Profiles > QoS Profile and click Add
to open the QoS Profile dialog.
Enter a descriptive Profile Name.
Enter an Egress Max to set the overall bandwidth allocation for
the QoS Profile.
Enter an Egress Guaranteed to set the guaranteed bandwidth
for the QoS Profile.
Any traffic that exceeds the QoS Profiles egress
guaranteed limit is best effort but is not guaranteed.
5.
6.
Quality of Service
355
Configure QoS
Quality of Service
Step 4
1.
2.
Select Policies > QoS and click Add to open the QoS Policy Rule
dialog.
On the General tab, give the QoS Policy Rule a descriptive
Name.
3.
Specify the traffic to which the QoS Policy Rule will apply. Use
the Source, Destination, Application, and Service/URL
Category tabs to define matching parameters for identifying
traffic.
For example, select the Application tab, click Add and select
web-browsing to apply the QoS Policy Rule to that application:
356
4.
5.
Quality of Service
Quality of Service
Configure QoS
Step 5
1.
Select Network > QoS and click Add to open the QoS Interface
dialog.
2.
For more information, see QoS Cleartext For example, enable QoS on ethernet 1/1 and apply the QoS Profile
named Limit Web Browsing as the default QoS Profile for clear text
and Tunneled Traffic.
traffic.
It is a best practice to always define
the Egress Max value for a QoS
interface.
4.
5.
Quality of Service
6.
7.
357
Configure QoS
Quality of Service
Step 6
Select Network > QoS to view the QoS Policies page and click the
Statistics link to view QoS bandwidth, active sessions of a selected
QoS node or class, and active applications for the selected QoS node
or class.
For example, see the statistics for ethernet 1/1 with QoS enabled:
358
Quality of Service
Quality of Service
Refer to the Virtual Systems (VSYS) tech note for information on Virtual Systems and how to configure them.
Quality of Service
359
Quality of Service
Step 1
Step 2
360
Quality of Service
Quality of Service
Step 3
Select Monitor > Logs > Traffic to view the devices traffic logs. Each
Identify the egress interface for
applications that you identified as needing entry has the option to display columns with information necessary
QoS treatment.
to configure QoS in a virtual system environment:
In a virtual system environment, QoS is
applied to traffic on the traffics egress
point on the virtual system. Depending
on a virtual systems configuration and the
QoS policy, the egress point of QoS
traffic could be associated with a physical
interface or could be a configured zone.
This example shows how to limit
web-browsing traffic on vsys 1.
virtual system
egress interface
ingress interface
source zone
destination zone
To display the a column if it is not displayed by default:
Click any column header to add a column to the log:
Click the spyglass icon to the left of any entry to display a detailed
log that includes the applications egress interface, as well as
source and destination zones, in the Source and Destination
sections:
Quality of Service
361
Quality of Service
Step 4
1.
Select Network > Network Profiles > QoS Profile and click Add
to open the QoS Profile dialog.
2.
3.
4.
5.
6.
362
Quality of Service
Quality of Service
Step 5
1.
Quality of Service
Select Policies > QoS and click Add to open the QoS Policy Rule
dialog.
On the General tab, give the QoS Policy Rule a descriptive
Name.
Specify the traffic to which the QoS policy rule will apply. Use
the Source, Destination, Application, and Service/URL
Category tabs to define matching parameters for identifying
traffic.
For example, select the Application tab, click Add and select
web-browsing to apply the QoS Policy Rule to that application:
4.
5.
6.
7.
363
Quality of Service
Step 6
1.
Select Network > QoS and click Add to open the QoS Interface
dialog.
Enable QoS on the physical interface:
a. On the Physical Interface tab, select the Interface Name of
the interface to apply the QoS Profile to.
In this example, ethernet 1/1 is the egress interface for
web-browsing traffic on vsys 1 (see Step 2).
4.
5.
364
6.
7.
Quality of Service
Quality of Service
Step 7
Select Network > QoS to view the QoS Policies page. The QoS
Policies page verifies that QoS is enabled and includes a Statistics
link. Click the Statistics link to view QoS bandwidth, active
sessions of a selected QoS node or class, and active applications for
the selected QoS node or class.
In a multi-VSYS environment, sessions cannot span multiple
systems. Multiple sessions are created for one traffic flow if the
traffic passes through more than one virtual system. To browse
sessions running on the firewall and view applied QoS Rules and
QoS Classes, select Monitor > Session Browser.
Quality of Service
365
Quality of Service
Step 1
The admin creates the QoS profile CEO_traffic to define how traffic originating from the CEO will be treated
and shaped as it flows out of the company network:
The admin assigns a guaranteed bandwidth (Egress Guaranteed) of 50 Mbps to ensure that the CEO will have
that amount that bandwidth guaranteed to her at all times (more than she would need to use), regardless of
network congestion.
The admin continues by designating Class 1 traffic as high priority and sets the profiles maximum bandwidth
usage (Egress Max) to 1000 Mbps, the same maximum bandwidth for the interface that the admin will enable
QoS on. The admin is choosing to not restrict the CEOs bandwidth usage in any way.
It is a best practice to populate the Egress Max field for a QoS profile, even if the max bandwidth of the
profile matches the max bandwidth of the interface. The QoS profiles max bandwidth should never
exceed the max bandwidth of the interface you are planning to enable QoS on.
366
Quality of Service
Quality of Service
Step 2
The admin creates a QoS policy to identify the CEOs traffic (Policies > QoS) and assign it the class that he
defined in the QoS profile (see Step 1). Because User-ID is configured, the admin uses the Source tab in the
QoS policy to singularly identify the CEOs traffic by her company network username. (If User-ID is not
configured, the administrator could Add the CEOs IP address under Source Address. See User-ID.):
The admin associates the CEOs traffic with Class 1 (Other Settings tab) and then continues to populate the
remaining required policy fields; the admin gives the policy a descriptive Name (General tab) and selects Any
for the Source Zone (Source tab) and Destination Zone (Destination tab):
Step 3
Now that Class 1 is associated with the CEOs traffic, the admin enables QoS by checking Turn on QoS feature
on interface and selecting the traffic flows egress interface. The egress interface for the CEOs traffic flow is
the external-facing interface, in this case, ethernet 1/2:
Because the admin wants to ensure that all traffic originating from the CEO is guaranteed by the QoS profile
and associated QoS policy he created, he selects the CEO_traffic to apply to Clear Text traffic flowing from
ethernet 1/2.
Quality of Service
367
Quality of Service
Step 4
After committing the QoS configuration, the admin navigates to the Network > QoS page to confirm that the
QoS profile CEO_traffic is enabled on the external-facing interface, ethernet 1/2:
He clicks Statistics to view how traffic originating with the CEO (Class 1) is being shaped as it flows from
ethernet 1/2:
This case demonstrates how to apply QoS to traffic originating from a single source user. However, if you also
wanted to guarantee or shape traffic to a destination user, you could configure a similar QoS setup. Instead of, or
in addition to this work flow, create a QoS policy that specifies the users IP address as the Destination Address
on the Policies > QoS page (instead of specifying the users source information, as shown in Step 2) and then enable
QoS on the networks internal-facing interface on the Network > QoS page (instead of the external-facing interface,
as shown in Step 3.)
368
Quality of Service
Quality of Service
Step 1
The admin creates a QoS profile, defining Class 2 so that any traffic associated with Class 2 receives real-time
priority and on an interface with a maximum bandwidth of 1000 Mbps, is guaranteed a bandwidth of 250 Mbps
at all times, including peak periods of network usage.
Real-time priority is typically recommended for applications affected by latency, and is particularly useful in
guaranteeing performance and quality of voice and video applications.
On the Network > Network Profiles > Qos Profile page, the admin clicks Add, enters the Profile Name ensure
voip-video traffic and defines Class 2 traffic.
Quality of Service
369
Quality of Service
Step 2
The admin creates a QoS policy to identify voice and video traffic. Because the company does not have one
standard voice and video application, the admin wants to ensure QoS is applied to a few applications that are
widely and regularly used by employees to communicate with other offices, with partners, and with customers.
On the Policies > QoS > QoS Policy Rule > Applications tab, the admin clicks Add and opens the Application
Filter window. The admin continues by selecting criteria to filter the applications he wants to apply QoS to,
choosing the Subcategory voip-video, and narrowing that down by specifying only voip-video applications that are
both low-risk and widely-used.
The application filter is a dynamic tool that, when used to filter applications in the QoS policy, allows QoS to be
applied to all applications that meet the criteria of voip-video, low risk, and widely used at any given time.
The admin names the Application Filter voip-video-low-risk and includes it in the QoS policy:
The admin names the QoS policy Voice-Video and associates the voip-video-low-risk application filter with Class 2
traffic (as he defined it in Step 1). He is going to use the Voice-Video QoS policy for both incoming and outgoing
QoS traffic, so he sets Source and Destination information to Any:
370
Quality of Service
Quality of Service
Step 3
Because the admin wants to ensure QoS for both incoming and outgoing voice and video communications, he
enables QoS on the networks external-facing interface (to apply QoS to outgoing communications) and to the
internal-facing interface (to apply QoS to incoming communications).
The admin begins by enabling the QoS profile he created in Step 1, ensure voice-video traffic (Class 1 in this profile
is associated with policy created in Step 2, Voice-Video) on the external-facing interface, in this case, ethernet 1/2.
He then enables the same QoS profile ensure voip-video traffic on the internal-facing interface, in this case,
ethernet 1/1.
Step 4
The admin confirms that QoS is enabled for both incoming and outgoing voice and video traffic:
The admin has successfully enabled QoS on both the networks internal- and external-facing interfaces. Real-time priority
is now ensured for voice and video application traffic as it flows both into and out of the network, ensuring that these
communications, which are particularly sensitive to latency and jitter, can be used reliably and effectively to perform both
internal and external business communications.
Quality of Service
371
372
Quality of Service
Quality of Service
VPNs
Virtual private networks (VPNs) create tunnels that allow users/systems to connect securely over a public
network, as if they were connecting over a local area network (LAN). To set up a VPN tunnel, you need a pair
of devices that can authenticate each other and encrypt the flow of information between them. The devices can
be a pair of Palo Alto Networks firewalls, or a Palo Alto Networks firewall along with a VPN-capable device
from another vendor.
VPN Deployments
373
VPN Deployments
VPNs
VPN Deployments
The Palo Alto Networks firewall supports the following VPN deployments:
Site-to-Site VPN A simple VPN that connects a central site and a remote site, or a hub and spoke VPN
that connects a central site with multiple remote sites. The firewall uses the IP Security (IPSec) set of
protocols to set up a secure tunnel for the traffic between the two sites. See Site-to-Site VPN Overview.
Remote User-to-Site VPNA solution that uses the GlobalProtect agent to allow a remote user to
establish a secure connection through the firewall. This solution uses SSL and IPSec to establish a secure
connection between the user and the site. Refer to the GlobalProtect Administrators Guide.
Large Scale VPN The Palo Alto Networks GlobalProtect Large Scale VPN (LSVPN) provides a
simplified mechanism to roll out a scalable hub and spoke VPN with up to 1024 satellite offices. The solution
requires Palo Alto Networks firewalls to be deployed at the hub and at every spoke. It uses certificates for
device authentication, SSL for securing communication between all components, and IPSec to secure data.
See Large Scale VPN (LSVPN).
374
VPNs
375
VPNs
IKE Gateway
Tunnel Interface
Tunnel Monitoring
IKE Gateway
The Palo Alto Networks firewalls or a firewall and another security device that initiate and terminate VPN
connections across the two networks are called the IKE Gateways. To set up the VPN tunnel and send traffic
between the IKE Gateways, each peer must have an IP addressstatic or dynamicor FQDN. The VPN peers
use preshared keys or certificates to mutually authenticate each other.
The peers must also negotiate the modemain or aggressivefor setting up the VPN tunnel and the SA
lifetime in IKE Phase 1. Main mode protects the identity of the peers and is more secure because more packets
are exchanged when setting up the tunnel. Main mode is the recommended mode for IKE negotiation if both
peers support it. Aggressive mode uses fewer packets to set up the VPN tunnel and is hence faster but a less
secure option for setting up the VPN tunnel.
See Set up an IKE Gateway for configuration details.
Tunnel Interface
To set up a VPN tunnel, the Layer 3 interface at each end must have a logical tunnel interface for the firewall to
connect to and establish a VPN tunnel. A tunnel interface is a logical (virtual) interface that is used to deliver
traffic between two endpoints. Each tunnel interface can have a maximum of 10 IPSec tunnels; this means that
up to 10 networks can be associated with the same tunnel interface on the firewall.
The tunnel interface must belong to a security zone to apply policy and it must be assigned to a virtual router
in order to use the existing routing infrastructure. Ensure that the tunnel interface and the physical interface are
assigned to the same virtual router so that the firewall can perform a route lookup and determine the
appropriate tunnel to use.
Typically, the Layer 3 interface that the tunnel interface is attached to belongs to an external zone, for example
the untrust zone. While the tunnel interface can either be in the same security zone as the physical interface, for
added security and better visibility, you can create a separate zone for the tunnel interface. If you create a
separate zone for the tunnel interface, say a VPN zone, you will need to create security policies to enable traffic
to flow between the VPN zone and the trust zone.
376
VPNs
To route traffic between the sites, a tunnel interface does not require an IP address. An IP address is only
required if you want to enable tunnel monitoring or if you are using a dynamic routing protocol to route traffic
across the tunnel. With dynamic routing, the tunnel IP address serves as the next hop IP address for routing
traffic to the VPN tunnel.
If you are configuring the Palo Alto Networks firewall with a VPN peer that performs policy-based VPN, you
must configure a local and remote Proxy ID when setting up the IPSec tunnel. Each peer compares the
Proxy-IDs configured on it with what is actually received in the packet in order to allow a successful IKE phase
2 negotiation. If multiple tunnels are required, configure unique Proxy IDs for each tunnel interface; a tunnel
interface can have a maximum of 250 ProxyIDs. Each Proxy ID counts towards the IPSec VPN tunnel capacity
of the firewall, and the tunnel capacity varies by the firewall model.
See Set up an IPSec Tunnel for configuration details.
Tunnel Monitoring
For a VPN tunnel, you can check connectivity to a destination IP address across the tunnel. The network
monitoring profile on the firewall allows you to verify connectivity (using ICMP) to a destination IP address or
a next hop at a specified polling interval, and to specify an action on failure to access the monitored IP address.
If the destination IP is unreachable, you either configure the firewall to wait for the tunnel to recover or
configure automatic failover to another tunnel. In either case, the firewall generates a system log that alerts you
to a tunnel failure and renegotiates the IPSec keys to accelerate recovery.
The default monitoring profile is configured to wait for the tunnel to recover; the polling interval is 3 seconds
and the failure threshold is 5.
See Set up Tunnel Monitoring for configuration details.
377
VPNs
IKE Phase 1
In this phase, the firewalls use the parameters defined in the IKE Gateway configuration and the IKE Crypto
profile to authenticate each other and set up a secure control channel. IKE Phase supports the use of preshared
keys or digital certificates (which use public key infrastructure, PKI) for mutual authentication of the VPN peers.
Preshared keys are a simple solution for securing smaller networks because they do not require the support of
a PKI infrastructure. Digital certificates can be more convenient for larger networks or implementations that
require stronger authentication security.
When using certificates, make sure that the CA issuing the certificate is trusted by both gateway peers and that
the maximum length of certificates in the certificate chain is 5 or less. With IKE fragmentation enabled, the
firewall can reassemble IKE messages with up to 5 certificates in the certificate chain and successfully establish
a VPN tunnel.
The IKE-crypto profile defines the following options that are used in the IKE SA negotiation:
Diffie-Hellman (DH) Group for generating symmetrical keys for IKE. The Diffie Hellman algorithm uses
the private key of one party and the public key of the other to create a shared secret, which is an encrypted
key that is shared by both VPN tunnel peers. The DH groups supported on the firewall are: Group 1768
bits; Group 21024 bits (the default); Group 51536 bits; Group 142048 bits.
IKE Phase 2
After the tunnel is secured and authenticated, in phase 2 the channel is further secured for the transfer of data
between the networks. IKE phase 2 uses the keys that were established in Phase 1 of the process and the IPSec
Crypto profile, which defines the IPSec protocols and keys used for the SA in IKE Phase 2.
The IPSEC uses the following protocols to enable secure communication:
378
VPNs
Encapsulating Security Payload (ESP)Allows you to encrypt the entire IP packet, and authenticate the
source and verify integrity of the data. While ESP requires that you encrypt and authenticate the packet, you
can choose to only encrypt or only authenticate by setting the encryption option to Null; using encryption
without authentication is discouraged.
Authentication Header (AH)Authenticates the source of the packet and verifies data integrity. AH does
not encrypt the data payload and is unsuited for deployments where data privacy is important. AH is
commonly used when the main concern is to verify the legitimacy of the peer, and data privacy is not
required.
AH
3des
aes128
aes192
aes256
aes128ccm16
null
Authentication algorithms supported
md5
md5
sha 1
sha 1
sha 256
sha 256
sha 384
sha 384
sha512
sha 512
none
379
VPNs
Manual KeyManual key is typically used if the Palo Alto Networks firewall is establishing a VPN tunnel
with a legacy device, or if you want to reduce the overhead of generating session keys. If using manual keys,
the same key must be configured on both peers.
Manual keys are not recommended for establishing a VPN tunnel because the session keys can be
compromised when relaying the key information between the peers; if the keys are compromised, the data
transfer is no longer secure.
Auto Key Auto Key allows you to automatically generate keys for setting up and maintaining the IPSec
tunnel based on the algorithms defined in the IPSec Crypto profile.
380
VPNs
Make sure that your Ethernet interfaces, virtual routers, and zones are configured properly. For more
information, see Set Up Interfaces and Zones.
Create your tunnel interfaces. Ideally, put the tunnel interfaces in a separate zone, so that tunneled traffic
can use different policies.
Set up static routes or assign routing protocols to redirect traffic to the VPN tunnels. To support dynamic
routing (OSPF, BGP, RIP are supported), you must assign an IP address to the tunnel interface.
Define IKE gateways for establishing communication between the peers across each end of the VPN
tunnel; also define the cryptographic profile that specifies the protocols and algorithms for identification,
authentication, and encryption to be used for setting up VPN tunnels in IKEv1 Phase 1. See Set up an
IKE Gateway and Define IKE Crypto Profiles.
Configure the parameters that are needed to establish the IPSec connection for transfer of data across the
VPN tunnel; See Set up an IPSec Tunnel. For IKEv1 Phase-2, see Define IPSec Crypto Profiles.
(Optional) Specify how the firewall will monitor the IPSec tunnels. See Set up Tunnel Monitoring.
Define security policies to filter and inspect the traffic.
If there is a deny rule at the end of the security rulebase, intra-zone traffic is blocked unless
otherwise allowed. Rules to allow IKE and IPSec applications must be explicitly included above
the deny rule.
When these tasks are complete, the tunnel is ready for use. Traffic destined for the zones/addresses defined in
policy is automatically routed properly based on the destination route in the routing table, and handled as VPN
traffic. For a few examples on site-to-site VPN, see Site-to-Site VPN Quick Configs.
Step 1
1.
Select Network > Network Profiles > IKE Gateway and enter a
Name for the new gateway configuration.
2.
3.
From the Local IP address drop down list, select the IP address
that will be used to as the endpoint for the VPN connection.
This is the external facing interface with a publicly routable IP
address on the firewall.
381
VPNs
Step 2
Step 3
Step 4
1.
Step 5
Configure certificate-based
authentication.
2.
1.
382
VPNs
Step 6
1.
Select Network > Network Profiles > IKE Gateways and select
the Advanced Phase 1 Options tab.
2.
3.
4.
5.
6.
7.
Select the Dead Peer Detection check box and enter an Interval
(2 - 100 seconds); For Retry, define the time to delay (2 - 100
seconds) before attempting to re-check availability.
Dead peer detection identifies inactive or unavailable IKE peers
by sending an IKE phase 1 notification payload to the peer and
waiting for an acknowledgment.
Step 7
383
VPNs
Step 1
1.
Select Network > Network Profiles > IKE Crypto and select
Add.
2.
Step 2
Select the DH Group to use for setting up Click Add and select the key strength that you want to use for the DH
the key exchange.
Group.
Select more than one DH group if you are not certain of what is
supported by the VPN peer. Prioritize the list of ciphers by strength
so that the strongest cipher is used for setting up the tunnel.
Step 3
Step 4
Select the Lifetime for which the key is valid. The time period
between each renegotiation is known as the lifetime; when the
specified time expires, the firewall will renegotiate a new set of keys.
Step 5
Step 6
Attach the IKE Crypto profile to the IKE See Step 6 in Set up an IKE Gateway.
Gateway configuration.
384
VPNs
Step 1
1.
Select Network > Network Profiles > IPSec Crypto and select
Add.
2.
3.
4.
Step 2
Select the key strength that you want to use from the DH Group
drop down.
Select more than one DH group if you are not certain of what
key strength is supported by the peer at the other end. The
strongest cipher will be used for setting up the tunnel.
2.
Step 3
Select no-pfs, if you do not want to renew the key that was
created at phase 1, the current key is reused for the IPSEC SA
negotiations.
Step 4
Step 5
See Step 4 in
385
VPNs
Proxy-ID so that the setting on both peers is identical. If the Proxy-ID is not configured, because the Palo Alto
Networks firewall supports route-based VPN, the default values used as Proxy-ID are source ip: 0.0.0.0/0,
destination ip: 0.0.0.0/0 and application: any; and when these values are exchanged with the peer, it results in a
failure to set up the VPN connection.
Set up an IPSec Tunnel
Step 1
Select Network > IPSec Tunnels> General and enter a Name for the new tunnel.
Step 2
Select the Tunnel interface that will be used to set up the IPSec tunnel.
To create a new tunnel interface:
1. Select Network > Interfaces > Tunnel and click Add.
2. In the Interface Name field, specify a numeric suffix, such as .2.
3. On the Config tab, expand the Security Zone drop-down to define the zone as follows:
To use your trust zone as the termination point for the tunnel, select the zone from the drop-down.
Associating the tunnel interface with the same zone (and virtual router) as the external-facing interface on
which the packets enter the firewall, mitigates the need to create inter-zone routing.
(Recommended) To create a separate zone for VPN tunnel termination, click New Zone. In the Zone dialog,
define a Name for new zone (for example vpn-corp), and click OK.
4. In the Virtual Router drop-down, select default.
5. (Optional) If you want to assign an IPv4 address to the tunnel interface, select the IPv4 tab, click Add in the
IP section, and enter the IP address and network mask to assign to the interface, for example 10.31.32.1/32.
6. If you want to assign an IPv6 address to the tunnel interface, see Step 3.
7. To save the interface configuration, click OK.
Step 3
1.
Select the IPv6 tab on Network > Interfaces > Tunnel > IPv6.
2.
3.
4.
386
VPNs
Step 4
Select the type of key that will be used to Continue to one of the following steps, depending on why type of
secure the IPSec tunnel.
key exchange you are using:
Set up Auto Key exchange.
Set up Auto Key exchange.
1.
2.
1.
2.
Step 5
Select the Show Advanced Options check box, select Enable Replay
Protection to detect and neutralize against replay attacks.
Step 6
Step 7
2.
387
VPNs
Step 8
Step 9
Step 1
Select Network > Network Profiles > Monitor. A default tunnel monitoring profile is available for use.
Step 2
Step 3
Step 4
Step 5
388
Attach the monitoring profile to the IPsec Tunnel configuration. See Enable Tunnel Monitoring.
VPNs
1.
2.
3.
4.
To troubleshoot a VPN tunnel that is not yet up, see Interpret VPN Error Messages.
389
VPNs
Initiate IKE phase 1 by either pinging a host across the tunnel, or use the following CLI command:
test vpn ike-sa gateway gateway_name
Then enter the following command to test if IKE phase 1 is set up:
gateway_name
In the output check if the Security Association displays. If it does not, review the system log messages to interpret the
reason for failure.
Initiate IKE phase 2 by either pinging a host from across the tunnel, or use the following CLI command:
test vpn ipsec-sa tunnel
tunnel_name
Then enter the following command to test if IKE phase 1 is set up:
show vpn ipsec-sa tunnel tunnel_name
In the output check if the Security Association displays. If it does not, review the system log messages to interpret the
reason for failure.
To view the VPN traffic flow information, use the following command:
show vpn-flow
admin@PA-500> show vpn flow
total tunnels configured:
name
id
state
local-ip
peer-ip
tunnel-i/f
----------------------------------------------------------------------------vpn-to-siteB
active
100.1.1.1
200.1.1.1
tunnel.41
390
VPNs
Try this:
Verify that the public IP address for each VPN peer is accurate in the IKE Gateway
configuration,
Verify that the IP addresses can be pinged and that routing issues are not causing the
connection failure.
or
IKE phase 1 negotiation
is failed. Couldnt find
configuration for IKE
phase-1 request for peer
IP x.x.x.x[1929]
Received unencrypted
notify payload (no
proposal chosen) from IP
x.x.x.x[500] to
y.y.y.y[500], ignored...
Check the IKE Crypto profile configuration to verify that the proposals on both sides
have a common encryption, authentication, and DH Group proposal.
or
IKE phase-1 negotiation
is failed. Unable to
process peers SA
payload.
pfs group mismatched:my:
2peer: 0
or
IKE phase-2 negotiation
failed when processing
SA payload. No suitable
proposal found in peers
SA payload.
IKE phase-2 negotiation
failed when processing
Proxy ID. Received local
id x.x.x.x/x type IPv4
address protocol 0 port
0, received remote id
y.y.y.y/y type IPv4
address protocol 0 port
0.
The VPN peer on one end is using policy-based VPN. You must configure a Proxy ID
on the Palo Alto Networks firewall. See Step 8.
391
VPNs
392
VPNs
Step 1
1.
Select Network > Interfaces > Ethernet and then select the
interface you want to configure for VPN.
Select Layer3 from the Interface Type drop-down.
On the Config tab, select the Security Zone to which the
interface belongs:
The interface must be accessible from a zone outside of your
trust network. Consider creating a dedicated VPN zone for
visibility and control over your VPN traffic.
If you have not yet created the zone, select New Zone from
the Security Zone drop-down, define a Name for the new
zone and then click OK.
4.
5.
6.
Interfaceethernet1/11
Security Zoneuntrust
Virtual Routerdefault
IPv4192.168.210.120/24
393
VPNs
Step 2
4.
5.
6.
Step 3
Interfacetunnel.12
Security Zonevpn_tun
Virtual Routerdefault
IPv4192.168.69.2/24
1.
Select Network > Virtual Router and click the router you
defined in step 4 above.
2.
Select Static Route, click Add, and enter a new route to access
the subnet that is at the other end of the tunnel.
In this example, the configuration for VPN Peer A is:
Destination192.168.69.0/24
Interfacetunnel.11
The configuration for VPN Peer B is:
Destination172.19.9.0/24
Interfacetunnel.12
394
VPNs
Step 4
1.
2.
1.
2.
Step 5
Interfaceethernet1/7
Local IP address192.168.210.26/24
Peer IP type/addressstatic/192.168.210.120
Preshared keysenter a value
Local identificationNone; this means that the local
3.
Interfaceethernet1/11
Local IP address192.168.210.120/24
Peer IP type/addressstatic/192.168.210.26
Preshared keysenter same value as on Peer A
Local identificationNone
Select Advanced Phase 1 Options and select the IKE Crypto
profile you created earlier to use for IKE phase 1.
395
VPNs
Step 6
1.
2.
Tunnel Interfacetunnel.11
TypeAuto Key
IKE GatewaySelect the IKE Gateway defined above.
IPSec Crypto ProfileSelect the IPSec Crypto profile
defined in Step 4.
The configuration for VPN Peer B is:
3.
4.
Step 7
Tunnel Interfacetunnel.12
TypeAuto Key
IKE GatewaySelect the IKE Gateway defined above.
IPSec Crypto ProfileSelect the IPSec Crypto defined
in Step 4.
(Optional) Select Show Advanced Options, select Tunnel
Monitor, and specify a Destination IP address to ping for
verifying connectivity. Typically, the tunnel interface IP address
for the VPN Peer is used.
(Optional) To define the action on failure to establish
connectivity, see Define a Tunnel Monitoring Profile.
1.
2.
Create rules to allow traffic between the untrust and the vpn-tun
zone and the vpn-tun and the untrust zone for traffic originating
from specified source and destination IP addresses.
Step 8
Step 9
396
VPNs
Step 1
Select Network > Interfaces > Ethernet and then select the
interface you want to configure for VPN.
2.
3.
4.
5.
6.
Interfaceethernet1/11
Security Zoneuntrust
Virtual Routerdefault
IPv4200.1.1.1/24
397
VPNs
Step 2
4.
5.
6.
Step 3
Interfacetunnel.40
Security Zonevpn_tun
Virtual Routerdefault
IPv42.1.1.140/24
1.
2.
398
VPNs
Step 4
1.
Select Network > Virtual Routers, and select the default router
or add a new router.
2.
Select OSPF (for IPv4) or OSPFv3 (for IPv6) and select Enable.
3.
Step 5
1.
3.
399
VPNs
Step 6
1.
2.
Tunnel Interfacetunnel.41
TypeAuto Key
IKE GatewaySelect the IKE Gateway defined above.
IPSec Crypto ProfileSelect the IKE Gateway defined
above.
The configuration for VPN Peer B is:
3.
4.
Step 7
400
Tunnel Interfacetunnel.40
TypeAuto Key
IKE GatewaySelect the IKE Gateway defined above.
IPSec Crypto ProfileSelect the IKE Gateway defined
above.
Select Show Advanced Options, select Tunnel Monitor, and
specify a Destination IP address to ping for verifying
connectivity.
To define the action on failure to establish connectivity, see
Define a Tunnel Monitoring Profile.
1.
2.
Create rules to allow traffic between the untrust and the vpn-tun
zone and the vpn-tun and the untrust zone for traffic originating
from specified source and destination IP addresses.
VPNs
Step 8
Verify OSPF adjacencies and routes from Verify that both the firewalls can see each other as neighbors with full
the CLI.
status. Also confirm that the IP address of the VPN peers tunnel
interface and the OSPF Router ID. Use the following CLI
commands on each VPN peer.
show routing protocol ospf neighbor
Step 9
See Set up Tunnel Monitoring and View the Status of the Tunnels.
401
VPNs
from the static autonomous system to the OSPF autonomous system. Without this redistribution profile, each
protocol functions on its own and does not exchange any route information with other protocols running on
the same virtual router.
In this example, the satellite office has static routes and all traffic destined to the 192.168.x.x network is routed
to tunnel.41. The virtual router on VPN Peer B participates in both the static and the dynamic routing process
and is configured with a redistribution profile in order to propagate (export) the static routes to the OSPF
autonomous system.
402
VPNs
Step 1
Select Network > Interfaces > Ethernet and then select the
interface you want to configure for VPN.
2.
3.
4.
5.
6.
Step 2
Interfaceethernet1/11
Security Zoneuntrust
Virtual Routerdefault
IPv4200.1.1.1/24
1.
2.
403
VPNs
Step 3
1.
2.
With pre-shared keys, to add
authentication scrutiny when setting up
the IKE phase-1 tunnel, you can set up
Local and Peer Identification attributes
and a corresponding value that is matched
in the IKE negotiation process.
Interfaceethernet1/7
Local IP address100.1.1.1/24
Peer IP typedynamic
Preshared keysenter a value
Local identificationselect FQDN(hostname) and
3.
404
Interfaceethernet1/11
Local IP address200.1.1.1/24
Peer IP addressdynamic
Preshared keysenter same value as on Peer A
Local identificationselect FQDN(hostname) and
VPNs
Step 4
4.
5.
6.
Step 5
Interfacetunnel.42
Security Zonevpn_tun
Virtual Routerdefault
IPv42.1.1.140/24
1.
2.
405
VPNs
Step 6
1.
2.
Select Static Routes and Add the tunnel IP address as the next
hop for traffic in the 172.168.x.x. network.
Assign the desired route metric; using a lower the value makes
the a higher priority for route selection in the forwarding table.
3.
Select OSPF (for IPv4) or OSPFv3 (for IPv6) and select Enable.
4.
Step 7
2.
406
VPNs
Step 8
1.
2.
Tunnel Interfacetunnel.41
TypeAuto Key
IKE GatewaySelect the IKE Gateway defined above.
IPSec Crypto ProfileSelect the IKE Gateway defined
above.
The configuration for VPN Peer B is:
3.
Step 9
Tunnel Interfacetunnel.40
TypeAuto Key
IKE GatewaySelect the IKE Gateway defined above.
IPSec Crypto ProfileSelect the IKE Gateway defined
above.
Select Show Advanced Options, select Tunnel Monitor, and
specify a Destination IP address to ping for verifying
connectivity.
4.
1.
2.
Create rules to allow traffic between the untrust and the vpn-tun
zone and the vpn-tun and the untrust zone for traffic originating
from specified source and destination IP addresses.
407
VPNs
Step 10 Verify OSPF adjacencies and routes from Verify that both the firewalls can see each other as neighbors with full
the CLI.
status. Also confirm that the IP address of the VPN peers tunnel
interface and the OSPF Router ID. Use the following CLI
commands on each VPN peer.
show routing protocol ospf neighbor
408
See Set up Tunnel Monitoring and View the Status of the Tunnels.
The following topics describe the LSVPN components and how to set them up to enable site-to-site VPN
services between Palo Alto Networks firewalls:
LSVPN Overview
409
LSVPN Overview
LSVPN Overview
GlobalProtect provides a complete infrastructure for managing secure access to corporate resources from your
remote sites. This infrastructure includes the following components:
GlobalProtect PortalProvides the management functions for your GlobalProtect LSVPN infrastructure.
Every satellite that participates in the GlobalProtect LSVPN receives configuration information from the
portal, including configuration information to enable the satellites (the spokes) to connect to the gateways
(the hubs). You configure the portal on an interface on any Palo Alto Networks next-generation firewall.
GlobalProtect GatewaysA Palo Alto Networks firewall that provides the tunnel end point for satellite
connections. The resources that the satellites access is protected by security policy on the gateway. It is not
required to have a separate portal and gateway; a single firewall can function both as portal and gateway.
GlobalProtect SatelliteA Palo Alto Networks firewall at a remote site that establishes IPSec tunnels with
the gateway(s) at your corporate office(s) for secure access to centralized resources. Configuration on the
satellite firewall is minimal, enabling you to quickly and easily scale your VPN as you add new sites.
The following diagram illustrates how the GlobalProtect LSVPN components work together.
410
GlobalProtect portalRequires a Layer 3 interface for GlobalProtect satellites to connect to. If the portal
and gateway are on the same firewall, they can use the same interface. The portal must be in a zone that is
accessible from your branch offices.
GlobalProtect gatewaysRequires three interfaces: a Layer 3 interface in the zone that is reachable by the
remote satellites, an internal interface in the trust zone that connects to the protected resources, and a logical
tunnel interface for terminating the VPN tunnels from the satellites. Unlike other site-to-site VPN solutions,
the GlobalProtect gateway only requires a single tunnel interface, which it will use for tunnel connections
with all of your remote satellites (point-to-multipoint). If you plan to use dynamic routing, you must assign
an IP address to the tunnel interface.
GlobalProtect satellitesRequires a single tunnel interface for establishing a VPN with the remote
gateways (up to a maximum of 25 gateways). If you plan to use dynamic routing, you must assign an IP
address to the tunnel interface.
For more information about portals, gateways, and satellites see LSVPN Overview.
Set Up Interfaces and Zones for the GlobalProtect LSVPN
Step 1
1.
Select Network > Interfaces > Ethernet and then select the
interface you want to configure for GlobalProtect LSVPN.
Select Layer3 from the Interface Type drop-down.
On the Config tab, select the Security Zone to which the
interface belongs:
The interface must be accessible from a zone outside of your
trust network. Consider creating a dedicated VPN zone for
visibility and control over your VPN traffic.
If you have not yet created the zone, select New Zone from
the Security Zone drop-down, define a Name for the new
zone and then click OK.
4.
5.
6.
411
Step 2
5.
6.
Step 3
If you created a separate zone for tunnel termination of VPN connections, create a security policy to enable
traffic flow between the VPN zone and your trust zone. For example, the following policy rule enables traffic
between the lsvpn-tun zone and the L3-Trust zone.
Step 4
412
Click Commit.
Enterprise Certificate AuthorityIf you already have your own enterprise certificate authority, you can
use this internal CA to issue an intermediate CA certificate for the GlobalProtect portal to enable it to issue
certificates to the GlobalProtect gateways and satellites.
Self-Signed CertificatesYou can generate a self-signed root CA certificate on the firewall and use it to
issue server certificates for the portal, gateway(s), and satellite(s). As a best practice, create a self-signed root
CA certificate on the portal and use it to issue server certificates for the gateways and satellites. This way, the
private key used for certificate signing stays on the portal.
413
Step 1
Step 2
2.
3.
4.
Use the root CA on the portal to generate server certificates for each
gateway you plan to deploy:
1. Select Device > Certificate Management > Certificates >
You must issue a unique self-signed server
Device Certificates and then click Generate.
certificate for the portal and for each
GlobalProtect gateway. The best practice 2. Enter a Certificate Name. The Certificate Name cannot contain
any spaces.
is to issue all of the required certificates
on the portal, so that the signing
3. Enter the FQDN (recommended) or IP address of the interface
certificate (with the private key) does not
where you plan to configure the gateway in the Common Name
have to be exported.
field.
Generate server certificates for the
GlobalProtect portal and gateway(s).
414
4.
5.
6.
Step 3
Step 4
2.
3.
4.
5.
6.
Enter the path and name to the Certificate File you just
downloaded from the portal, or Browse to find the file.
7.
8.
Enter the path and name to the PKCS12 file in the Key File field
or Browse to find it.
9.
1.
415
Step 5
Step 6
416
1.
2.
3.
4.
5.
Click Commit.
Serial numberYou can configure the portal with the serial number of the satellite firewalls that are
authorized to join the LSVPN. During the initial satellite connection to the portal, the satellite presents its
serial number to the portal and if the portal has the serial number in its configuration, the satellite will be
successfully authenticated. You add the serial numbers of authorized satellites when you configure the portal.
See Configure the Portal.
Username and passwordIf you would rather provision your satellites without manually entering the
serial numbers of the satellite devices into the portal configuration, you can instead require the satellite
administrator to authenticate when establishing the initial connection to the portal. Although the portal will
always look for the serial number in the initial request from the satellite, if it cannot identify the serial
number, the satellite administrator must provide a username and password to authenticate to the portal.
Because the portal will always fall back to this form of authentication, you must create an authentication
profile in order to commit the portal configuration. This requires that you set up an authentication profile
for the portal LSVPN configuration even if you plan to authenticate satellites using the serial number.
The following workflow describes how to set up the portal to authenticate satellites against an existing
authentication service. GlobalProtect LSVPN supports external authentication using a local database, LDAP
(including Active Directory), Kerberos, or RADIUS.
417
Step 1
1.
Select Device > Server Profiles and select type of profile (LDAP,
Kerberos, or RADIUS).
Click Add and enter a Name for the profile, such as
LSVPN-Auth.
(LDAP only) Select the Type of LDAP server you are
connecting to.
Click Add in the Servers section and then enter information
required to connect to the authentication service, including the
server Name, IP Address (or FQDN), and Port.
(RADIUS and LDAP only) Specify settings to enable the
firewall to authenticate to the authentication service as follows:
RADIUSEnter the shared Secret when adding the server
entry.
LDAPEnter the Bind DN and Bind Password.
6.
Step 2
7.
Specify the Domain name (without dots, for example acme not
acme.com).
8.
1.
Step 3
418
Enter a Name for the profile and then select the Authentication
type (Local Database, LDAP, Kerberos, or RADIUS).
Select the Server Profile you created in Step 1.
4.
5.
Click OK.
Click Commit.
Prerequisite Tasks
Prerequisite Tasks
Before you can configure the GlobalProtect gateway, you must have completed the following tasks:
Created the interfaces (and zones) for the interface where you plan to configure each gateway. You must
configure both the physical interface and the virtual tunnel interface. See Create Interfaces and Zones for
the LSVPN.
Set up the gateway server certificates and certificate profile required for enable GlobalProtect satellite and
gateway to establish a mutual SSL/TLS connection. See Enable SSL Between GlobalProtect LSVPN
Components.
Step 1
Step 2
Add a gateway.
1.
2.
On the General tab, enter a Name for the gateway. The gateway
name should not contain any spaces and as a best practice it
should include the location or other descriptive information that
will help identify the gateway.
3.
1.
Specify the network information to
enable satellites to connect to the gateway.
Select the Interface that satellites will use for ingress access to
the gateway.
419
Step 3
Step 5
Step 6
1.
2.
3.
4.
1.
2.
3.
420
Step 7
1.
2.
3.
4.
Step 8
421
Step 9
422
1.
2.
Prerequisite Tasks
Prerequisite Tasks
Before you can configure the GlobalProtect portal, you must have completed the following tasks:
Created the interfaces (and zones) for the firewall interface where you plan to configure the portal. See
Create Interfaces and Zones for the LSVPN.
Issued the portal server certificate, gateway server certificates, and set up the portal to issue server
certificates for the satellites. See Enable SSL Between GlobalProtect LSVPN Components.
Defined the authentication profile that will be used to authenticate GlobalProtect satellites in the event
that the serial number is not available. See Configure the Portal to Authenticate Satellites.
Configured the global protect gateways. See Configure GlobalProtect Gateways for LSVPN.
423
Step 1
Step 2
Step 3
1.
2.
3.
1.
Specify the network information to
enable satellites to connect to the portal.
Select the Interface that satellites will use for ingress access to
the portal.
If you have not yet set up the authentication profile, select New
Even if you plan to manually
Authentication Profile to create one now. See Configure the Portal
configure the portal with the serial
to
Authenticate Satellites for instructions. If the portal is unable to
numbers of the satellites, you must
validate
the serial number of a connecting satellite, it will fall back
define an authentication profile or
to
the
authentication
profile and therefore you must configure an
you will not be able to save the
authentication
profile
in order to save the portal configuration.
configuration.
Step 4
424
Continue with defining the configurations Click OK to save the portal configuration or continue to Define the
to push to the satellites, or, if you have
Satellite Configurations.
already created the satellite
configurations, save the portal
configuration.
425
Step 1
Select Network > GlobalProtect > Portals and select the portal
configuration for which you want to add a satellite configuration
and then select the Satellite Configuration tab.
2.
In the Trusted Root CA field, click Add and then select the CA
certificate used to issue the gateway server certificates. The
portal will deploy the root CA certificate you add here to all
satellites as part of the configuration to enable the satellite to
establish an SSL connection with the gateways. As a best
practice, all of your gateways should use the same issuer.
If the root CA certificate used to issue your gateway
server certificates is not on the portal, you can Import it
now. See Enable SSL Between GlobalProtect LSVPN
Components for details on how to import a root CA
certificate.
3.
Step 2
Step 3
Select the Root CA certificate that the portal will use to issue
certificates to satellites upon successfully authenticating them
from the Issuing Certificate drop-down.
In the Satellite Configuration section, click Add and enter a Name for
the configuration.
If you plan to create multiple configurations, make sure the name you
define for each is descriptive enough to allow you to distinguish
them.
426
Step 4
1.
2.
Enter a descriptive Name for the gateway. The name you enter
here should match the name you defined when you configured
the gateway and should be descriptive enough identify the
location of the gateway.
1.
2.
Step 6
Step 7
1.
2.
427
Step 1
This is the physical interface the satellite will use to connect to the
portal and the gateway. This interface must be in a zone that allows
access outside of the local trust network. As a best practice, create a
dedicated zone for VPN connections for visibility and control over
traffic destined for the corporate gateways.
Step 2
428
Step 3
1.
If you generated the portal server
certificate using a Root CA that is not
trusted by the satellites (for example, if
you used self-signed certificates), import
the root CA certificate used to issue the
portal server certificate.
The root CA certificate is required to
enable the satellite device to establish the
initial connection with the portal to
obtain the LSVPN configuration.
2.
Step 4
Step 5
Step 6
2.
3.
4.
5.
6.
7.
1.
1.
2.
Click Commit.
429
Step 7
430
1.
Select Network > IPSec Tunnels and click the Gateway Info link
in the Status column of the tunnel configuration you created for
the LSVPN.
Click the enter credentials link in the Portal Status field and
username and password required to authenticate the satellite to
the portal.
Step 1
From the firewall hosting the portal, verify that satellites are
successfully connecting by selecting Network > GlobalProtect >
Portal and clicking Satellite Info in the Info column of the portal
configuration entry.
Step 1
Step 1
431
432
The following workflow shows the steps for setting up this basic configuration:
Quick Config: Basic LSVPN with Static Routing
Step 1
Step 2
Create the security policy rule to enable traffic flow between the VPN zone where the tunnel terminates
(lsvpn-tun) and the trust zone where the corporate applications reside (L3-Trust).
433
Step 4
1.
2.
Step 5
Step 6
1.
2.
Step 7
Interfaceethernet1/11
IP Address203.0.113.11/24
Server Certificatelsvpnserver
Certificate Profilelsvpn-profile
Tunnel Interfacetunnel.1
Primary DNS/Secondary DNS4.2.2.1/4.2.2.2
IP Pool2.2.2.111-2.2.2.120
Access Route10.2.10.0/24
Step 8
434
Step 9
lsvpn-CA
IPSec Tunnel Configuration
Tunnel Interfacetunnel.2
Portal Address203.0.113.11
Interfaceethernet1/1
Local IP Address203.0.113.13/24
Publish all static and connected routes to Gatewayenabled
435
Configuration of OSPF point-to-multipoint (P2MP) on the virtual router on all gateways and satellites. In
addition, as part of the OSPF configuration on each gateway, you must manually define the tunnel IP address
of each satellite as an OSPF neighbor. Similarly, on each satellite, you must manually define the tunnel IP
address of each gateway as an OSPF neighbor.
Although dynamic routing requires additional setup during the initial configuration of the LSVPN, it reduces
the maintenance tasks associated with keeping routes up to date as topology changes occur on your network.
The following figure shows an LSVPN dynamic routing configuration. This example shows how to configure
OSPF as the dynamic routing protocol for the VPN.
For a basic setup of a LSVPN, follow the steps in Basic LSVPN Configuration with Static Routing. You can
then complete the steps in the following workflow to extend the configuration to use dynamic routing rather
than static routing.
436
Step 1
Add an IP address to the tunnel interface Complete the following steps on each gateway and each satellite:
configuration on each gateway and each 1. Select Network > Interfaces > Tunnel and select the tunnel
satellite.
configuration you created for the LSVPN to open the Tunnel
Interface dialog.
Important:
The IP addresses you assign to the
satellite tunnel interfaces must be on
2.
separate subnets from the IP addresses
you assign to the gateway tunnel
interfaces. In addition, the IP addresses
you assign to satellites must not overlap 3.
with the designated IP pool defined in the
gateway configuration or the devices will
not be able to establish adjacencies.
Step 2
Step 3
If you have not yet created the tunnel interface, see Step 2 in
Quick Config: Basic LSVPN with Static Routing.
On the IPv4 tab, click Add and then enter an IP address and
subnet mask. For example, to add an IP address for the gateway
tunnel interface you would enter 2.2.2.100/24.
Click OK to save the configuration.
On the Areas tab, click Add to create the backbone area, or, if it
is already configured, click on the area ID to edit it.
3.
If you are creating a new area, enter an Area ID on the Type tab.
4.
On the Interface tab, click Add and select the tunnel Interface
you created for the LSVPN.
5.
6.
7.
8.
Repeat this step each time you add a new satellite to the LSVPN.
On the Areas tab, click Add to create the backbone area, or, if it
is already configured, click on the area ID to edit it.
3.
If you are creating a new area, enter an Area ID on the Type tab.
4.
On the Interface tab, click Add and select the tunnel Interface
you created for the LSVPN.
5.
6.
7.
8.
437
Step 4
Verify that the gateways and satellites are able to form router adjacencies.
On each satellite and each gateway, confirm that peer adjacencies have formed and that routing table entries
have been created for the peers (that is, the satellites have routes to the gateways and the gateways have routes
to the satellites). Select Network > Virtual Router and click the More Runtime Stats link for the virtual router
you are using for the LSVPN. On the Routing tab, verify that the LSVPN peer has a route.
On the OSPF > Interface tab, verify that the Type is p2mp.
On the OSPF > Neighbor tab, verify that the firewalls hosting your gateways have established router
adjacencies with the firewalls hosting your satellites and vice versa. Also verify that the Status is Full,
indicating that full adjacencies have been established.
438
Networking
All Palo Alto Networks next-generation firewalls provide a flexible networking architecture that includes
support for dynamic routing, switching, and VPN connectivity, enabling you to deploy the firewall into nearly
any networking environment. When configuring the Ethernet ports on your firewall, you can choose from
virtual wire, Layer 2, or Layer 3 interface deployments. In addition, to allow you to integrate into a variety of
network segments, you can configure different types of interfaces on different ports. The following sections
provide basic information on each type of deployment. For more detailed deployment information, refer to
Designing Networks with Palo Alto Networks Firewalls and for information on route distribution, refer to
Understanding Route Redistribution and Filtering.
The following topics describe how to integrate Palo Alto Networks next-generation firewalls into your network.
Firewall Deployments
Configure RIP
Configure OSPF
Configure BGP
Network Integration
439
Firewall Deployments
Networking
Firewall Deployments
Layer 2 Deployments
Layer 3 Deployments
Does not require any configuration changes to surrounding or adjacent network devices.
The default-vwire that is shipped as the factory default configuration, binds together Ethernet ports 1 and 2
and allows all untagged traffic. You can, however, use a virtual wire to connect any two ports and configure it
to block or allow traffic based on the virtual LAN (VLAN) tags; the VLAN tag 0 indicates untagged traffic.
You can also create multiple subinterfaces, add them into different zones and then classify traffic according to
a VLAN tag, or a combination of a VLAN tag with IP classifiers (address, range, or subnet) to apply granular
policy control for specific VLAN tags or for VLAN tags from a specific source IP address, range, or subnet.
Figure: Virtual Wire Deployment
440
VLAN tags The example in Figure: Virtual Wire Deployment with Subinterfaces (VLAN Tags only),
shows an Internet Service Provider (ISP) using virtual wire subinterfaces with VLAN tags to separate traffic
for two different customers.
Network Integration
Networking
Firewall Deployments
VLAN tags in conjunction with IP classifiers (address, range, or subnet) The following example
shows an Internet Service Provider (ISP) with two separate virtual systems on a firewall that manages traffic
from two different customers. On each virtual system, the example illustrates how virtual wire subinterfaces
with VLAN tags and IP classifiers are used to classify traffic into separate zones and apply relevant policy
for customers from each network.
Step 1
Configure two Ethernet interfaces as type virtual wire, and assign these interfaces to a virtual wire.
Step 2
Create subinterfaces on the parent Virtual Wire to separate CustomerA and CustomerB traffic. Make sure that
the VLAN tags defined on each pair of subinterfaces that are configured as virtual wire(s) are identical. This is
essential because a virtual wire does not switch VLAN tags.
Step 3
Create new subinterfaces and define IP classifiers. This task is optional and only required if you wish to add
additional subinterfaces with IP classifiers for further managing traffic from a customer based on the
combination of VLAN tags and a specific source IP address, range or subnet.
You can also use IP classifiers for managing untagged traffic. To do so, you must create a sub-interface with the
vlan tag 0, and define sub-interface(s) with IP classifiers for managing untagged traffic using IP classifiers
IP classification may only be used on the subinterfaces associated with one side of the virtual
wire. The subinterfaces defined on the corresponding side of the virtual wire must use the same
VLAN tag, but must not include an IP classifier.
Figure: Virtual Wire Deployment with Subinterfaces (VLAN Tags only) depicts CustomerA and CustomerB
connected to the firewall through one physical interface, ethernet1/1, configured as a Virtual Wire; it is the
ingress interface. A second physical interface, ethernet1/2, is also part of the Virtual Wire; it is the egress
interface that provides access to the Internet. For CustomerA, you also have subinterfaces ethernet1/1.1
(ingress) and ethernet1/2.1 (egress). For CustomerB, you have the subinterface ethernet1/1.2 (ingress) and
ethernet1/2.2 (egress). When configuring the subinterfaces, you must assign the appropriate VLAN tag and
zone in order to apply policies for each customer. In this example, the policies for CustomerA are created
between Zone1 and Zone2, and policies for CustomerB are created between Zone3 and Zone4.
When traffic enters the firewall from CustomerA or CustomerB, the VLAN tag on the incoming packet is first
matched against the VLAN tag defined on the ingress subinterfaces. In this example, a single subinterface
matches the VLAN tag on the incoming packet, hence that subinterface is selected. The policies defined for the
zone are evaluated and applied before the packet exits from the corresponding subinterface.
The same VLAN tag must not be defined on the parent virtual wire interface and the subinterface.
Verify that the VLAN tags defined on the Tag Allowed list of the parent virtual wire interface
(Network > Virtual Wires) are not included on a subinterface.
Network Integration
441
Firewall Deployments
Networking
Figure: Virtual Wire Deployment with Subinterfaces (VLAN Tags and IP Classifiers) depicts CustomerA and
CustomerB connected to one physical firewall that has two virtual systems (vsys), in addition to the default
virtual system (vsys1). Each virtual system is an independent virtual firewall that is managed separately for each
customer. Each vsys has attached interfaces/subinterfaces and security zones that are managed independently.
Figure: Virtual Wire Deployment with Subinterfaces (VLAN Tags and IP Classifiers)
Vsys1 is set up to use the physical interfaces ethernet1/1 and ethernet1/2 as a virtual wire; ethernet1/1 is the
ingress interface and ethernet1/2 is the egress interface that provides access to the Internet. This virtual wire is
configured to accept all tagged and untagged traffic with the exception of VLAN tags 100 and 200 that are
assigned to the subinterfaces.
CustomerA is managed on vsys2 and CustomerB is managed on vsys3. On vsys2 and vsys3, the following vwire
subinterfaces are created with the appropriate VLAN tags and zones to enforce policy measures.
Customer
Vsys
Vwire
Subinterfaces
Zone
VLAN Tag
IP Classifier
e1/1.1 (ingress)
Zone3
100
None
e1/2.1 (egress)
Zone4
100
e1/1.2 (ingress)
Zone5
100
IP subnet
e1/2.2 (egress)
Zone6
100
192.1.0.0/16
e1/1.3 (ingress)
Zone7
100
IP subnet
e1/2.3 (egress)
Zone8
100
192.2.0.0/16
e1/1.4 (ingress)
Zone9
200
None
e1/2.4 (egress)
Zone10
200
2
2
B
442
Network Integration
Networking
Firewall Deployments
When traffic enters the firewall from CustomerA or CustomerB, the VLAN tag on the incoming packet is first
matched against the VLAN tag defined on the ingress subinterfaces. In this case, for CustomerA, there are
multiple subinterfaces that use the same VLAN tag. Hence, the firewall first narrows the classification to a
subinterface based on the source IP address in the packet. The policies defined for the zone are evaluated and
applied before the packet exits from the corresponding subinterface.
For return-path traffic, the firewall compares the destination IP address as defined in the IP classifier on the
customer-facing subinterface and selects the appropriate virtual wire to route traffic through the accurate
subinterface.
The same VLAN tag must not be defined on the parent virtual wire interface and the subinterface.
Verify that the VLAN tags defined on the Tag Allowed list of the parent virtual wire interface
(Network > Virtual Wires) are not included on a subinterface.
Layer 2 Deployments
In a Layer 2 deployment, the firewall provides switching between two or more networks. Each group of
interfaces must be assigned to a VLAN object in order for the firewall to switch between them. The firewall will
perform VLAN tag switching when layer 2 subinterfaces are attached to a common VLAN object. Choose this
option when switching is required.
Figure: Layer 2 Deployment
Layer 3 Deployments
In a Layer 3 deployment, the firewall routes traffic between multiple ports. An IP address must be assigned to
each interface and a virtual router must be defined to route the traffic. Choose this option when routing is
required.
Figure: Layer 3 Deployment
Network Integration
443
Firewall Deployments
Networking
In addition, because the firewall must route traffic in a Layer 3 deployment, you must configure a virtual router.
See Configure a Virtual Router.
DHCP Client
You can configure the firewall interface to act as a DHCP client and receive a dynamically assigned IP address.
The firewall also provides the capability to propagate settings received by the DHCP client interface into a
DHCP server operating on the firewall. This is most commonly used to propagate DNS server settings from
an Internet service provider to client machines operating on the network protected by the firewall.
DHCP client is not supported in HA active/active mode.
444
Network Integration
Networking
RIP
OSPF
OSPFv3
BGP
Step 1
Step 2
Step 3
1.
2.
3.
4.
Click OK.
1.
2.
3.
Repeat Step 2 for all interfaces that you want to add to the
virtual router.
Network Integration
445
Networking
Step 4
1.
Step 5
Step 6
446
Network Integration
Networking
Step 1
Step 2
Network Integration
1.
Select Network > Virtual Router and then select the default
link to open the Virtual Router dialog.
2.
Select the Static Routes tab and click Add. Enter a Name for the
route and enter the route in the Destination field (for example,
0.0.0.0/0).
3.
Select the IP Address radio button in the Next Hop field and
then enter the IP address and netmask for your Internet gateway
(for example, 208.80.56.1).
4.
1.
Select Network > Interfaces and then select the interface you
want to configure. In this example, we are configuring
Ethernet1/3 as the external interface.
2.
3.
4.
On the Config tab, select New Zone from the Security Zone
drop-down. In the Zone dialog, define a Name for new zone,
for example Untrust, and then click OK.
5.
6.
7.
447
Networking
Step 3
Step 4
1.
Select Network > Interfaces and select the interface you want
to configure. In this example, we are configuring Ethernet1/4 as
the internal interface.
2.
3.
4.
Select the same Virtual Router you used in Step 2, default in this
example.
5.
6.
7.
1.
2.
3.
4.
5.
6.
7.
Step 5
Click Commit.
Step 6
Step 7
From the web interface, select Network > Interfaces and verify that
icon in the Link State column is green. You can also monitor link
state from the Interfaces widget on the Dashboard.
448
Network Integration
Networking
Configure RIP
Configure RIP
RIP was designed for small IP networks and relies on hop count to determine routes; the best routes have the
fewest number of hops. RIP is based on UDP and uses port 520 for route updates. By limiting routes to a
maximum of 15 hops, the protocol helps prevent the development of routing loops, but also limits the
supported network size. If more than 15 hops are required, traffic is not routed. RIP also can take longer to
converge than OSPF and other routing protocols. The firewall supports RIP v2.
Configure RIP
Step 1
Step 2
1.
2.
3.
Select the Reject Default Route check box if you do not want to
learn any default routes through RIP. This is the recommended
default setting.
4.
Step 3
Step 4
Network Integration
2.
3.
4.
5.
6.
7.
8.
Click OK.
1.
2.
Enter a value in the Interval Seconds (sec) box that defines the
length of the timer interval in seconds. This duration is used for
the remaining RIP timing fields. Default: 1. Range: 1 - 60.
3.
4.
5.
449
Configure RIP
Networking
Configure RIP
Step 5
By default, the firewall does not use RIP authentication for the
exchange between RIP neighbors. Optionally, you can configure RIP
authentication between RIP neighbors by either a simple password
or using MD5 authentication.
Simple Password RIP authentication
1. Select the Auth Profiles sub tab.
2.
Click Add.
3.
4.
5.
Click Add.
3.
4.
5.
Click Add.
6.
450
7.
8.
9.
Network Integration
Networking
Configure OSPF
Configure OSPF
Open Shortest Path First (OSPF) is an interior gateway protocol (IGP) which is most often used to dynamically
manage network routes in large enterprise network. It determines routes dynamically by obtaining information
from other routers and advertising routes to other routers by way of Link State Advertisements (LSAs). The
information gathered from the LSAs is used to construct a topology map of the network. This topology map
is shared across routers in the network and used to populate the IP routing table with available routes.
Changes in the network topology are detected dynamically and used to generate a new topology map within
seconds. A shortest path tree is computed of each route. Metrics associated with each routing interface are used
to calculate the best route. These can include distance, network throughput, link availability etc. Additionally,
these metrics can be configured statically to direct the outcome of the OSPF topology map.
Palo Alto networks implementation of OSPF fully supports the following RFCs:
The following topics provide more information about the OSPF and procedures for configuring OSPF on the
firewall:
OSPF Concepts
Configure OSPF
Configure OSPFv3
OSPF Concepts
The following topics introduce the OSPF concepts you will need to understand in order to configure the firewall
to participate in an OSPF network:
OSPFv3
OSPF Neighbors
OSPF Areas
OSPFv3
OSPFv3 provides support for the OSPF routing protocol within an IPv6 network. As such, it provides support
for IPv6 addresses and prefixes. It retains most of the structure and functions in OSPFv2 (for IPv4) with some
minor changes. The following are some of the additions and changes to OSPFv3:
Network Integration
451
Configure OSPF
Networking
Support for multiple instances per linkWith OSPFv3 you can run multiple instances of the OSPF
protocol over a single link. This is accomplished by assigning an OSPFv3 instance ID number. An interface
that is assigned to an instance ID drops packets that contain a different ID.
Changes to AddressingIPv6 addresses are not present in OSPFv3 packets, except for LSA payloads
within link state update packets. Neighboring routers are identified by the Router ID.
Support for multiple instances per-linkEach instance corresponds to an instance ID contained in the
OSPFv3 packet header.
New LSA TypesOSPFv3 supports two new LSA types: Link LSA and Intra Area Prefix LSA.
OSPF Neighbors
Two OSPF-enabled routers connected by a common network and in the same OSPF area that form a
relationship are OSPF neighbors. The connection between these routers can be through a common broadcast
domain or by a point-to-point connection. This connection is made through the exchange of hello OSPF
protocol packets. These neighbor relationships are used to exchange routing updates between routers.
OSPF Areas
OSPF operates within a single autonomous system (AS). Networks within this single AS however, can be
divided into a number of Areas. By default, Area 0 is created. Area 0 can either function alone or act as the OSPF
backbone for a larger number of Areas. Each OSPF area is named using a 32-bit identifier which in most cases
written in the same dot-decimal notation as an IP4 address. For example, Area 0 is usually written as 0.0.0.0.
The topology of an area is maintained in its own link state database and is hidden from other areas which
reduces the amount routing traffic required by OSPF. Topology is then shared in a summarized form between
areas by a connecting router.
452
Network Integration
Networking
Configure OSPF
Stub OSPF AreaA stub area does not receive routes from other Autonomous Systems. Routing from the
stub area is performed through the default route to the backbone area.
NSSA AreaThe Not So Stubby Area (NSSA) is a type of stub area that can import external routes with some
limited exceptions.
Configure OSPF
OSPF determines routes dynamically by obtaining information from other routers and advertising routes to
other routers by way of Link State Advertisements (LSAs). The router keeps information about the links
between it and the destination and can make highly efficient routing decisions. A cost is assigned to each router
interface, and the best routes are determined to be those with the lowest costs, when summed over all the
encountered outbound router interfaces and the interface receiving the LSA.
Hierarchical techniques are used to limit the number of routes that must be advertised and the associated LSAs.
Because OSPF dynamically processes a considerable amount of route information, it has greater processor and
memory requirements than does RIP.
Configure OSPF
Step 1
Step 2
1.
2.
3.
Select the Reject Default Route check box if you do not want to
learn any default routes through OSPF. This is the
recommended default setting.
4.
Network Integration
453
Configure OSPF
Networking
Step 3
1.
2.
3.
4.
Select one of the following from the area Type drop down box:
Normal There are no restrictions; the area can carry all
types of routes.
Stub There is no outlet from the area. To reach a
destination outside of the area, it is necessary to go through
the border, which connects to other areas. If you select this
option, configure the following:
Accept Summary Link state advertisements (LSA) are
accepted from other areas. If this option on a stub area
Area Border Router (ABR) interface is disabled, the OSPF
area will behave as a Totally Stubby Area (TSA) and the
ABR will not propagate any summary LSAs.
Advertise Default Route Default route LSAs will be
included in advertisements to the stub area along with a
configured metric value in the configured range: 1-255.
NSSA (Not-So-Stubby Area) The firewall can only leave
the area by routes other than OSPF routes. If selected,
configure Accept Summary and Advertise Default Route
as described for Stub. If you select this option, configure the
following:
Type Select either Ext 1 or Ext 2 route type to advertise
the default LSA.
Ext Ranges Click Add in the section to enter ranges of
external routes that you want to enable or suppress
advertising for.
5.
454
6.
7.
Click OK.
Network Integration
Networking
Configure OSPF
Step 4
Step 5
1.
2.
3.
Network Integration
455
Configure OSPF
Networking
Step 6
1.
2.
Click Add and enter the following information for each virtual
link to be included in the backbone area, and click OK:
Name Enter a name for the virtual link.
Neighbor ID Enter the router ID of the router (neighbor)
on the other side of the virtual link.
Transit Area Enter the area ID of the transit area that
physically contains the virtual link.
Enable Select to enable the virtual link.
Timing It is recommended that you keep the default
timing settings.
Auth Profile Select a previously-defined authentication
profile.
Step 7
By default, the firewall does not use OSPF authentication for the
exchange between OSPF neighbors. Optionally, you can configure
OSPF authentication between OSPF neighbors by either a simple
password or using MD5 authentication.
Simple Password OSPF authentication
1. Select the Auth Profiles subtab.
2.
Click Add.
3.
4.
5.
Click Add.
3.
4.
5.
Click Add.
6.
456
7.
Click OK.
8.
Network Integration
Networking
Configure OSPF
Step 8
1.
2.
3.
4.
Configure a value for the LSA Interval (sec) time, This timer
specifies the minimum time between transmissions of two
instances of the same LSA (same router, same type, same LSA
ID). This is equivalent to MinLSInterval in RFC 2328. Lower
values can be used to reduce re-convergence times when
topology changes occur.
Configure OSPFv3
Configure OSPFv3
Step 1
Step 2
1.
2.
3.
Select the Reject Default Route check box if you do not want to
learn any default routes through OSPF. This is the
recommended default setting.
4.
Step 3
Network Integration
457
Configure OSPF
Networking
Step 4
4.
5.
6.
7.
AH OSPFv3 authentication
1. Select the Auth Profiles subtab.
2.
Click Add.
3.
4.
5.
6.
458
7.
8.
Click OK.
9.
Network Integration
Networking
Configure OSPF
Step 5
1.
2.
Click Add.
3.
Enter an Area ID. This is the identifier that each neighbor must
accept to be part of the same area.
4.
5.
Step 6
To an Area
1. Select the Areas subtab.
2.
3.
4.
Click OK.
To an Interface
1. Select the Areas subtab.
Network Integration
2.
3.
4.
459
Configure OSPF
Networking
Step 7
1.
2.
Click Add.
3.
4.
5.
6.
Specify a New Tag for the matched route that has a 32-bit value.
7.
Step 8
8.
Click OK.
1.
2.
3.
4.
Configure a value for the LSA Interval (sec) time, This timer
specifies the minimum time between transmissions of two
instances of the same LSA (same router, same type, same LSA
ID). This is equivalent to MinLSInterval in RFC 2328. Lower
values can be used to reduce re-convergence times when
topology changes occur.
5.
460
Firewall as a restarting deviceIn a situation where the firewall will be down for a short period of time
or is unavailable for short intervals, it sends Grace LSAs to its OSPF neighbors. The neighbors must be
configured to run in Graceful Restart Helper mode. In Helper Mode, the neighbors receive the Grace LSAs
that inform it that the firewall will perform a graceful restart within a specified period of time defined as the
Grace Period. During the grace period, the neighbor continues to forward routes through the firewall and
to send LSAs that announce routes through the firewall. If the firewall resumes operation before expiration
Network Integration
Networking
Configure OSPF
of the grace period, traffic forwarding will continue as before without network disruption. If the firewall does
not resume operation after the grace period has expired, the neighbors will exit helper mode and resume
normal operation which will involve reconfiguring the routing table to bypass the firewall.
Firewall as a Graceful Restart HelperIn a situation where neighboring routers may be down for a short
periods of time the firewall can be configured to operate in Graceful Restart Helper mode. If configured in
this mode, the firewall will be configured with a Max Neighbor Restart Time. When the firewall receives
the Grace LSAs from its OSFP neighbor, it will continue to route traffic to the neighbor and advertise routes
through the neighbor until either the grace period or max neighbor restart time expires. If neither expires
before the neighbor returns to service, traffic forwarding continues as before without network disruption.
If either period expires before the neighbor returns to service, the firewall will exit helper mode and resume
normal operation which will involve reconfiguring the routing table to bypass the neighbor.
Step 1
Select Network > Virtual Routers and select the virtual router you want to configure.
Step 2
Step 3
Verify that the following check boxes are selected (they are enabled by default).
Enable Graceful Restart, Enable Helper Mode, and Enable Strict LSA checking.
Step 5
The following procedure describes how to use the web interface to view the route table.
Network Integration
461
Configure OSPF
Networking
Step 1
Step 2
Select the Routing tab and examine the Flags column of the routing table for routes that were learned by OSPF.
Step 1
462
Network Integration
Networking
Configure OSPF
Step 2
Select OSPF > Neighbor and examine the Status column to determine if OSPF adjacencies have been established.
Step 1
Select Monitor> System and look for messages confirm that OSPF adjacencies have been established.
Step 2
Select OSPF > Neighbor sub tab and examine the Status column to determine if OSPF adjacencies have been
established.
Network Integration
463
Configure BGP
Networking
Configure BGP
The Border Gateway Protocol (BGP) is the primary Internet routing protocol. BGP determines network
reachability based on IP prefixes that are available within autonomous systems (AS), where an AS is a set of IP
prefixes that a network provider has designated to be part of a single routing policy.
In the routing process, connections are established between BGP peers (or neighbors). If a route is permitted
by the policy, it is stored in the routing information base (RIB). Each time the local firewall RIB is updated, the
firewall determines the optimal routes and sends an update to the external RIB, if export is enabled.
Conditional advertisement is used to control how BGP routes are advertised. The BGP routes must satisfy
conditional advertisement rules before being advertised to peers.
BGP supports the specification of aggregates, which combine multiple routes into a single route. During the
aggregation process, the first step is to find the corresponding aggregation rule by performing a longest match
that compares the incoming route with the prefix values for other aggregation rules.
For more information on BGP, refer to How to Configure BGP Tech Note.
The firewall provides a complete BGP implementation that includes the following features:
Routing policies based on route-map to control import, export and advertisement, prefix-based filtering, and
address aggregation.
Advanced BGP features that include route reflector, AS confederation, route flap dampening, and graceful
restart.
Per-routing-instance settings, which include basic parameters such as local route ID and local AS and
advanced options such as path selection, route reflector, AS confederation, route flap, and dampening
profiles.
Authentication profiles, which specify the MD5 authentication key for BGP connections.
Peer group and neighbor settings, which include neighbor address and remote AS and advanced options
such as neighbor attributes and connections.
Routing policy, which specifies rule sets that peer groups and peers use to implement imports, exports,
conditional advertisements, and address aggregation controls.
Configure BGP
Step 1
464
Network Integration
Networking
Configure BGP
Step 2
Step 3
1.
2.
3.
4.
1.
2.
Select the Reject Default Route check box to ignore any default
routes that are advertised by BGP peers.
3.
Select the Install Route check box to install BGP routes in the
global routing table.
4.
5.
6.
7.
8.
Network Integration
465
Configure BGP
Networking
Step 4
1.
2.
3.
4.
5.
466
Click OK.
Network Integration
Networking
Configure BGP
Step 5
1.
2.
3.
4.
Select the Soft Reset with Stored Info check box to perform a
soft reset of the firewall after updating the peer settings.
5.
Specify the type of peer or group from the Type drop down box
and configure the associated settings (see below in this table for
descriptions of Import Next Hop and Export Next Hop).
IBGPExport Next Hop: Specify Original or Use self
EBGP ConfedExport Next Hop: Specify Original or Use
self
Step 6
Network Integration
6.
Click OK to save.
1.
Select the Import tab and then click Add and enter a name in the
Rules field and select the Enable check box.
2.
Click Add and select the Peer Group to which the routes will be
imported from.
3.
Click the Match tab and define the options used to filter routing
information. You can also define the Multi-Exit Discriminator
(MED) value and a next hop value to routers or subnets for
route filtering. The MED option is an external metric that lets
neighbors know about the preferred path into an AS. A lower
value is preferred over a higher value.
4.
Click the Action tab and define the action that should occur
(allow/deny) based on the filtering options defined in the Match
tab. If Deny is selected, no further options need to be defined.
If the Allow action is selected, define the other attributes.
5.
Click the Export tab and define export attributes, which are
similar to the Import settings, but are used to control route
information that is exported from the firewall to neighbors.
6.
Click OK to save.
467
Configure BGP
Networking
Step 7
Step 8
1.
Select the Conditional Adv tab, click Add and enter a name in the
Policy field.
2.
3.
Click Add and in the Used By section enter the peer group(s)
that will use the conditional advertisement policy.
4.
Select the Non Exist Filter tab and define the network prefix(es)
of the preferred route. This specifies the route that you want to
advertise, if it is available in the local BGP routing table. If a
prefix is going to be advertised and matches a Non Exist filter,
the advertisement will be suppressed.
5.
Select the Advertise Filters tab and define the prefix(es) of the
route in the Local-RIB routing table that should be advertised in
the event that the route in the non-exist filter is not available in
the local routing table. If a prefix is going to be advertised and
does not match a Non Exist filter, the advertisement will occur.
1.
Select the Aggregate tab, click Add and enter a name for the
aggregate address.
2.
In the Prefix field, enter the network prefix that will be the
primary prefix for the aggregated prefixes.
468
Select the Suppress Filters tab and define the attributes that
will cause the matched routes to be suppressed.
Select the Advertise Filters tab and define the attributes that
will cause the matched routes to always be advertised to peers.
1.
2.
3.
4.
In the Metric field, enter the route metric that will be used for
the rule.
5.
6.
Network Integration