Configure hardware Appliance

Last updated Aug 24, 2026 In this page you will find instructions on how to configure Cloudflare One Appliance. This guide provides a step-by-step guide for Cloudflare One Appliance initial setup. You can either return here after setting up your Cloudflare One Appliance, or refer to the Maintenance section where you will find instructions on how to update your settings.

Prerequisites

You need to purchase Cloudflare WAN ↗︎ before you can purchase and use Cloudflare One Appliance. Cloudflare One Appliance can function as your primary edge device for your network, or be deployed in-line with existing network gear.

You also need to purchase Cloudflare One Appliance before you can start configuring your settings in the Cloudflare dashboard. Contact your account representative to learn more about purchasing options for Cloudflare One Appliance.


Before you begin

There are a couple of decisions you need to make when installing your Cloudflare One Appliance. Review the following topics for more information.

Determine the need for a high availability configuration

You can install up to two instances of Cloudflare One Appliance for redundancy at each of your sites. If one of your devices fails, traffic will fail over to the other, ensuring that you never lose connectivity to that site.

In this type of high availability (HA) configuration, you will choose a reliable LAN interface as the HA link which will be used to monitor the health of the peer connector. HA links can be dedicated links or can be shared with other LAN traffic.

You must decide the type of configuration you want for your site from the beginning: no redundancy or with redundancy. You cannot add redundancy after finishing the configuration of your dashboard settings. If, at a later stage, you decide to enable redundancy, you will need to delete your Cloudflare One Appliance device in the Cloudflare dashboard, and start again.

Do you need a high availability configuration?

Caution

You cannot enable high availability for an existing Cloudflare One Appliance on-ramp. To add high availability to an existing Cloudflare One Appliance on-ramp in the Cloudflare dashboard, you need to delete the on-ramp and start again. Plan accordingly to create a high availability configuration from the start if needed.

Decide on DHCP vs static IP connections

You can use Cloudflare One Appliance in both DHCP networks and networks that require a static IP configuration. At first boot, however, Cloudflare One Appliance needs to reach out to Cloudflare to download your settings and go through the activation process. If any of the networks plugged into your Cloudflare One Appliance device are DHCP enabled, do not use a VLAN, and have an Internet connection, that process is handled automatically. However, if all of the networks require more information to utilize, (such as a network with static IPs, or tagged VLAN networks) your Cloudflare One Appliance might need some more information to proceed.

There are couple of ways to provide this information. Choose the one that fits your workflow:

Option one - Activate on a DHCP Network

  1. Connect Cloudflare One Appliance to a DHCP port with access to the Internet.
  2. Follow the setup flow and activate your Cloudflare One Appliance device.
  3. Refer to WAN with a static IP address.

Option two - Bootstrap via Serial Console

Refer to the Bootstrap workflow.


Port speeds

The hardware version of the Cloudflare One Appliance includes two SFP+ ports ↗︎ that support 10G throughput, as well as six RJ45 ports that support 1G throughput.

Refer to SFP+ port information for details on this topic.


Set up Cloudflare dashboard

Register your Appliance

To set up and use the hardware version of Cloudflare One Appliance (formerly Magic WAN Connector), you first need to register it with your account. This is not applicable to Virtual Cloudflare One Appliance.

  1. Go to the Connectors page. Go to Connectors ↗
  2. In the Appliances tab > Appliances, select Register an appliance.
  3. In Appliance details > Serial number, insert the serial number for your device. You can optionally add notes about the Cloudflare One Appliance you are adding to the dashboard.
  4. (Optional) Select Add under Serial number to add multiple Cloudflare One Appliances at once to your account.
  5. Select Register appliance.

Your device is now registered with your account.

Create a new profile

You need to create a profile for your appliance before connecting it to the Internet.

To create a profile:

  1. Go to the Connectors page. Go to Connectors ↗
  2. Go to the Appliances tab > Profiles > Create a new profile.
  3. In Name, enter a descriptive name for your Cloudflare One Appliance. Optionally, you can also add a description for it.
  4. You need to decide if you want to turn on high availability for the Cloudflare One Appliance. For details, refer to About high availability configurations.
  5. Select Create and continue.
  6. Select Add Appliance. This will display a list of devices associated with your account. You need to have bought an Appliance already for it to appear here. Refer to Prerequisites if no Appliance appears in this list.
  7. If you have more than one Cloudflare One Appliance, choose the one that corresponds to the on-ramp you are creating. Cloudflare One Appliance devices are identified by a serial number, also known as a service tag. Use this information to choose the right Cloudflare One Appliance.
    Select Add Appliance when you are ready to proceed.
  8. Cloudflare One Appliance will be added to your account with an Interrupt window defined. The interrupt window is the time period when the Cloudflare One Appliance software can update, which may result in interruption to existing connections. You can change this later. Refer to Interrupt window for more details on how to define when the Cloudflare One Appliance can update its systems.
  9. Select Continue to proceed to creating your WAN and LAN networks.

