Skip to content

Commit ba56dfa

Browse files
ip ranges for mt and mwan
1 parent 4d45352 commit ba56dfa

File tree

1 file changed

+33
-9
lines changed

1 file changed

+33
-9
lines changed

src/content/partials/magic-transit/static-routes.mdx

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ params:
88
- magicWANecmp?
99
- createPath
1010
- tunnelEndpoints
11-
- ipRanges?
1211
---
1312

1413
import { Aside, GlossaryTooltip, Markdown, AnchorHeading, Render, TabItem, Tabs } from "~/components";
@@ -130,17 +129,42 @@ Cloudflare has nine geographic regions across the world which are listed below.
130129

131130
Configure scoping for your traffic in the **Region code** section when adding or editing a static route. Refer to [Create a static route](#create-a-static-route) and [Edit a static route](#edit-a-static-route) more information.
132131

133-
## Allowed IP ranges
132+
{ props.magicProduct === "Magic Transit" && (
133+
<>
134+
<AnchorHeading title="Allowed IP ranges" depth={2} />
135+
<Markdown
136+
text={`
137+
Allowed IP ranges for static routes are:
134138
135-
By default, you can only add static routes with [RFC 1918](https://datatracker.ietf.org/doc/html/rfc1918) IP prefixes like:
139+
- Cloudflare leased IPs assigned to your account
140+
- BYOIP prefixes. For BYOIP, you have the option to use them as-is, or to create a summary route to cover all your onboarded prefixes.
141+
`}
142+
inline={false}
143+
/>
144+
</>
145+
)
146+
}
136147

137-
- `10.0.0.0/8`
138-
- `172.16.0.0/12`
139-
- `192.168.0.0/16`
148+
{ props.magicProduct === "Magic WAN" && (
149+
<>
150+
<AnchorHeading title="Allowed IP ranges" depth={2} />
151+
<Markdown
152+
text={`
153+
By default, you can only add static routes with RFC 1918 IP prefixes like:
154+
- \`10.0.0.0/8\`
155+
- \`172.16.0.0/12\`
156+
- \`192.168.0.0/16\`
157+
158+
When using Magic WAN and Cloudflare Tunnel together, remember to consider the IP ranges utilized in the static routes of Cloudflare Tunnel when selecting static routes for Magic WAN. For more information, refer to [Cloudflare Tunnel](/magic-wan/zero-trust/cloudflare-tunnel/).
159+
160+
For prefixes outside RFC 1918 contact your Cloudflare customer service manager.
161+
`}
162+
inline={false}
163+
/>
164+
</>
165+
)
166+
}
140167

141-
<Markdown text={props.ipRanges} />
142-
If your use case requires IP prefixes outside RFC 1918, contact your Cloudflare
143-
customer service manager.
144168

145169
## Create a static route
146170

0 commit comments

Comments
 (0)