Skip to content

Commit ecc25e8

Browse files
[Magic] Consolidates tunnel encapsulation partial files (#21123)
* changed name to tunnels-encapsulation * added content * added magicword var * deleted old partial * updated mt page * refined mwan page * corrected partial name * corrected link
1 parent d804b62 commit ecc25e8

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

src/content/docs/magic-transit/reference/tunnels.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ description: Magic Transit uses Generic Routing Encapsulation (GRE) and IPsec
1010
import { Render } from "~/components";
1111

1212
<Render
13-
file="tunnels-reference/tunnels-encapsulation-opening"
13+
file="tunnels-reference/tunnels-encapsulation"
1414
params={{
1515
productName: "Magic Transit",
1616
mssURL: "/magic-transit/get-started/#set-maximum-segment-size",
1717
productURL: "/magic-transit/reference/anti-replay-protection/",
1818
tunnelEndpoints: "/magic-transit/how-to/configure-tunnels/",
19+
magicWord: "Magic Transit"
1920
}}
2021
/>
21-
22-
<Render file="tunnels-reference/tunnels-encapsulation-mt-network-analytics" />

src/content/docs/magic-wan/reference/tunnels.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ description: Magic WAN uses Generic Routing Encapsulation (GRE) and IPsec
1010
import { Render } from "~/components";
1111

1212
<Render
13-
file="tunnels-reference/tunnels-encapsulation-opening"
13+
file="tunnels-reference/tunnels-encapsulation"
1414
product="magic-transit"
1515
params={{
1616
productName: "Magic WAN",
1717
mssURL: "/magic-wan/get-started/#set-maximum-segment-size",
1818
productURL: "/magic-wan/reference/anti-replay-protection/",
19-
tunnelEndpoints:
20-
"/magic-wan/configuration/manually/how-to/configure-tunnels/",
19+
tunnelEndpoints: "/magic-wan/configuration/manually/how-to/configure-tunnels/"
2120
}}
2221
/>

src/content/partials/magic-transit/tunnels-reference/tunnels-encapsulation-mt-network-analytics.mdx

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
params:
3+
- magicWord?
34
- productName
45
- mssURL
56
- productURL
67
- tunnelEndpoints
78
---
89

9-
import { GlossaryTooltip, Markdown, Details } from "~/components";
10+
import { AnchorHeading, GlossaryTooltip, Markdown, Details } from "~/components";
1011

1112
## Tunnels and encapsulation
1213

@@ -215,3 +216,12 @@ Additionally, the IKE ID type of `ID_IPV4_ADDR` is supported if the following tw
215216
:::caution
216217
Make sure each IPsec tunnel has a unique combination of a <a href={props.tunnelEndpoints}>Cloudflare endpoint and customer endpoint</a>. If this combination is not unique among your IPsec tunnels, you should use one of the custom IKE formats (`ID_RFC822_ADDR`, `ID_FQDN`, or `ID_KEY_ID`) to specify the tunnel ID and account ID. This helps Cloudflare link the IKE packet to the right IPsec tunnel for tasks like authentication.
217218
:::
219+
220+
{ props.magicWord === "Magic Transit" && (
221+
<>
222+
<AnchorHeading title="Network Analytics" depth={2} />
223+
<p>Cloudflare's Network Analytics provides near real-time visibility into network and transport layer traffic patterns and DDoS attacks which can help troubleshoot IP traffic issues. You can also use Network Analytics to view information about the traffic that leaves Cloudflare's global network by reviewing ingress and egress tunnel traffic over a specific amount of time.</p>
224+
<p>For more information, refer to <a href="/magic-transit/analytics/">Analytics</a>.</p>
225+
</>
226+
)
227+
}

0 commit comments

Comments
 (0)