Prepare to Deploy Device-ID
Table of Contents
Expand All
|
Collapse All
Next-Generation Firewall Docs
-
-
- Cloud Management of NGFWs
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0 (EoL)
- PAN-OS 11.1 & Later
- PAN-OS 9.1 (EoL)
-
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0 (EoL)
- PAN-OS 11.1 & Later
-
-
- Cloud Management and AIOps for NGFW
- PAN-OS 10.0 (EoL)
- PAN-OS 10.1
- PAN-OS 10.2
- PAN-OS 11.0 (EoL)
- PAN-OS 11.1
- PAN-OS 11.2
- PAN-OS 8.1 (EoL)
- PAN-OS 9.0 (EoL)
- PAN-OS 9.1 (EoL)
End-of-Life (EoL)
Prepare to Deploy Device-ID
Complete the following predeployment tasks to prepare
to deploy Device-ID.
To prepare your network for Device-ID deployment,
complete the following predeployment tasks to enable your firewall to
generate and send Enhanced Application logs (EALs) through the logging
service to IoT Security for processing and analysis.
- If you have not already done so, install a device certificate on your firewall or Panorama.The device certificate authenticates the firewall when connecting to the logging service and IoT Security.If you use Panorama to manage multiple firewalls, Palo Alto Networks strongly recommends upgrading all firewalls in your Device-ID deployment to PAN-OS 10.0 or later. If you create a rule that uses Device as a match criteria and Panorama pushes the rule to a firewall that uses PAN-OS 9.1 or an earlier version, the firewall omits the Device match criteria because it is not supported, which might cause issues with policy rule traffic matching.Install a device license and a logging service license on your firewalls.To do this, click DeviceLicenses, and then select Retrieve license keys from license server in the License Management section. This installs the licenses for the logging service and IoT Security on the firewall.The logging service license permits a firewall to connect to the logging service.The device license permits a firewall to connect to IoT Security.(L2 interfaces only) Create a VLAN interface for each L2 interface so the firewall can observe the DHCP broadcast traffic.(Optional) Configure service routes to allow the necessary traffic for Device-ID and IoT Security.By default, the firewall uses the management interface. To use a different interface, complete the following steps.
- If necessary, configure the data interface you want to use as the source interface for required IoT Security communications.
- Select DeviceSetupServicesService Route Configuration and then select Customize.
- On the IPv4 tab, select Data Services and then choose the data interface you want to use as the Source Interface.Its IP address autofills the Source Address field. This service route is for forwarding enhanced application logs (EALs) to the logging service.Device-ID and IoT Security do not support IPv6.
- Click OK.
- Click IoT, choose the same data interface as the Source Interface, and then click OK.This service route is for pulling IP address-to-device mappings and policy recommendations from IoT Security.
- Click Palo Alto Networks Services, choose the same data interface, and then click OK.This service route is for forwarding other logs besides EALs to the logging service and for pulling device dictionary files from the update server.
- Click OK to save your configuration changes.
(Optional) If you created service routes in the previous step, add Security policy rules permitting services required for the firewall to use IoT Security.- Select PoliciesSecurity+ Add.
- On the General tab, enter a name for the Security policy rule and choose interzone as the Rule Type.
- On the Source tab, select Any as the source zone and then Add 127.168.0.0/16 as the source address.
- On the Destination tab, Add the destination zone with IoT Security, and Add the edge services FQDN for your region as the destination address.
- On the Application tab, Add paloalto-iot-security.The firewall uses this application to pull IP address-to-device mappings and policy recommendations from IoT Security.
- On the Actions tab, choose Allow and then click OK.
- If you have an intranet policy rule that allows all intranet traffic in the zone where the logging service and update server are, you can use that rule to allow the firewall to forward logs to the logging service and pull dictionary files from the update server.Otherwise, create an intranet policy rule that allows the firewall to send these three applications to the logging service and update server from the IP address of the firewall interface in the same zone:paloalto-shared-services to forward EALs and session logs to the logging servicepaloalto-logging-service to forward other logs besides EALs to the logging servicepaloalto-updates to pull device dictionary files from the update server
If there’s a third-party firewall between the internet and Panorama and Panorama-managed next-generation firewalls, make sure it allows the necessary traffic for Device-ID and IoT Security.Purpose Address TCP Port (PAN-OS versions 10.0.3 and later) Receive the regional FQDN allowing next-generation firewalls to retrieve IP address-to-device mappings and policy rule recommendations from IoT Security. enforcer.iot.services-edge.paloaltonetworks.com 443 (PAN-OS versions 10.0.0 and later) Let next-generation firewalls receive policy rule recommendations and IP address-to-device mappings from IoT Security. United Statesiot.services-edge.paloaltonetworks.comCanadaca.iot.services-edge.paloaltonetworks.comEU regioneu.iot.services-edge.paloaltonetworks.comAsia-Pacific regionapac.iot.services-edge.paloaltonetworks.comJapanjp.iot.services-edge.paloaltonetworks.comAustraliaau.iot.services-edge.paloaltonetworks.com443 (PAN-OS versions 10.0.0 and later) Let next-generation firewalls download device dictionary files from the update server. updates.paloaltonetworks.com 443 (PAN-OS versions 10.0.0 and later) Let Panorama send queries for logs to the logging service. United Statesiot.services-edge.paloaltonetworks.comCanadaca.iot.services-edge.paloaltonetworks.comEU regioneu.iot.services-edge.paloaltonetworks.comAsia-Pacific regionapac.iot.services-edge.paloaltonetworks.comJapanjp.iot.services-edge.paloaltonetworks.comAustraliaau.iot.services-edge.paloaltonetworks.com443 (IoT Security subscription + Cortex Data Lake) Forward logs to Cortex Data Lake. PAN-OS versions 10.0.0 - 10.0.2 connect to the edge services FQDN in the Americas region by default (iot.services-edge.paloaltonetworks.com). For firewalls running these PAN-OS versions to connect to the edge services FQDN in other regions, you must manually configure it (see the FQDNs in the next step). For PAN-OS versions 10.0.3 and later, firewalls automatically discover the correct FQDN to use based on the region set during the IoT Security onboarding process. There is no need to set it manually.If there’s a third-party firewall between the internet and next-generation firewalls (without Panorama), make sure it allows the necessary traffic for Device-ID and IoT Security.Purpose Address TCP Port (PAN-OS versions 10.0.3 and later) Receive the regional FQDN allowing next-generation firewalls to retrieve IP address-to-device mappings and policy rule recommendations from IoT Security. enforcer.iot.services-edge.paloaltonetworks.com 443 (PAN-OS versions 10.0.0 and later) Let next-generation firewalls receive policy rule recommendations and IP address-to-device mappings from IoT Security. United Statesiot.services-edge.paloaltonetworks.comCanadaca.iot.services-edge.paloaltonetworks.comEU regioneu.iot.services-edge.paloaltonetworks.comAsia-Pacific regionapac.iot.services-edge.paloaltonetworks.comJapanjp.iot.services-edge.paloaltonetworks.comAustraliaau.iot.services-edge.paloaltonetworks.com443 (PAN-OS versions 10.0.0 and later) Let next-generation firewalls download device dictionary files from the update server. updates.paloaltonetworks.com 443 (IoT Security subscription + Cortex Data Lake) Forward logs to Cortex Data Lake. Configure your firewall to observe and generate logs for DHCP traffic then forward the logs for processing and analysis by IoT Security.- If the firewall is acting as a DHCP server:
- Enable Enhanced Application logging.
- Create a Log Forwarding profile to forward the logs to the logging service for processing.
- Enable the DHCP Broadcast Session option (DeviceSetupSessionSession Settings).This setting is supported from PAN-OS 11.0.1 on the PA-5450 and PA-7000 series and on all other firewalls running any version of PAN-OS 11.0.
- If the firewall is not a DHCP server, configure an interface as a DHCP relay agent so that the firewall can generate EALs for the DHCP traffic it receives from clients.
- If your DHCP server is on the same network segment as the interface your firewall, deploy a virtual wire interface in front of the DHCP server to ensure the firewall generates EALs for all packets in the initial DHCP exchange with minimal performance impact.
- Configure a virtual wire interface with corresponding zones and enable the Multicast Firewalling option (NetworkVirtual WiresAdd).
- Configure a rule to allow DHCP traffic to and from the DHCP server between the virtual wire zones. The policy must allow all existing traffic that the server currently observes and use the same Log Forwarding profile as the rest of your rules.
- To allow the DHCP servers to check if an IP address is active before assigning it as a lease to a new request, configure a rule to allow pings from the DHCP server to the rest of the subnet.
- Configure a rule to allow all other traffic to and from the DHCP server that does not forward logs for traffic matches.
- Configure the DHCP server host to use the first virtual wire interface and the network switch to use the second virtual wire interface. To minimize cabling, you can use an isolated VLAN in the switching infrastructure instead of connecting the DHCP server host directly to the firewall.
- If you want to use a tap interface to gain visibility into DHCP traffic that the firewall doesn’t usually observe due to the current configuration or topology of the network, use the following configuration as a best practice.
- Configure a tap interface and corresponding zone.
- Configure a rule to match DHCP traffic that uses the same Log Forwarding profile as the rest of your rules.
- To minimize the session load on the firewall, configure a rule to drop all other traffic.
- Connect the tap interface to the port mirror on the network switch.
- If you want to collect data about devices whose network traffic isn’t visible to a firewall, employ one or both of these options:
- Use Encapsulated Remote Switched Port Analyzer (ERSPAN) to send mirrored traffic from a network switch through a Generic Routing Encapsulation (GRE) tunnel to the firewall.
- Configure DHCP servers to send their server logs containing IP address-to-MAC address bindings to the firewall.
Apply a Log Forwarding profile to your Security policy rules.Apply a predefined Log Forwarding profile for IoT Security to your rules—or update an existing profile or create a new one—so that they forward the required types of logs to the logging service.