Skip to main content

dtctl vpn services

Usage​

dtctl vpn services

Aliases​

w

Description​

Retrieve the VPN services in the active project. A VPN service is the per-router endpoint that VPN connections attach to.

Example​

dtctl vpn services

Response​

In text output (the default), this command returns the following columns: ID, Name, Description, Subnet ID, Router ID, Flavor ID, Admin State Up, External IPv4 IP, External IPv6 IP, Status, Project ID.

Pass --output json to get the full response object instead.

CommandDescription
dtctl vpn create-serviceCreate a VPN service
dtctl vpn update-serviceUpdate a VPN service
dtctl vpn delete-serviceDelete a VPN service
dtctl vpn service-detailsShow a VPN service

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text