Configure Virtual Appliance·续2

Note

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

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

Example:

curl https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/sites/{site_id}/lans \
--header "X-Auth-Email: <EMAIL>" \
--header "X-Auth-Key: <API_KEY>" \
--header "Content-Type: application/json" \
--data '{
    "name": "<YOUR_LAN_NAME>",
    "physport": 2,
    "static_addressing": {
        "address": "172.16.14.0/24"
    },
    "vlan_tag": 0
}'

Network segmentation

After setting up your LANs, you can configure your Cloudflare One Virtual Appliance to enable communication between them without traffic leaving your premises. For details, refer to Network segmentation.

DHCP options

Cloudflare One Virtual Appliance supports different types of DHCP configurations. Cloudflare One Virtual Appliance can:

  • Connect to a DHCP server or use a static IP address instead of connecting to a DHCP server.
  • Act as a DHCP server.
  • Use DHCP relay to connect to a DHCP server outside the location your Cloudflare One Virtual Appliance is in.
  • Reserve IP addresses for specific devices on your network.

Add your Cloudflare One Virtual Appliance to a site

After finishing your Cloudflare One Virtual Appliance configuration, you need to add it to a site. Sites represent the local network of a data center, office, or other physical location, and combine all on-ramps available there. Sites also allow you to check, at a glance, the state of your on-ramps and set up health alert settings so that Cloudflare notifies you when there are issues with the site's on-ramps.

Refer to Set up a site for more information.

Activate appliance

Cloudflare One Virtual Appliance is deactivated after you install it, and will only establish a connection to the Cloudflare network when it is activated. Cloudflare recommends leaving it deactivated until you finish setting it up in the dashboard.

When the Cloudflare One Virtual Appliance is first activated, one of the ports must be connected to the Internet through a device that supports DHCP. This is required so that the Cloudflare One Virtual Appliance can reach the Cloudflare global network and download the required configurations that you set up.

Caution

Remember to connect Cloudflare One Virtual Appliance through a route that supports DHCP for its first connection to the Internet. Otherwise, Cloudflare One Virtual Appliance will not work.

When you are ready to connect your Cloudflare One Virtual Appliance to the Cloudflare network:

  1. Go to the Connectors page. Go to Connectors ↗
  2. Go to the Appliances tab > Appliances.
  3. Find the Cloudflare One Virtual Appliance you want to activate, select the three dots next to it > Edit. Make sure you verify the serial number to choose the right Cloudflare One Virtual Appliance you want to activate.
  4. In the new window, the Status dropdown will show as Deactivated. Select it to change the status to Activated.
  5. The Interrupt window is the time period when the Cloudflare One Virtual Appliance software can update, which may result in interruption to existing connections. Choose a time period to minimize disruption to your sites. For details on defining when the Cloudflare One Virtual Appliance can update its systems, refer to Interrupt window.
  6. Select Update.

Boot your Virtual Appliance

Default password to access Virtual Appliance

Your Virtual Appliance's default password is the last seven characters of your license key, all uppercase, plus an ! (exclamation mark).

For example, if your license key is mconn-abcdefghijklmnopqrstuvwxyz, your default password will be TUVWXYZ!.


WAN with a static IP address

After activating your device, you can use it in a network configuration with the WAN interface set to a static IP address - that is, an Internet configuration that is not automatically set by DHCP. To use your Cloudflare One Virtual Appliance on a network configuration with a static IP, follow these steps:

Caution

Make sure you complete the setup workflow and activate your Cloudflare One Virtual Appliance before changing the WAN settings to a static IP.

  1. Connect the machine where you installed the VM with Cloudflare One Virtual Appliance to a DHCP port with access to the Internet.
  2. Create a new profile in the dashboard.
  3. Create a DHCP WAN.
  4. Activate and boot your Cloudflare One Virtual Appliance.
  5. Wait 60 seconds.
  6. Make changes to the WAN settings in the dashboard to a static IP set up.
  7. Wait 60 seconds again.
  8. Modify your Port Groups as needed to change the source from which the WAN port obtains its IP address.
  9. Reboot your virtual machine.

About high availability configurations

You need to install two Virtual Appliances before you can set up a site in high availability. When you set up a site in high availability, the WANs and LANs in your Cloudflare One Virtual Appliance have the same configuration but are replicated on two nodes. In case of failure of one of the devices, the other device becomes the active node, taking over the configuration of the LAN gateway IP and allowing traffic to continue without disruption.

Because Cloudflare One Virtual Appliances in high availability configurations share a single site, you need to set up:

  • Static address: The IP for the primary node in your site.
  • Secondary static address: The IP for the secondary node in your site.
  • Virtual static address: The IP that the LAN south of the Cloudflare One Virtual Appliance device will forward traffic to, which is the LAN's gateway IP.

Make sure all IPs are part of the same subnet.

For detailed information about the expected behavior of high availability configurations, refer to the High availability configurations reference page.

Create a high availability configuration

You cannot enable high availability for an existing site. To add high availability to an existing site in the Cloudflare dashboard, you need to delete the site and start again.

To set up a high availability configuration:

  1. Follow the steps in Create a new profile up until step 4.
  2. After naming your site, select Turn on high availability.
  3. Select Create and continue.
  4. Select Add Appliance.
  5. From the list, choose your first Cloudflare One Virtual Appliance > Add Appliance.
  6. Back on the previous screen, select Add secondary appliance.
  7. From the list, choose your second Cloudflare One Virtual Appliance > Add Appliance.
  8. Select Continue to create a WAN. If you are configuring a static IP, configure the IP for the primary node as the static address, and the IP for the secondary node as the secondary static address.
  9. To create a LAN, follow the steps in Create a LAN up until step 4.
  10. In Static address, enter the IP for the primary node in your site. For example, 192.168.10.1/24.
  11. In Secondary static address, enter the IP for the secondary node in your site. For example, 192.168.10.2/24.
  12. In Virtual static address, enter the IP that the LAN south of the Cloudflare One Virtual Appliance device will forward traffic to. For example, 192.168.10.3/24.
  13. Select Save.
  14. From the High availability probing link drop-down menu, select the port that should be used to monitor the node's health. Cloudflare recommends you choose a reliable interface as the HA probing link. The primary and secondary node's probing link should be connected over a switch, and cannot be a direct connection.
  15. Follow the instructions in Activate appliance to finish setting up your Appliances.

IPsec tunnels and static routes

Cloudflare One Virtual Appliance automatically creates IPsec tunnels and static routes for you. You cannot configure these manually.

To check the IPsec tunnels and static routes created by your Cloudflare One Virtual Appliance:

  1. Go to the Connectors page. Go to Connectors ↗
  2. The IPsec/GRE tunnels tab shows a list of all the IPsec tunnels created by your Cloudflare One Virtual Appliance.
  3. Go to the Routes page. Go to Routes ↗
  4. Here you can inspect the static routes created by your Cloudflare One Virtual Appliance.

Next steps

Was this helpful?

YesNo

On this page

Configure Virtual Appliance·续2 - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/configure-virtual-appliance/#page","headline":"Configure Virtual Appliance","description":"Learn how to configure Cloudflare One Virtual Appliance on VMware ESXi or Proxmox Virtual Environment","url":"https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/configure-virtual-appliance/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/configure-virtual-appliance/og.png?v=15655f7ee3651792","dateModified":"2026-08-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: View hardware Appliance performance metrics. title: Device metrics image: https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/device-metrics/og.png?v=f722a24bd39cd37f


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/cloudflare-wan/llms.txt
Use this file to discover all available pages before exploring further.