Skip to content

Commit f2b7fbe

Browse files
created single partial for info
1 parent 5e372ee commit f2b7fbe

File tree

3 files changed

+34
-20
lines changed

3 files changed

+34
-20
lines changed

src/content/partials/networking-services/reference/traffic-steering.mdx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@ The following IPv4 address ranges are allowed in the Magic Routing table:
4747

4848
{ props.magicWord === "Magic WAN" && (
4949
<>
50-
<Markdown
51-
text={`
52-
- [RFC 1918](https://datatracker.ietf.org/doc/html/rfc1918) address space, specifically \`10.0.0.0/8\`, \`172.16.0.0/12\`, and \`192.168.0.0/16\`.
53-
54-
When using ${props.productName} and Cloudflare Tunnel together, remember to consider the IP ranges utilized in the static routes of Cloudflare Tunnel when selecting static routes for ${props.productName}. For more information, refer to <a href="${props.cfTunnelURL}">Cloudflare Tunnel</a>.
55-
56-
For prefixes outside RFC 1918 contact your Cloudflare customer service manager.
57-
`}
58-
inline={false}
59-
/>
50+
<Render
51+
file="routing/magic-wan-allowed-ip-ranges"
52+
product="networking-services"
53+
params={{
54+
productName: props.productName,
55+
cfTunnelURL: props.cfTunnelURL
56+
}}
57+
/>
6058
</>
6159
)
6260
}

src/content/partials/networking-services/routing/configure-routes.mdx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ Refer to <a href={props.trafficSteeringPage}>Traffic Steering</a> for more infor
3333
{ props.magicWord === "Magic WAN" && (
3434
<>
3535
<p>The following IPv4 address ranges are allowed in the Magic Routing table:</p>
36-
<Markdown
37-
text={`
38-
- [RFC 1918](https://datatracker.ietf.org/doc/html/rfc1918) address space, specifically \`10.0.0.0/8\`, \`172.16.0.0/12\`, and \`192.168.0.0/16\`.
39-
40-
When using ${props.productName} and Cloudflare Tunnel together, remember to consider the IP ranges utilized in the static routes of Cloudflare Tunnel when selecting static routes for ${props.productName}. For more information, refer to <a href="${props.cfTunnelURL}">Cloudflare Tunnel</a>.
41-
42-
For prefixes outside RFC 1918 contact your Cloudflare customer service manager.
43-
`}
44-
inline={false}
45-
/>
36+
<Render
37+
file="routing/magic-wan-allowed-ip-ranges"
38+
product="networking-services"
39+
params={{
40+
productName: props.productName,
41+
cfTunnelURL: props.cfTunnelURL
42+
}}
43+
/>
4644
</>
4745
)
4846
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
params:
3+
- productName
4+
- cfTunnelURL
5+
---
6+
7+
import { Markdown } from "~/components";
8+
9+
<Markdown
10+
text={`
11+
- [RFC 1918](https://datatracker.ietf.org/doc/html/rfc1918) address space, specifically \`10.0.0.0/8\`, \`172.16.0.0/12\`, and \`192.168.0.0/16\`.
12+
13+
When using ${props.productName} and Cloudflare Tunnel together, remember to consider the IP ranges utilized in the static routes of Cloudflare Tunnel when selecting static routes for ${props.productName}. For more information, refer to <a href="${props.cfTunnelURL}">Cloudflare Tunnel</a>.
14+
15+
For prefixes outside RFC 1918 contact your Cloudflare customer service manager.
16+
`}
17+
inline={false}
18+
/>

0 commit comments

Comments
 (0)