SonicOS 8 Device AppFlow

Use cases

This section describes each use case, the solution, and the configuration procedure.

Enabling Application Visibility with a Local Collector

  • Use case: Customers using SonicOS firmware can enable Real-Time Monitoring and Internal AppFlow collection with a local collector.
  • Solution: Real-time application monitoring relies on flow collection to collect and display data. To view the “applications chart” (in the Real-Time Monitor, AppFlow Monitor, or AppFlow Reports), you must first enable and configure flow collection.
  • Configuration:

    To enable Real-Time Monitoring and Internal AppFlow collection

    After you turn on AppFlow for the first time, you might need to restart the firewall for the change to take full effect.

    1. Navigate to DEVICE | AppFlow > Flow Reporting.

    2. Click the Settings tab.

    3. Turn on Enable Real-Time Data Collection.

    4. From the Collect Real-Time Data For menu, select the reports you want.

      The Collect Real-Time Data For menu lists these reports: Top Apps, Bits per second, Packets per second, Average packet size, Connections per second, Core utilization, Interface protocols, and Memory utilization.

    5. Turn on Enable Aggregate AppFlow Report Data Collection.

    6. Turn on Enable AppFlow To Local Collector.

    7. Click Accept at the bottom of the page to save the settings.

    8. Navigate to NETWORK | System > Interfaces.

    9. Click the Configure icon for the interface on which you want to enable flow reporting.

    10. On the Advanced tab, ensure that the Enable flow reporting check box is selected.

    11. Click OK.

Enabling Application Visibility with External Flow Collector

  • Use case: You can send IPFIX and NetFlow data to an external collector, such as Paessler PRTG Network Monitor.
  • Solution: The firewall can send IPFIX and NetFlow data to an external collector, such as Paessler PRTG Network Monitor. This lets you see network usage and the source and destination IP addresses and ports.
  • Configuration:

    To add a sensor using PRTG

    1. See Add a sensor in the PRTG manual.

    2. In the PRTG application, under Technology Used, select the technology that you want to use for monitoring. Select NetFlow, sFlow, or jFlow.
    3. Go through the list of all matching sensor types and select the IPFIX (Custom) sensor.

    4. Configure the IPFIX-specific settings:

      1. In Receive IPFIX Packets on UDP Port, enter the UDP port number on which PRTG receives the flow packets. The default port is 2055.

      2. In Sender IP Address, enter the IP address of the sending device that you want to receive the IPFIX data from.

      3. In Receive Packets on IP Address, select the IP addresses on which PRTG listens for IPFIX packets. The list of IP addresses is specific to your setup. To select an IP address, select the check box in front of the respective line. The IP address that you select must match the IP address of the exporting device (the firewall).

      4. In Active Flow Timeout (Minutes), enter a time span in minutes after which the sensor must receive new flow data. Set the timeout to 9 minutes. The timeout must exceed the active timeout of the firewall (the default is 60 seconds).

      5. Click Continue and configure other settings to create the sensor.

    5. After you configure the settings, click the sensor box to select the sensor.

    To configure the external collector on the firewall

    1. Navigate to DEVICE | AppFlow > Flow Reporting, and click the External Collector tab.
    2. Turn on Send Flows and Real-Time Data To External Collector.

    3. From the External Flow Reporting Format drop-down menu, select IPFIX.
    4. Select IP as the External Collector’s Server Address type, and enter the PRTG server’s IP address.

    5. In External Collector’s UDP Port Number, enter the UDP port number that you entered in Receive IPFIX Packets on UDP Port in PRTG.
    6. For more accurate reporting, turn on the following:

      • Report On Connection OPEN

      • Report On Connection CLOSE

      • Report Connection On Kilobytes Exchanged

    7. In Actions, click Generate ALL Templates to force synchronization of the PRTG server.

    8. Click Accept.

Enabling Flow Reporting

  • Use case: Customers can use NSM cloud management to configure flow reporting on their firewalls.
  • Solution: You can configure the settings to send real-time data to an AppFlow Agent, an external collector, or both.
  • Configuration:

    Prerequisite: Ensure that the firewall is added to NSM and managed by NSM before flow reporting data can be sent to and displayed in NSM. For more information, see the latest SonicWall NSM Administration Guide.

    To configure flow reporting

    1. Navigate to DEVICE | AppFlow > Flow Reporting, and click the Settings tab.
    2. Turn on Enable Real-Time Data Collection to collect real-time statistics on your firewall.
    3. Click the AppFlow Agent tab and turn on Send AppFlow To SonicWall AppFlow Agent to send AppFlow data through IPFIX to an AppFlow Agent. This option is off by default.
    4. Click the External Collector tab and turn on Send Flows and Real-Time Data To External Collector to send the specified flows to an external collector. This option is off by default.
    5. Click Accept.