Skip to content

Commit 181015e

Browse files
refined command
1 parent 405b963 commit 181015e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/content/docs/magic-wan/configuration/common-settings/custom-ike-id-ipsec.mdx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sidebar:
55
order: 6
66
---
77

8+
import { CURL } from "~/components";
9+
810
Magic WAN customers can configure a custom IKE ID for their IPsec tunnels. Customers that are using Magic WAN and a VeloCloud SD-WAN device together should utilize this option to create a high availability configuration.
911

1012
:::note
@@ -15,8 +17,11 @@ VeloCloud has a high availability mechanism that allows customers to specify one
1517

1618
Magic WAN customers can set a custom IKE ID for an IPsec tunnel using the following API call. Customers will need to fill in the appropriate values for `<account_id>`, `<tunnel_id>`, and the FQDN wildcard before running the API call.
1719

18-
```txt
19-
% cloudflared access curl
20-
https://conduit-api.cfdata.org/accounts/<account_id>/ipsec_tunnels/<tunnel_id>
21-
-XPUT -d '{"custom_remote_identities": {"fqdn_id": "*.<account_id>.custom.ipsec.cloudflare.com"}}'
22-
```
20+
<CURL
21+
url="https://api.cloudflare.com/client/v4/accounts/<account_id>/ipsec_tunnels/<tunnel_id>"
22+
method="PATCH"
23+
json={{
24+
"custom_remote_identities":
25+
{"fqdn_id": "<your_custom_label>.<account_id>.custom.ipsec.cloudflare.com"}
26+
}}
27+
/>

0 commit comments

Comments
 (0)