Page cover

create-ipsec-phase

The vpn create-ipsec-phase command allows you to create a new IPSec Phase 2 configuration for an existing VPN IPSec connection. This command defines the subnet network peer and additional parameters for the Phase 2 setup.

Usage

cldkctl vpn create-ipsec-phase [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Run the following command in your terminal:

cldkctl vpn create-ipsec-phase
  1. Enter your VPN instance name in the VPN Name field. You can refer to vpn list to obtain or verify your VPN instance name.

  2. Enter the public IP address of your VPN in the IP Public field. The public IP can be obtained by referring to vpn list.

  3. Enter the subnet address for the IPSec Phase 2 configuration in the IP Subnet field.

  4. Enter the IPSec description in the Description IPSec field. The description must match the one used in the existing IPSec configuration. Refer to vpn list-ipsec to verify this information.

  5. Enter a custom description in the Description Phase 2 field. This field can be filled freely by the user to label or identify the created Phase 2 configuration.

  6. Confirm the process by pressing y for Confirm or n for Cancel.

  1. Once successful, the terminal displays "✓ IPSec Phase 2 successfully created".

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-h, --help

Help for create ipsec phase command.

Last updated