Page cover

set-disconnect-ipsec

The vpn set-disconnect-ipsec ommand allows you to disconnect a VPN instance from its peer IPSec network. This command terminates the active IPSec tunnel without deleting its configuration, allowing it to be reconnected later using the set-connect-ipsec command.

Usage

cldkctl vpn set-disconnect-ipsec [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 set-disconnect-ipsec
  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. Confirm the process by pressing y for Confirm or n for Cancel.

  1. Once successful, the terminal displays "✓ IPSec has been successfully Disconnected".

Flags

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

Flag
Description

-h, --help

Help for set disconnect ipsec command.

Last updated