API: ipsec
GET /api/ipsec/tunnels#
List Tunnels
Permission vpn.read (look)
Response 200 IpsecTunnelRead[]
Show 21 fields
| Field | Type | Notes |
|---|---|---|
created_at * | string (date-time) | |
deployments * | IpsecDeploymentResult[] | |
description * | string | minLength 1, maxLength 255 |
effective_host_ids | string (uuid)[] | |
enabled | boolean | default: true |
esp_proposal | string | default: "default" · minLength 1, maxLength 128 |
id * | string (uuid) | |
ike_version | "ike" | "ikev1" | "ikev2" | default: "ikev2" |
local_address * | string | minLength 1, maxLength 255 |
local_identity * | string | minLength 1, maxLength 255 |
local_networks * | string | minLength 1, maxLength 255 |
pre_shared_key_set * | boolean | |
proposal | string | default: "default" · minLength 1, maxLength 128 |
remote_address * | string | minLength 1, maxLength 255 |
remote_identity | string | default: "" · maxLength 255 |
remote_networks * | string | minLength 1, maxLength 255 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/ipsec/tunnels#
Create Tunnel
Permission vpn.write (prepare)
Request body IpsecTunnelCreate
Show 14 fields
| Field | Type | Notes |
|---|---|---|
description * | string | minLength 1, maxLength 255 |
enabled | boolean | default: true |
esp_proposal | string | default: "default" · minLength 1, maxLength 128 |
ike_version | "ike" | "ikev1" | "ikev2" | default: "ikev2" |
local_address * | string | minLength 1, maxLength 255 |
local_identity * | string | minLength 1, maxLength 255 |
local_networks * | string | minLength 1, maxLength 255 |
pre_shared_key * | string | minLength 1, maxLength 512 |
proposal | string | default: "default" · minLength 1, maxLength 128 |
remote_address * | string | minLength 1, maxLength 255 |
remote_identity | string | default: "" · maxLength 255 |
remote_networks * | string | minLength 1, maxLength 255 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] |
Response 201 IpsecTunnelRead
Show 21 fields
| Field | Type | Notes |
|---|---|---|
created_at * | string (date-time) | |
deployments * | IpsecDeploymentResult[] | |
description * | string | minLength 1, maxLength 255 |
effective_host_ids | string (uuid)[] | |
enabled | boolean | default: true |
esp_proposal | string | default: "default" · minLength 1, maxLength 128 |
id * | string (uuid) | |
ike_version | "ike" | "ikev1" | "ikev2" | default: "ikev2" |
local_address * | string | minLength 1, maxLength 255 |
local_identity * | string | minLength 1, maxLength 255 |
local_networks * | string | minLength 1, maxLength 255 |
pre_shared_key_set * | boolean | |
proposal | string | default: "default" · minLength 1, maxLength 128 |
remote_address * | string | minLength 1, maxLength 255 |
remote_identity | string | default: "" · maxLength 255 |
remote_networks * | string | minLength 1, maxLength 255 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
PUT /api/ipsec/tunnels/{tunnel_id}#
Edit Tunnel
Permission vpn.write (prepare)
Parameters
tunnel_id * | path | string (uuid) |
Request body IpsecTunnelEdit
Show 15 fields
| Field | Type | Notes |
|---|---|---|
description * | string | minLength 1, maxLength 255 |
enabled | boolean | default: true |
esp_proposal | string | default: "default" · minLength 1, maxLength 128 |
expected_updated_at * | string (date-time) | |
ike_version | "ike" | "ikev1" | "ikev2" | default: "ikev2" |
local_address * | string | minLength 1, maxLength 255 |
local_identity * | string | minLength 1, maxLength 255 |
local_networks * | string | minLength 1, maxLength 255 |
pre_shared_key | string | null | |
proposal | string | default: "default" · minLength 1, maxLength 128 |
remote_address * | string | minLength 1, maxLength 255 |
remote_identity | string | default: "" · maxLength 255 |
remote_networks * | string | minLength 1, maxLength 255 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] |
Response 200 IpsecTunnelRead
Show 21 fields
| Field | Type | Notes |
|---|---|---|
created_at * | string (date-time) | |
deployments * | IpsecDeploymentResult[] | |
description * | string | minLength 1, maxLength 255 |
effective_host_ids | string (uuid)[] | |
enabled | boolean | default: true |
esp_proposal | string | default: "default" · minLength 1, maxLength 128 |
id * | string (uuid) | |
ike_version | "ike" | "ikev1" | "ikev2" | default: "ikev2" |
local_address * | string | minLength 1, maxLength 255 |
local_identity * | string | minLength 1, maxLength 255 |
local_networks * | string | minLength 1, maxLength 255 |
pre_shared_key_set * | boolean | |
proposal | string | default: "default" · minLength 1, maxLength 128 |
remote_address * | string | minLength 1, maxLength 255 |
remote_identity | string | default: "" · maxLength 255 |
remote_networks * | string | minLength 1, maxLength 255 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
DELETE /api/ipsec/tunnels/{tunnel_id}#
Delete Tunnel
Permission vpn.deploy (roll out)
Parameters
tunnel_id * | path | string (uuid) | |
acknowledge_management_risk | query | boolean |
Response 204
POST /api/ipsec/tunnels/{tunnel_id}/deploy#
Deploy
Permission vpn.deploy (roll out)
Parameters
tunnel_id * | path | string (uuid) |
Request body IpsecDeployApproval
Show 2 fields
| Field | Type | Notes |
|---|---|---|
acknowledge_management_risk | boolean | default: false |
preview_token * | string | minLength 64, maxLength 64 |
Response 200 IpsecTunnelRead
Show 21 fields
| Field | Type | Notes |
|---|---|---|
created_at * | string (date-time) | |
deployments * | IpsecDeploymentResult[] | |
description * | string | minLength 1, maxLength 255 |
effective_host_ids | string (uuid)[] | |
enabled | boolean | default: true |
esp_proposal | string | default: "default" · minLength 1, maxLength 128 |
id * | string (uuid) | |
ike_version | "ike" | "ikev1" | "ikev2" | default: "ikev2" |
local_address * | string | minLength 1, maxLength 255 |
local_identity * | string | minLength 1, maxLength 255 |
local_networks * | string | minLength 1, maxLength 255 |
pre_shared_key_set * | boolean | |
proposal | string | default: "default" · minLength 1, maxLength 128 |
remote_address * | string | minLength 1, maxLength 255 |
remote_identity | string | default: "" · maxLength 255 |
remote_networks * | string | minLength 1, maxLength 255 |
target_group_ids | string (uuid)[] | |
target_host_ids | string (uuid)[] | |
updated_at * | string (date-time) | |
workflow_counts * | map<string, integer> | |
workflow_state * | "attention" | "cleanup" | "unassigned" | "disabled" | "draft" | "synced" |
POST /api/ipsec/tunnels/{tunnel_id}/deployments/{host_id}/remove#
Remove Previous Target
Permission vpn.deploy (roll out)
Parameters
tunnel_id * | path | string (uuid) | |
host_id * | path | string (uuid) |
Request body IpsecDeployApproval
Show 2 fields
| Field | Type | Notes |
|---|---|---|
acknowledge_management_risk | boolean | default: false |
preview_token * | string | minLength 64, maxLength 64 |
Response 204
GET /api/ipsec/tunnels/{tunnel_id}/management-check#
Management Check
Read-only hint next to the preview (R12): does a management source reach this firewall THROUGH this VPN? There is no way back for a VPN change, so a doubtful answer counts like a sure one. Reads the firewalls, writes nothing.
Permission vpn.read (look)
Parameters
tunnel_id * | path | string (uuid) | |
action | query | "deploy" | "remove" | "delete" | |
host_id | query | string (uuid) | null |
Response 200
GET /api/ipsec/tunnels/{tunnel_id}/preview#
Preview Tunnel
Permission vpn.read (look)
Parameters
tunnel_id * | path | string (uuid) |
Response 200
GET /api/ipsec/tunnels/{tunnel_id}/revisions#
List Revisions
Permission vpn.read (look)
Parameters
tunnel_id * | path | string (uuid) |