dtctl vpn list
Usage
dtctl vpn list [flags]
Aliases
l
Description
Retrieve all VPN connections in the active project, optionally filtered by status.
Example
dtctl vpn list
Response
In text output (the default), this command returns the following columns: ID, Name, Status, Peer IP, Local Endpoint ID, Local Endpoint, Remote Endpoint ID, Remote Endpoint, IKE Policy ID, IKE Policy, VPN IPsec Policy ID, VPN IPsec Policy.
Pass --output json to get the full response object instead.
Flags
| Option | Description |
|---|---|
--status, -s | Filter by status, e.g. ACTIVE, DOWN, PENDING_CREATE |
Related Commands
| Command | Description |
|---|---|
| dtctl vpn show | Show a VPN connection |
| dtctl vpn create | Create a VPN connection |
| dtctl vpn update | Update a VPN connection |
| dtctl vpn delete | Delete a VPN connection |
| dtctl vpn endpoints | Show a VPN's endpoints |
| dtctl vpn policies | Show a VPN's policies |
| dtctl vpn restart | Restart a VPN connection |
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 |