Skip to content

Commit ce0d3ab

Browse files
marciocloudflarestevewwwdeadlypants1973
authored
[MWAN] Config source ip range (#26588)
* added config ips partial * refined content * added pages * corrected file path * corrected file path * refined text * refined text * added mk3 * refined text * unified routing * Apply suggestions from code review Co-authored-by: Steve Welham <5891996+stevewww@users.noreply.github.com> * refined text * Apply suggestions from code review Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com> --------- Co-authored-by: Steve Welham <5891996+stevewww@users.noreply.github.com> Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
1 parent e390864 commit ce0d3ab

File tree

3 files changed

+82
-0
lines changed

3 files changed

+82
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Configure Cloudflare source IPs
3+
pcx_content_type: how-to
4+
sidebar:
5+
order: 3
6+
description: Configure the Cloudflare source IP range used when you receive traffic from Cloudflare services sent to your Cloudflare One private networks.
7+
---
8+
9+
import { Render } from "~/components";
10+
11+
<Render
12+
file="routing/configure-cloudflare-source-ips"
13+
product="networking-services"
14+
/>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Configure Cloudflare source IPs
3+
pcx_content_type: how-to
4+
sidebar:
5+
order: 3
6+
description: Configure the Cloudflare source IP range used when you receive traffic from Cloudflare services sent to your Cloudflare One private networks.
7+
---
8+
9+
import { Render } from "~/components";
10+
11+
<Render
12+
file="routing/configure-cloudflare-source-ips"
13+
product="networking-services"
14+
/>
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
{}
3+
---
4+
5+
import { APIRequest } from "~/components";
6+
7+
You can configure the source IP address range used by Cloudflare whenever a Cloudflare service, such as Cloudflare Load Balancing, sends traffic to a Cloudflare One private network. This address range is referred to as the Proxy Source IP Prefix (or `cloudflare_source` subnet type in the API).
8+
- IPv4 traffic is sourced from `100.64.0.0/12`. This range is configurable.
9+
- IPv6 traffic is sourced from `2606:4700:cf1:5000::/64`. This range is not configurable.
10+
11+
Customers may wish to change the default allocated range to avoid IP conflicts or fit with an existing IP Address Management plan.
12+
13+
You must configure routes in your network so that response traffic for these source ranges is sent back to Cloudflare over your Cloudflare One connections.
14+
15+
## Prerequisites
16+
17+
Before you begin, ensure that:
18+
- You have Cloudflare One Unified Routing. If your account is not yet on Unified Routing, contact your account team to discuss migration and availability.
19+
- You have [Cloudflare One Networks Write](/fundamentals/api/reference/permissions/) permission.
20+
- Your desired new network range meets the following requirements:
21+
- Your network must be defined as a single CIDR with a prefix length of `/12`.
22+
- Cloudflare One subnets in the same account cannot overlap. Default allocations include:
23+
- Proxy Source IPs (`100.64.0.0/12`)
24+
- Hostname Route Token IPs (`100.80.0.0/16`)
25+
- WARP Clients (`100.96.0.0/12`)
26+
- Private Load Balancers (`100.112.0.0/16`)
27+
- The source subnet cannot match or contain any existing route in your Cloudflare One routing table. The source subnet can be within a supernet route.
28+
29+
## Affected Connectors
30+
31+
Except for Cloudflare Tunnel, all Cloudflare One Connectors (network offramps) see the `cloudflare_source` subnet (default `100.64.0.0/12`) as the source of traffic from a Cloudflare service, such as Cloudflare Load Balancing, to a private network.
32+
33+
The following Connectors are affected:
34+
- GRE
35+
- IPsec
36+
- CNI
37+
- WARP Connector
38+
- WARP Client
39+
40+
## Configure source IPs via API
41+
42+
Currently, you must use the Cloudflare API to configure this setting. To set up your source IPs, send a `PATCH` request to the [Update Cloudflare Source Subnet endpoint](/api/resources/zero_trust/subresources/networks/subresources/subnets/subresources/cloudflare_source/) with your desired network range. The payload must include the network (your new `/12` range), and may include a name and comment.
43+
44+
Example:
45+
46+
<APIRequest
47+
path="/accounts/{account_id}/zerotrust/subnets/cloudflare_source/{address_family}"
48+
method="PATCH"
49+
json={{
50+
"comment": "example_comment",
51+
"name": "IPv4 Cloudflare Source IPs",
52+
"network": "100.64.0.0/12"
53+
}}
54+
/>

0 commit comments

Comments
 (0)