Skip to content
Cloudflare Docs

Prioritized traffic

Prioritized traffic allows you to define which applications Magic WAN Connector should process first. Applications not in the list will be queued behind prioritized traffic.

Similarly to breakout traffic, prioritized traffic also works via DNS requests inspection.

Add an application to your account

Before you can add or remove prioritized traffic applications to your Connector, you need to create an account-level list with the applications that you want to configure. Currently, adding to or modifying this list is only possible via API, through the managed_app_id endpoint.

To add applications to your account:

Send a POST request to add new apps to your account.

Required API token permissions

At least one of the following token permissions is required:
  • Magic WAN Write
  • Magic Transit Write
Create a new App
curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/magic/apps" \
--request POST \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--json '{
"managed_app_id": "<APP_ID>",
"name": "<APP_NAME>",
"type": "<APP_TYPE>"
}'
{
"result": {
"account_app_id": "eb09v665c0784618a3e4ba9809258fd4",
"name": "<APP_NAME>",
"type": "<APP_TYPE>",
},
"success": true,
"errors": [],
"messages": []
}

You can now add this new app to the prioritized traffic list in your Connector.

Add an application to Connector

You need to configure prioritized traffic applications for each of your existing sites, as this is a per-site configuration.

  1. Log in to the Cloudflare dashboard, and select your account.
  2. Select Magic WAN > Connector on-ramps (beta).
  3. Select the Connector you want to configure > Edit.
  4. Select Traffic Steering.
  5. In prioritized traffic, select Add.
  6. Select one or more applications that should bypass Cloudflare filtering from the list. You can also use the search box.
  7. Select Add applications.

The traffic for the application you chose is now processed first by Connector.

Delete an application from Connector

  1. Log in to the Cloudflare dashboard, and select your account.
  2. Select Magic WAN > Connector on-ramps (beta).
  3. Select the Connector you want to configure > Edit.
  4. Select Traffic Steering.
  5. In prioritized traffic, find the application you want to delete, and select the three dots next to it.
  6. Select Remove.
  7. (Optional) If you have several pages of applications, you can use the search box to quickly find the application you are looking for.