You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/magic-wan/configuration/connector/configure-virtual-connector.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
---
2
2
pcx_content_type: how-to
3
-
title: Configure virtual Connector
3
+
title: Configure Virtual Connector
4
+
description: Learn how to configure Magic WAN Virtual Connector on VMWare ESXi or Proxmox Virtual Environment
4
5
sidebar:
5
6
order: 4
6
7
---
@@ -14,7 +15,7 @@ import { Render } from "~/components";
14
15
productName: "Virtual Connector",
15
16
wan: "needs to correspond to the virtual network interface on the Virtual Connector instance you have set up in VMware. Following our example from the previous steps, you need to choose port `1` since that is what corresponds to the `eno1` port we set up in VMware.",
16
17
lan: "needs to correspond to the virtual LAN interface on the Virtual Connector instance you have set up in VMware. Following our example from the previous steps, you need to choose port `2` since that is what corresponds to the `eno2` port we set up in VMware.",
17
-
noConnectorShows: "For a Virtual Connector to show up you need to have already obtained your [OVA package and licence keys](#obtain-the-virtual-connector-image).",
18
+
noConnectorShows: "For a Virtual Connector to show up you need to: <br /><ul><li><strong>VMWare:</strong> Have already obtained your OVA package and license keys if you are installing on VMWare.</li><li><strong>Proxmox:</strong> Have already obtained your Virtual Connector Script and license keys if you are installing on Proxmox.</li></ul>\nFor more information, refer to [Configure a virtual machine](#configure-a-virtual-machine) and select the appropriate tab.\n",
18
19
shippedLanguage: "Virtual Magic WAN Connector is deactivated after you install it",
19
20
hardSoftConn: "You need to install two Virtual Connectors before you can set up a site in high availability.",
20
21
finalInstructions: "Follow the instructions in [Activate Connector](#activate-connector) to finish setting up your Connectors."
<p>Virtual Magic WAN Connector (Virtual Connector) is a virtual appliance alternative to the hardware based Magic WAN Connector appliance. These two versions of Connector are identical otherwise.</p>
17
+
<p>Virtual Magic WAN Connector (Virtual Connector) is a virtual appliance alternative to the hardware based Magic WAN Connector appliance. These two versions of Connector are identical otherwise.</p> <p>Currently, you can set up Virtual Connector on VMWare ESXi and Proxmox Virtual Environment. Support for Proxmox is in beta.</p>
Before you can install Virtual Connector, you need an Enterprise account with Magic WAN enabled. Additionally, you need to have a VMware host with sufficient compute, memory, and storage to run the virtual machine with Virtual Connector. This includes:
42
+
Before you can install Virtual Connector, you need an Enterprise account with Magic WAN enabled. Additionally, you need to have a VMware or Proxmox host with sufficient compute, memory, and storage to run the virtual machine with Virtual Connector. This includes:
43
43
- Intel x86 CPU architecture
44
44
- ESXi hypervisor 7.0U1 or higher
45
45
- 4 virtual CPUs per virtual connector (We recommend deployment with a 1:1 virtual CPU to physical core allocation to avoid CPU over contention which will cause packet loss.)
- One vSwitch port group or VLAN with access to the Internet (for example, through a WAN)
49
49
- One or more vSwitch port group or VLAN that will be the internal LAN
50
50
51
-
Refer to [VMware's documentation](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.esxi.install.doc/GUID-B2F01BF5-078A-4C7E-B505-5DFFED0B8C38.html) for more information on how to install ESXi and configure a virtual machine.
51
+
If you are installing Virtual Connector on ESXi, refer to [VMware's documentation](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.esxi.install.doc/GUID-B2F01BF5-078A-4C7E-B505-5DFFED0B8C38.html) for more information on how to install ESXi and configure a virtual machine.
52
+
53
+
If you are installing Virtual Connector on Virtual Environment, refer to [Proxmox documentation](https://www.proxmox.com/en/products/proxmox-virtual-environment/get-started) for more information on how to install Virtual environment and configure a virtual machine.
52
54
`}
53
55
inline={false}
54
56
/>
@@ -65,11 +67,11 @@ There are a couple of decisions you need to make when installing your {props.pro
65
67
66
68
### Determine the need for a high availability configuration
67
69
68
-
You can install up to two {props.productName}s for redundancy at each of your sites. If one of your Connectors fail, traffic will fail over to the other Connector ensuring that you never lose connectivity to that site.
70
+
You can install up to two {props.productName}s for redundancy at each of your sites. If one of your Connectors fails, traffic will fail over to the other Connector ensuring that you never lose connectivity to that site.
69
71
70
72
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.
71
73
72
-
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 configuring your dashboard settings. If, at a later stage, you decide to enable redundancy, you will need to delete your Connector on-ramp in the Cloudflare dashboard, and start again.
74
+
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 Connector on-ramp in the Cloudflare dashboard, and start again.
73
75
74
76
<Cardtitle="Do you need a high availability configuration?"icon="information">
75
77
@@ -147,10 +149,15 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
147
149
148
150
{props.magicWord==="virtual"&& (
149
151
<>
150
-
<AnchorHeadingtitle="Obtain the Virtual Connector image"depth={2} />
152
+
<AnchorHeadingtitle="Configure a virtual machine"depth={2} />
153
+
<p>Select the appropriate tab below to learn how to configure Virtual Connector on VMWare ESXi or Proxmox Virtual Environment.</p>
154
+
155
+
<Tabs> <TabItemlabel="VMWare ESXi">
151
156
152
157
<Markdown
153
158
text={`
159
+
**1. Obtain the VMWare image**
160
+
154
161
Contact your account team at Cloudflare to obtain the Virtual Connector OVA package and license keys. The OVA image includes the files required to install and configure the virtual machine (VM) for Virtual Connector with the appropriate settings. Refer to [VMWare VMs documentation](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-AE61948B-C2EE-436E-BAFB-3C7209088552.html) for more information on this topic.
155
162
156
163
This image can be deployed multiple times to create several instances of a Virtual Connector, in different locations or on the same ESXi host.
@@ -160,10 +167,11 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
160
167
inline={false}
161
168
/>
162
169
163
-
<AnchorHeadingtitle="Deploy the Virtual Connector on VMware"depth={2} />
164
-
165
170
<Markdown
166
171
text={`
172
+
173
+
**2. Deploy the Virtual Connector on VMware**
174
+
167
175
The following instructions assume you already have VMware ESXi hypervisor installed with sufficient resources. Refer to [Prerequisites](#prerequisites) for more information.
168
176
169
177
1. When setting up your VMware ESXi, you need to create port groups for Virtual Connector. 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:
@@ -174,23 +182,7 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
174
182
inline={false}
175
183
/>
176
184
177
-
<Asidetitle="VLAN tagging">
178
-
<Markdown
179
-
text={`
180
-
Virtual Connector supports creating subinterfaces through the use of [802.1Q VLAN tagging](https://en.wikipedia.org/wiki/IEEE_802.1Q).
181
-
182
-
Use VLAN ID <code>0</code> when:
183
-
184
-
- Connected to a Port Group or Distributed Port Group that is associated with a specific VLAN.
185
-
- Connected to a Port Group or Distributed Port Group that is configured as a trunk that requires untagged packets.
186
-
187
-
You can also configure subinterfaces on the Virtual Connector 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 <code>1</code>-<code>4094</code>).
188
-
189
-
Refer to [VMware's documentation](https://kb.vmware.com/s/article/1003825) for more information.
@@ -234,7 +226,7 @@ You cannot enable high availability for an existing Connector on-ramp. To add hi
234
226
inline={false}
235
227
/>
236
228
237
-
<Aside>You cannot use the same license key twice, or reuse a key once the virtual machine has been registered with Cloudflare. You need a new key from your account team for every new Virtual Connector.</Aside>
Contact your account team at Cloudflare to obtain your license keys and the Virtual Connector script for Proxmox. The script will set up and configure a Proxmox virtual machine with the appropriate settings for Virtual Connector. Refer to [Prerequisites](#prerequisites) for more information on system requirements.
246
+
247
+
The script can be deployed multiple times to create several instances of a Virtual Connector, in different locations or on the same Proxmox host. You will consume one license key for each instance created. For example, if you want to deploy 10 Virtual Connectors you should request 10 license keys.
248
+
249
+
**2. Deploy the Virtual Connector on Proxmox**
250
+
251
+
The following instructions assume you already have Proxmox Virtual Environment installed with sufficient resources. Refer to [Prerequisites](#prerequisites) for more information.
252
+
253
+
1. In the terminal prompt of your Proxmox server, load the script provided by your account team. For example: \`bash YOUR_SCRIPT\`. You need elevated privileges to run the script.
254
+
2. You will be prompted to create a new Virtual Connector. Select **yes** to proceed.
5. Select the network interface card (NIC) you want to use with Virtual Connector.
266
+
6. Select the network bridge that corresponds to the physical network interface card (NIC) on your host machine. This bridge allows the network adapter in the virtual machine to communicate through the NIC in the host, as if it were directly connected to the physical network.
267
+
7. (Optional) Configure your VLAN setting if needed.
9. The script will apply your settings and configure the virtual machine template for Virtual Connector.
278
+
10. In the **Hardware settings** for the new VM, make sure the hardware settings match the minimum requirements for running Virtual Connector. Make changes to the RAM and CPU if needed.
279
+
11. Continue setup in your [Cloudflare dashboard](#set-up-cloudflare-dashboard).
280
+
`}
281
+
inline={false}
282
+
/>
283
+
284
+
</TabItem> </Tabs>
246
285
</>
247
286
)
248
287
}
@@ -498,7 +537,7 @@ When you are ready to connect your Magic WAN Connector to the Cloudflare network
498
537
499
538
<Markdown
500
539
text={`
501
-
1. Go to **Virtual Machines** in VMware, and boot up Virtual Connector's VM.
540
+
1. Boot up Virtual Connector's VM in your virtual machine.
502
541
2. The Virtual Connector will make a request to Cloudflare. This is the step where Virtual Connector registers your provided license key and downloads the [configuration you provided](#set-up-cloudflare-dashboard).
503
542
3. The Virtual Connector will set up the LAN and WAN connections according to the configuration downloaded from the site you created on the Cloudflare dashboard. The Virtual Connector will also establish IPsec tunnels.
504
543
4. If successful, the [tunnel health checks](/magic-wan/configuration/common-settings/check-tunnel-health-dashboard/) will show as healthy.
<Aside> You cannot use the same license key twice, or reuse a key once the virtual machine has been registered with Cloudflare. You need a new key from your account team for every new Virtual Connector.</Aside>
Virtual Connector supports creating subinterfaces through the use of [802.1Q VLAN tagging](https://en.wikipedia.org/wiki/IEEE_802.1Q).
11
+
12
+
Use VLAN ID <code>0</code> when:
13
+
14
+
- Connected to a Port Group or Distributed Port Group that is associated with a specific VLAN.
15
+
- Connected to a Port Group or Distributed Port Group that is configured as a trunk that requires untagged packets.
16
+
17
+
You can also configure subinterfaces on the Virtual Connector 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 <code>1</code>-<code>4094</code>).
18
+
19
+
Refer to <Markdowntext={props.url} /> for more information.
0 commit comments