dtctl vpn update-ipsec-policy
Usage
dtctl vpn update-ipsec-policy [flags]
Aliases
uip
Description
Update an existing IPSEC policy's parameters. When changing the lifetime value, also pass --lifetime-units.
Example
dtctl vpn update-ipsec-policy --vpn-id <vpn-id> --ipsec-policy-id <ipsec-id> --lifetime-units seconds --lifetime-value 7200
Flags
| Option | Description |
|---|---|
--auth-algorithm, -a | Authentication algorithm |
--description, -d | Description |
--encapsulation-mode, -m | Encapsulation mode |
--encryption-algorithm, -e | Encryption algorithm |
--ipsec-policy-id, -k | IPSEC policy ID (required) |
--lifetime-units, -u | Lifetime units |
--lifetime-value, -l | Lifetime value |
--name, -n | IPSEC policy name |
--pfs, -p | PFS group |
--transform-protocol, -t | Transform protocol |
--vpn-id, -i | VPN ID (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl vpn create-ipsec-policy | Create an IPSEC policy |
| dtctl vpn delete-ipsec-policy | Delete an IPSEC policy |
| dtctl vpn ipsec-policies | List IPSEC policies |
| dtctl vpn ipsec-policy-details | Show an IPSEC policy |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |