update_ipsec_phase1
Modify an existing IPsec Phase 1 (IKE) entry by its ID, updating parameters like gateway, authentication, identifiers, and lifetime.
Instructions
Update an existing IPsec Phase 1 (IKE) entry by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Description | |
| iketype | No | IKE version (ikev1, ikev2, auto) | |
| disabled | No | Whether entry is disabled | |
| lifetime | No | SA lifetime in seconds | |
| protocol | No | Protocol (inet, inet6, both) | |
| interface | No | Interface for the tunnel (wan, lan, etc.) | |
| myid_data | No | Local identifier data | |
| myid_type | No | Local identifier type | |
| phase1_id | Yes | Phase 1 entry ID (from search_ipsec_phase1s) | |
| peerid_data | No | Peer identifier data | |
| peerid_type | No | Peer identifier type | |
| pre_shared_key | No | Pre-shared key | |
| remote_gateway | No | Remote gateway IP address or hostname | |
| apply_immediately | No | Whether to apply changes immediately | |
| authentication_method | No | Auth method (pre_shared_key, cert) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||