Cloudflare Docs
Magic WAN
Visit Magic WAN on GitHub
Set theme to dark (⇧+D)

Configure Magic WAN Connector (beta)

​​ Prerequisites

You need Magic WAN to be able to use the Magic WAN Connector (beta). The Magic WAN Connector can function as your primary edge device for your network, or be deployed in-line with existing network gear.

Refer to the following steps to configure your Magic WAN Connector.

​​ 1. Purchase a Magic WAN Connector device

Contact your account representative to learn more about purchasing options for the Magic WAN Connector device.

​​ 2. Define a site configuration

Sites represent the local network where you have installed your Magic WAN Connector — for example, a branch office location.

To add a site:

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Magic WAN > Sites.
  3. Select Add site to create a new one and start the configuration wizard.
  4. Add a name and description for your new site.
  5. Under Connector, select Add Connector. This will show a list of Magic WAN Connector devices associated with your account.
  6. Choose from the list the Connector corresponding to the site you are creating. Connectors are identified by a serial number, also known as a service tag. Select Add Connector when you are ready to proceed.
    1. (Optional) You can also define an Interrupt service window for your site. This is the time period when the Magic WAN Connector software can update, which may result in interruption to existing connections. Refer to Set up your Magic WAN Connector for more details.
  7. Select Next to proceed to configuring your network.
  8. Under WAN configuration, there should be a Default WAN interface automatically created. Select Edit in the default interface, or Create if there is none. You should only have one WAN interface on this list.
    1. Enter a descriptive name for your WAN.
    2. (Optional) Specify a VLAN ID and port for your WAN.
    3. In Network type, specify whether the WAN IP should be fetched from a DHCP server or if it is a static IP. If you choose a static IP, you also need to specify the static IP and gateway IP addresses.

An example of how to configure you Magic WAN Connector WAN

Select Save when you are finished.

  1. Repeat this process to define your LAN configuration. In Network type you need to specify if your IP address should be fetched from a DHCP server, or if it is a static address. If you choose a static IP for your LAN, you will also have to specify the static IP address, and if the server is DHCP. If it is, you will further need to specify:
    • The DNS server address
    • The DHCP pool start
    • The DHCP pool end

For example:

An example of how to configure you Magic WAN Connector LAN

Select Save when you are finished.

  1. Select Save and exit to finish your configuration. Tunnels and static routes will be automatically created and associated with your site once the Magic WAN Connector boots up (refer to the next step).

​​ 3. Set up your Magic WAN Connector

The Magic WAN Connector will only establish a connection to the Cloudflare network when it is activated, so we recommend leaving it deactivated until you are ready to establish the connection.

When the Connector is first activated, one of the ports must be connected to the Internet through a route that supports DHCP. This is required so that the Connector can reach the Cloudflare global network and download the required configurations that you set up in the Site configuration step.

When you are ready to connect your Magic WAN Connector to the Cloudflare network, the first step is to navigate to the Cloudflare dashboard and activate the Connector:

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Magic WAN > Configuration > Connectors.
  3. Find the Connector you want to activate, and select Edit. Make sure you verify the serial number to choose the right connector you want to activate.
  4. In the new window, the Status dropdown will show as Inactive. Select it to change the status to Activated.
  5. (Optional) The Interrupt service window is the time period when the Magic WAN Connector software can update, which may result in interruption to existing connections. Choose a time period to minimize disruption to your sites.
  6. Select Update.