Configure Virtual Appliance

Last updated Aug 24, 2026

Register a virtual appliance and generate a license key

You can register a Cloudflare One Virtual Appliance instance and generate its license key yourself, from either the dashboard or the API — no account team involvement required. Each create or rotate request returns a license key that you use to activate the deployed VM.

Caution

The license key is shown only once, at create or rotate time. Copy and store it securely — it cannot be recovered afterwards, but it can be rotated.

  1. Go to the Connectors page.
  2. Select Add an appliance.
  3. Choose Virtual appliance as the connector type.

Unlike a hardware appliance — which requires the serial number printed on the physical device, obtained through your account team — a virtual appliance only needs a name, since Cloudflare generates the license key for you. 4. In Name, enter a descriptive name for your virtual appliance. 5. Select Generate authentication key. 6. Copy the authentication key shown in the dialog. Use it as the license key when you configure your virtual machine.

To rotate the key for an existing virtual appliance:

  1. Go to the Connectors page.
  2. Find the connector in the table, select the three dots next to it, then select Regenerate authentication key.
  3. Confirm the action. The existing key is immediately and irrevocably revoked, and a new key is generated and shown in the dialog.

  4. Create a virtual appliance: POST /accounts/{account_id}/magic/connectors with device.provision_license: true. The response includes result.license_key.

  5. Rotate the license key: PATCH /accounts/{account_id}/magic/connectors/{connector_id} with provision_license: true. The previous key is immediately and irrevocably revoked.
  6. Delete a virtual appliance: deletes the associated licensed device in the same operation.

This is also available via Terraform.

Cloudflare One Virtual Appliance is a virtual device alternative to the hardware based Cloudflare One Appliance. These two versions of Cloudflare One Appliance are identical otherwise.

Currently, you can set up Cloudflare One Virtual Appliance on VMware ESXi and Proxmox Virtual Environment. Support for Proxmox is in beta.

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

Before you can install Cloudflare One Virtual Appliance, you need an Enterprise account with Cloudflare WAN. Additionally, you need to have a VMware or Proxmox host with sufficient compute, memory, and storage to run the virtual machine with Cloudflare One Virtual Appliance. This includes:

  • Intel x86 CPU architecture
  • ESXi hypervisor 7.0U1 or higher
  • 4 virtual CPUs per virtual appliance (We recommend deployment with a 1:1 virtual CPU to physical core allocation to avoid CPU over contention which will cause packet loss.)
  • 8 GB of RAM per virtual appliance
  • 8 GB of disk per virtual appliance
  • One vSwitch port group or VLAN with access to the Internet (for example, through a WAN)
  • One or more vSwitch port group or VLAN that will be the internal LAN

For details on installing ESXi and configuring a virtual machine, refer to VMware's documentation ↗︎.

For details on installing Virtual environment and configuring a virtual machine, refer to Proxmox documentation ↗︎.


Before you begin

There are a couple of decisions you need to make when installing your Cloudflare One Virtual 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 Virtual 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 Virtual 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 Virtual Appliance on-ramp. To add high availability to an existing Cloudflare One Virtual 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

Cloudflare One Virtual Appliance uses a DHCP connection at first boot to download your settings and go through the activation process. However, if you need to use a static IP in your Cloudflare One Virtual Appliance, and this is a fresh install:

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

Configure a virtual machine

Select the appropriate tab to configure Cloudflare One Virtual Appliance on VMware ESXi or Proxmox Virtual Environment.

1. Obtain the VMware image

Download the Cloudflare One Virtual Appliance OVA image from https://assets.magic-wan-connector.cloudflare.com/stable/mconn.ova ↗︎. You can also download it from the dashboard when you register a virtual appliance, in the Add an appliance > Virtual appliance step. The OVA image includes the files required to install and configure the virtual machine (VM) for Cloudflare One Virtual Appliance with the appropriate settings. For details, refer to VMware VMs documentation ↗︎.

This image can be deployed multiple times to create several instances of a Cloudflare One Virtual Appliance, in different locations or on the same ESXi host.

You consume one license key for each instance created. Generate a license key for each instance from the Connectors page. For example, to deploy 10 Cloudflare One Virtual Appliances, generate 10 license keys.

