Page cover

list-ipsec-phase2

The vpn list-ipsec-phase2 command retrieves a list of IPSec Phase 2 configurations in your VPN. This command displays essential details such as Mode, Protocol, Status, Pfs Group, Lifetime, Local IP Subnet, Remote IP Subnet, and Description.

Usage

cldkctl vpn list-ipsec-phase2 [flags]

Steps

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

  1. Run the following command in your terminal:

// Some code
  1. Enter the VPN name in the VPN Name field. To obtain or verify it, refer to vpn list.

  2. Enter the public IP address in the IP Public field.

  3. Press y for Confirm or n for Cancel.

  1. Once successful, the terminal displays the IPSec Phase 2 configuration list containing information such as Mode, Protocol, Status, Pfs Group, Lifetime, Local IP Subnet, Remote IP Subnet, and Description.

Column
Description

Mode

The mode used for IPSec communication.

Protocol

Specifies the protocol used in the IPSec connection.

Status

Indicates whether the IPSec Phase 2 is enabled or disabled.

Pfs Group

Specifies the Perfect Forward Secrecy (PFS) group value.

Lifetime

Defines the key lifetime duration in seconds.

Local IP Subnet

Displays the local network range used for IPSec Phase 2.

Remote IP Subnet

Displays the remote network range connected through IPSec Phase 2.

Description

Provides an identifier or remark for the IPSec Phase 2 configuration.

Flags

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

Flag
Description

-h, --help

Help for list ipsec phase 2 command.

Last updated