Page cover

enable-ipsec-phase

The vpn enable-ipsec-phase command allows you to enable the IPSec Phase 2 configuration of a VPN instance. This command is typically used after the IPSec Phase 2 has been disabled and you want to reactivate the connection

Usage

cldkctl vpn enable-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 enable-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.

  3. Enter the IPSec Phase 2 description in the Description IPSec Phase 2 field. Refer to vpn list-ipsec-phase2 to ensure the description matches the existing IPSec Phase 2 configuration.

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

  1. Once successful, the terminal displays "✓ IPSec Phase 2 has been successfully Enable".

Flags

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

Flag
Description

-h, --help

Help for enable ipsec phase command.

Last updated