2. Deploy the Cloudflare One Virtual Appliance on VMware

The following instructions assume you already have VMware ESXi hypervisor installed with sufficient resources. For details, refer to Prerequisites.

  1. When setting up your VMware ESXi, you need to create port groups for Cloudflare One Virtual Appliance. Go to Networking > Port groups, and prepare your vSwitch port groups and/or VLANs for your desired network topology. For example, a simple deployment typically has:
  2. A WAN port group where the Cloudflare One Virtual Appliance will get an IP address (static or DHCP) that has access to the Internet.
  3. A LAN port group, where the Cloudflare One Virtual Appliance will act as default router, and possibly DHCP server.
  4. A null, or unused, port group for allocating unused virtual interfaces in the Cloudflare One Virtual Appliance. You can, for example, create a null port group with the name of Null port group, and a VLAN ID of 999.

VLAN tagging

Cloudflare One Virtual Appliance supports creating subinterfaces through the use of 802.1Q VLAN tagging ↗︎.

Use VLAN ID 0 when:

  • Connected to a Port Group or Distributed Port Group that is associated with a specific VLAN.
  • Connected to a Port Group or Distributed Port Group that is configured as a trunk that requires untagged packets.

You can also configure subinterfaces on the Cloudflare One Virtual Appliance by associating the network interface with a Port Group or Distributed Port Group trunk and specifying a VLAN ID in addition to the port associated with the network interface (VLAN ID 1-4094).

Refer to VMware's documentation ↗︎ for more information.

  1. Extract the files in the OVA image you downloaded. For example:
tar -xvf mconn.ova

Take note of the folder where you are extracting the files to, as you will need to refer to that folder when creating the VM.

  1. Go to Virtual Machines > Create/Register VM wizard to start deploying the Cloudflare One Virtual Appliance.
  2. Select Deploy a virtual machine from an OVF or OVA file > Next.
  3. Choose a descriptive name for your virtual machine.
  4. Upload the files you have extracted from the OVA image. These include mconn.ovf, mconn.nvram, and mconn.vmdk.
  5. Select where you want to save the files extracted from the OVA image > Next.
  6. In Networking mappings, select assignments for your desired topology according to the port groups you set up previously:
  7. For example, map eno1 port to VM Network to create your WAN, and eno2 to LAN0 to act as your LAN port.
  8. Allocate any unused ports to the null port group.
  9. Take note of your configuration. You will need this information to configure your network in the Cloudflare dashboard.
  10. In Disk provisioning, select Thin.
  11. Before completing the deployment wizard, disable Power on automatically. This is important so that you can configure the license key prior to boot.
  12. Configure the virtual machine with the license key you generated:
    1. Select the Cloudflare One Virtual Appliance's VM > Settings.
    2. Go to VM Options > Advanced > Edit Configuration.
    3. Select Add parameter to add your license key. Scroll down to the last entry (this is where VMware adds the new parameter), and add the following two new entries:
    4. Key: guestinfo.cloudflare.identity
    5. Value <YOUR_LICENSE_KEY>

Note

You cannot use the same license key twice, or reuse a key once the virtual machine has been registered with Cloudflare. Generate a new key for every new Cloudflare One Virtual Appliance from the Connectors page.

  1. Select Save to finish configuring your Cloudflare One Virtual Appliance.
  2. Continue setup in your Cloudflare dashboard.

1. Obtain the Cloudflare One Virtual Appliance script

Download the Cloudflare One Virtual Appliance helper script for Proxmox to your Proxmox server. The script sets up and configures a Proxmox virtual machine with the appropriate settings for Cloudflare One Virtual Appliance. For details on system requirements, refer to Prerequisites.

The script can be deployed multiple times to create several instances of a Cloudflare One Virtual Appliance, in different locations or on the same Proxmox host. You consume one license key for each instance created. Generate a license key for each instance from the Connectors page. For example, to deploy 10 Cloudflare One Virtual Appliances, generate 10 license keys.

curl -OL https://assets.magic-wan-connector.cloudflare.com/stable/proxmox_mconn_vm.sh

2. Deploy the Cloudflare One Virtual Appliance on Proxmox

The following instructions assume you already have Proxmox Virtual Environment installed with sufficient resources. For details, refer to Prerequisites.