SD-WAN Core Administrator

SD-WAN Rule Criteria Requirements


📑 On this page
  1. ISDB
  2. Applications & Categories
  3. Application Aware Routing
  4. Application Learning
  5. Monitoring Application Control Database
  6. Unexpected Routing During Application Learning
📚 SD-WAN Core AdministratorPart 13 of 15
  1. 1. What is SD-WAN?
  2. 2. Use cases of SD-WAN
  3. 3. SD-WAN & SASE Integration
  4. 4. What is AD-VPN?
  5. 5. SD-WAN DIA Design
  6. 6. SD-WAN Basic Configuration Guide
  7. 7. SD-WAN Monitoring
  8. 8. SD-WAN Members & Zones Deep Dive
  9. 9. SD-WAN Performance SLA Deep Dive
  10. 10. Advanced Performance SLA
  11. 11. SD-WAN Rules Deep Dive
  12. 12. SD-WAN Rules Configuration
  13. 13. SD-WAN Rule Criteria Requirements
  14. 14. SD-WAN Routing Deep-Dive
  15. 15. SD-WAN FortiManager Centralized Management

As has been mentioned before we can match traffic based on the below. Both IPv4 and IPv6 can be used but by default rules only apply to IPv4. Under feature visibility IPv6 needs to be enabled.

  1. Source IP address/User/FSSO group
  2. Destination IP & Protocol, ISDB or application/application category

This provides a lot of flexibility as we can match application traffic for Facebook for specific source IPs, or specific user groups

ISDB

ISDB is a database managed by FortiGuard that includes the most popular internet services. Each internet service is comprised of the below:

  1. **Assigned an ID **- Each internet service has an ID value assigned to it. This represents this internet service
  2. Range of public IP Addresses- We may see a range of public IPs or FQDNs/URLs used to identify the traffic for this application.
  3. IP protocol- The IP Protocols required to communicate with this application. Including the destination Port.
  4. **Direction **- This indicates the direction that this particular internet service can be used either source or destination or both. For SD-WAN rules however we can only use internet services for direction destination, or both source and destination.

These IDs are loaded into the kernel and ready to used. It can be utilised not only in SD-WAN but normal firewall rules as well.

  1. diagnose internet service id-summary [optional | ID number] - This shows all the Internet service IDs in the FortiGuard database. Add an ID number to drill down into it and gather more information.

Applications & Categories

We can match SD-WAN rules also based on the below:

  1. Application - Can use a pre-determined one or create a custom application. The pre-determined ones are sourced from the FortiGuard database.
  2. Application Groups - A user defined group that contains applications
  3. Application Categories - Predefined group of applications per category. For example, buinsess, game, proxy etc

Application filter for SD-WAN is hidden by default, can enable using the config sys global -> set gui-application-detection-sdwan enable -> end

Application detection relies on the below:

  1. IPS Engine managed by FortiGate
  2. Application control database maintained by FortiGuard.

Application Aware Routing

Using an Application to steer traffic once an application is detected is known as application-aware routing. As mentioned this relies on IPS and application control signatures. These are downloaded automatically by FortiGate.

  1. Application Control Policy - This is mandatory to enable on the firewall policy.
  2. Full SSL Inspection - This may be required for some TLS applications. It has to decrypt the packet and check the SNI field of the packet to find out what this application is. Since TLS is encrypted by default we cant see this in a normal packet - thus the SSL/TLS Inspection requirement. Other traffic may just be fine using certificate inspection. We can verify if this is needed by checking the application information on FortiGuard.
  3. User-defined application definitions - An administrator can define their own application definitions. For example to allow FortiGate to recognise a proprietary company application.

Application Learning

  1. Application Cache - Populated dynamically by learning from the traffic that flows through it. This cache includes a list of application IDs with destination address, protocol and port. Entries remain for 8 hours in this application cache if they are not matched.
  2. Once traffic is allowed through a FW rule that has application control enabled it is sent to the IPS engine to be analysed.
  3. If destination address, port or protocol do not match an entry in the application cache FortiGate cant immediately identify the application - so it forwards traffic using an SD-WAN rule and FW rule that do not require an application match.
  4. If the initial packets require application detection then the policy will use IPS engine. IPS engine analysed the traffic and identifies the application. This is the application learning phase. This is then stored in the application cache which FortiGate can use for subsequent sessions to steer traffic according to the SD-WAN rules.

Below is a great summary and diagram by FortiGate on this process

FortiGate has to look into packets and classify what application it is. However during this learning process it does NOT stop the forwarding of packets. This means the first few packets may not match the SD-WAN rule we expect. There must be a match in the application cache.

If the FW rule that allows the flow has application control, application analysis starts using the IPS engine.

If FortiGate flags the session as "dirty" it can re-evaluate the application/session and can now match an SD-WAN rule using application steering.

Monitoring Application Control Database

Application information written to the SD-WAN session.

Unexpected Routing During Application Learning

Comments