Aruba EdgeConnect Enterprise·续
- Create a new IPsec tunnel
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/ipsec_tunnels \
--header "X-Auth-Email: <EMAIL>" \
--header "X-Auth-Key: <API_KEY>" \
--header "Content-Type: application/json" \
--data '{
"ipsec_tunnels": [
{
"name": "EdgeConnect_IPSEC_1",
"customer_endpoint": "35.188.72.56",
"cloudflare_endpoint": "172.64.241.205",
"interface_address": "192.168.10.11/31",
"description": "Tunnel for EdgeConnect - GCP Central"
}
]
}'
{
"result": {
"ipsec_tunnels": [
{
"id": "tunnel_id",
"interface_address": "192.168.10.11/31",
"created_on": "2022-04-14T19:57:43.938376Z",
"modified_on": "2022-04-14T19:57:43.938376Z",
"name": "EdgeConnect_IPSEC_1",
"cloudflare_endpoint": "172.64.241.205",
"customer_endpoint": "35.188.72.56",
"description": "Tunnel for EdgeConnect - GCP Central",
"health_check": {
"enabled": true,
"target": "35.188.72.56",
"type": "reply"
}
}
]
},
"success": true,
"errors": [],
"messages": []
}
- Generate Pre Shared Key (PSK) for tunnel
Use the tunnel ID from the response in Step 2. Save the pre-shared key generated in this step as you will need it to set up tunnels on the Orchestrator.
curl --request POST \
"https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/ipsec_tunnels/{tunnel_id}/psk_generate?validate_only=true" \
--header "X-Auth-Email: <EMAIL>" \
--header "X-Auth-Key: <API_KEY>"
{
"result": {
"ipsec_id": "<ipsec_id>",
"ipsec_tunnel_id": "<tunnel_id>",
"psk": "XXXXXXXXXXXXXXXXX",
"psk_metadata": {
"last_generated_on": "2022-04-14T20:05:29.756514071Z"
}
},
"success": true,
"errors": [],
"messages": []
}
Create an IPsec tunnel on EdgeConnect
You can create a tunnel after the Business Intent Overlay policies have been defined. Use the correct policy or service created in <a href="#2-configure-overlay-policies">configure overlay policy</a>. The local IP is the local WAN interface of the EdgeConnect device, and the remote IP is the Cloudflare public IP assigned as the tunnel endpoint.



Create a Virtual Tunnel Interface (VTI) on the EdgeConnect appliance
</details>
4. Create static routes on Cloudflare and EdgeConnect
<details>
<summary>
GRE tunnel configuration
</summary>
- Define static routes on the Cloudflare dashboard for the LAN subnet(s) attached to the EdgeConnect appliance. Use the private IP pair for the EdgeConnect tunnel endpoint.
In this example, the traffic to subnet <code>10.3.0.0/16</code> attached to the east_branch EdgeConnect appliance has a next hop of <code>10.40.8.10</code>.

- Define static routes on the Orchestrator so Cloudflare can route traffic between sites.
This example creates a route for the subnet <code>10.30.0.0/24</code> on the west_branch to route via the established GRE tunnel between the EdgeConnect appliance and Cloudflare.
</details>
<details>
<summary>
IPsec tunnel configuration
</summary>

Static routes for central branch on EdgeConnect

Static routes for west branch on EdgeConnect
</details>
5. Validate traffic flow
<details>
<summary>
GRE tunnel configuration
</summary>
Validate Secure Web Gateway
To validate traffic flow from the local subnet through Cloudflare's Secure Web Gateway, perform a cURL as shown in this example.

You can validate the request went through Gateway with the presence of the <code>Cf-Team</code> response header, or by looking at the logs in the dashboard under Logs > Gateway > HTTP.

Validate east-west traffic
To validate east-west traffic flow, perform a traceroute as shown in the example.

The example shows a client in GCP East (<code>10.3.0.3</code>), which can ping the private IP of a client in GCP West (<code>10.30.0.4</code>).
The traceroute shows the path going from the client (<code>10.3.0.3</code>) to:
- the GCP East lan0 IP on the EdgeConnect (<code>10.3.0.2</code>)
- the Cloudflare private GRE endpoint IP (<code>10.4.8.11</code>)
- the GCP West lan0 IP on the West EdgeConnect (<code>10.30.0.3</code>)
- the GCP West client (<code>10.30.0.4</code>)
This validates the east-west traffic flow through Cloudflare WAN.
</details>
<details>
<summary>
IPsec tunnel configuration
</summary>
Validate Secure Web Gateway
To validate traffic flow from the local subnet through Cloudflare's Secure Web Gateway, perform a cURL as shown in this example.

You can validate the request went through Secure Web Gateway with the presence of the <code>Cf-Team</code> response header or by looking at the logs in the dashboard under Logs > Gateway > HTTP.

Validate east-west traffic
To validate east-west traffic flow, perform a traceroute as shown in the example.

The example shows a client in GCP Central (<code>10.22.0.9</code>), which can ping the private IP of a client in GCP West (<code>10.77.0.10</code>).
The traceroute shows the path going from the client (<code>10.22.0.9</code>) to:
- the GCP Central lan0 IP on the EdgeConnect (<code>10.22.0.2</code>)
- the Cloudflare private IPsec endpoint IP (<code>192.168.10.11</code>)
- the GCP West EdgeConnect private IPsec endpoint IP (<code>192.168.15.10</code>)
- the GCP West client (<code>10.77.0.10</code>)
This validates the east-west traffic flow through Cloudflare WAN.
</details>
6. Cloudflare policies
At this point, the GRE or IPsec tunnels should be connected from the EdgeConnect appliances to Cloudflare's global network, and traffic is scoped to route over the tunnels using the EdgeConnect Business Intent Overlays.
To begin filtering traffic and gathering analytics, refer to the Cloudflare Network Firewall documentation to learn how to create filters for east-west inter-branch traffic and the Secure Web Gateway documentation to learn how to configure Gateway policies if you decide to send traffic from your local private subnets to the Internet through Cloudflare Gateway.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/cloudflare-wan/configuration/third-party/aruba-edgeconnect/#page","headline":"Aruba EdgeConnect Enterprise","description":"Connect Aruba EdgeConnect to Cloudflare WAN.","url":"https://developers.cloudflare.com/cloudflare-wan/configuration/third-party/aruba-edgeconnect/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-wan/configuration/third-party/aruba-edgeconnect/og.png?v=c9360ae645e4cd7e","dateModified":"2026-10-12","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: Connect AWS Transit Gateway to Cloudflare WAN with two redundant IPsec tunnels and dynamic BGP routing. title: Amazon AWS Transit Gateway image: https://developers.cloudflare.com/cloudflare-wan/configuration/third-party/aws/og.png?v=79d35e3e8c3cc1bb
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.