Create a WAN

When you have more than one anycast IP configured in your account (set up during your Cloudflare WAN (formerly Magic WAN) onboarding), Cloudflare One Appliance will automatically create at most two tunnels per WAN port. This improves reliability and performance, and requires no additional configuration on your part.

  1. In WAN configuration, select Create. You can create one or more wide area networks (WANs) ↗︎. Configuring multiple WANs will create multiple IPsec tunnels (one IPsec tunnel per WAN port). This allows Cloudflare One Appliance to load balance traffic over WANs of equal priority. It also allows Cloudflare One Appliance to failover between circuits according to their health. Refer to WAN settings for more details. Note

This is not the same as a high availability (HA) configuration. HA configurations need two Cloudflare One Appliance devices to work. For details, refer to About high availability configurations. 2. In Interface name, enter a descriptive name for your WAN. 3. Interface number refers to the physical Cloudflare One Appliance Ethernet port that you are using for your WAN. The ports are labeled GE1, GE2, GE3, GE4, GE5, and GE6. Choose the number corresponding to the port that you are using in Appliance.
If you need a throughput higher than 1 Gbps, you can use one of the SFP+ ports. For details on hardware support, refer to SFP+ port information. 4. In VLAN ID, enter a number between 0 and 4094 to specify a VLAN ID. 5. In Priority, choose the priority for your WAN. Lower numbers have higher priority. For details on how Cloudflare calculates priorities, refer to Traffic steering. 6. In Health check rate configure the health check frequency for your site. Options are low, mid, and high. For details, refer to Update tunnel health checks frequency. 7. Addressing: Select DHCP. This is needed the first time you set up your Cloudflare One Appliance to successfully download all settings to the machine and activate it. If you need a static IP address in your network environment: 1. Continue the set up flow to activate your Cloudflare One Appliance. 2. Refer to WAN with a static IP address. If you choose a static IP, you also need to specify the static IP and gateway addresses. 8. Select Save when you are finished.

Note

You will need your account ID and API token to use the API.

Make a POST request using the API to create a WAN.

The static_addressing object is optional. Omit it if you are using DHCP. If you are using static addressing, add the secondary_address parameter when your site is in high availability (HA) mode.

Example:

curl https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/sites/{site_id}/wans \
--header "X-Auth-Email: <EMAIL>" \
--header "X-Auth-Key: <API_KEY>" \
--header "Content-Type: application/json" \
--data '{
    "name": "<YOUR_WAN_NAME>",
    "physport": 1,
    "priority": 0,
    "vlan_tag": 0
}'

Create a LAN

  1. In LAN configuration, select Create.
  2. Enter a descriptive name for your LAN in Interface name.
  3. Interface number refers to the physical Cloudflare One Appliance Ethernet port that you are using for your LAN. The ports are labeled GE1, GE2, GE3, GE4, GE5, and GE6. Choose a number corresponding to the port that you are using in Appliance.
    If you need a throughput higher than 1 Gbps, you can use one of the SFP+ ports. For details on hardware support, refer to SFP+ port information.
  4. In VLAN ID, specify a VLAN ID to create virtual LANs.
  5. In Static addressing > Static address give your Cloudflare One Appliance's LAN interface its IP address. You can also enable the following options if they suit your use case:
  6. This is a DHCP server: If your Cloudflare One Appliance is a DHCP server.
  7. This is a DHCP relay: If your Cloudflare One Appliance is a DHCP relay.
  8. (Optional) In Directly attached subnet > Static NAT prefix, enter a CIDR prefix to enable NAT (network address translation). The prefix you enter here should be the same size as the prefix entered in Static addressing. For example, both networks have a subnet mask of /24: 192.168.100.0/24 and 10.10.100.0/24.
  9. (Optional) If your LAN contains additional subnets behind a layer 3 router, select Add routed subnet under Routed subnets to add them:
  10. Prefix: The CIDR prefix for the subnet behind the L3 router.
  11. Next hop: The address of the L3 router to which the Cloudflare One Appliance should forward packets for this subnet.
  12. Static NAT prefix: Optional setting. If you want to enable NAT for a routed subnet, supply an "external" prefix for the overlay-facing side of the NAT to use. It must be the same size as Prefix.
    For details, refer to Routed subnets.
  13. Select Save.
  14. Select Done to finish your configuration. Tunnels and static routes will be automatically created for your Cloudflare One Appliance, once it boots up.