Add an SD-WAN route
You can route traffic based on SD-WAN routing criteria, such as the incoming interface, source and destination networks, services, application objects, users, and user groups.
You can specify the primary and backup gateways to route the traffic through.
- Go to Routing > SD-WAN routes.
- Click IPv4 or IPv6 and click Add.
- Enter a name.
Select the Incoming interface.
The firewall matches the route with traffic entering this interface for the specified criteria. You can also select a tunnel (XFRM) interface with local and remote subnets set to Any.
Select the level of DSCP marking to match incoming packets for priority.
- Expedited forwarding (EF): Priority queuing ensures low delay and packet loss. Suitable for real-time services.
- Assured forwarding (AF): Assured delivery, but with packet drop if congestion occurs. Assigns packets a higher priority than best-effort.
- Class selector (CS): Backward compatibility with network devices that use IP precedence in the type of service.
Select the Source networks.
Select the Destination networks.
To send traffic to public IP addresses, we recommend that you don't select Any. Click Add new item, clear Any, and search for
internet. Select the default IPv4 host group (Internet IPv4 group) or the default IP host ranges, such as Internet IPv4 (1-9).
If you set the route precedence to SD-WAN routes before static routes and set the SD-WAN Destination networks to Any, Sophos Firewall applies the SD-WAN route to all (external and internal) traffic. This forces your internal sources to use the WAN gateway for internal destinations.
Select a Service, for example HTTPS.
Select the Application objects.
For example, if you select VoIP applications, Sophos Firewall uses this SD-WAN route to route this traffic.
Sophos Firewall uses the details of the first session to match traffic with an SD-WAN route for future sessions. The time to live (TTL) for application session details is 3600 seconds from the start of the session. If another session doesn't start within this period, the session details are purged. See SD-WAN routing.
Select the Users or groups.
For Link selection settings, select one of the following options:
- Click Select SD-WAN profile and select a profile.
Click Primary and backup gateways and select the Primary gateway and the Backup gateway.
If you delete the backup gateway, Sophos Firewall sets the backup gateway to None. If the primary gateway goes down, Sophos Firewall routes traffic through the backup gateway. When the primary gateway comes back up, Sophos Firewall routes new connections through it. Existing connections continue to use the backup gateway.
If you delete the SD-WAN profile or the primary gateway, Sophos Firewall deletes the route and implements the default route (WAN link load balance), which load-balances traffic among the active WAN links.
Select Route only through specified gateways if you want to route traffic only using the SD-WAN profile or the gateways specified in this route. If these gateways are unreachable, Sophos Firewall drops the traffic.
If you clear the checkbox and the gateways are down, the firewall evaluates other SD-WAN routes. If it doesn't find another matching route, it applies the default route.