Breakout traffic
Breakout traffic allows you to define which applications should bypass Cloudflare’s security filtering, and go directly to the Internet. It works via DNS requests inspection. This means that if your network is caching DNS requests, Breakout traffic will only take effect after you cache entries expire and your client issues a new DNS request that the Magic WAN Connector can detect. This can take several minutes.
flowchart LR accTitle: In this example, the applications go directly to the Internet, skipping Cloudflare's security. filtering a(Magic WAN Connector) --> b(Cloudflare) -->|Filtered traffic|c(Internet) a-- Breakout traffic ---d(Application1) & e(Application2) --> c classDef orange fill:#f48120,color: black class a,b orange
In the graph above, Applications 1 and 2 are configured to bypass Cloudflare’s security filtering, and go straight to the Internet
You need to configure Breakout traffic for each of your existing sites, as it is a per-site configuration.
- Log in to the Cloudflare dashboard ↗, and select your account.
- Select Magic WAN > Sites.
- Select the site you want to configure > Edit.
- Select Traffic Steering.
- In Breakout traffic, select Add.
- Select one or more applications that should bypass Cloudflare filtering from the list. You can also use the search box.
- Select Add applications.
The traffic for that application will now go directly to the Internet and bypass Cloudflare’s filtering.
-
Send a
GET
request to list the applications associated with an account.Example:
Take note of the
"managed_app_id"
value for any application you want to configure. -
Send a
POST
request to add new apps the breakout traffic policy.Example:
- Log in to the Cloudflare dashboard ↗, and select your account.
- Select Magic WAN > Sites.
- Select the site you want to configure > Edit.
- Select Traffic Steering.
- In Breakout traffic, find the application you want to delete, and select the three dots next to it.
- Select Remove.
- (Optional) If you have several pages of applications, you can use the search box to quickly find the application you are looking for.
-
Send a
GET
request to list the applications associated with a site.Example:
Take note of the "id"
value for the application that want to delete.
-
Send a
DELETE
request to delete an application from the breakout traffic policy.
If you have Magic WAN Connector and WARP clients deployed in your premises, Magic WAN Connector automatically routes WARP traffic to the Internet rather than Magic WAN IPsec tunnels. This prevents traffic from being encapsulated twice.
You may need to configure your firewall to allow this new traffic. Make sure to allow the following IPs and ports:
- Destination IPs:
162.159.193.0/24
,162.159.197.0/24
- Destination ports:
443
,500
,1701
,2408
,4443
,4500
,8095
,844
Refer to WARP with firewall for more information on this topic.