Skip to main content

dtctl vpn endpoint-policies

Usage​

dtctl vpn endpoint-policies <routerId>

Aliases​

ep

Description​

Retrieve the VPN endpoint groups (local subnets / remote CIDRs) available for a router, by router ID.

Example​

dtctl vpn endpoint-policies <router-id>

Response​

In text output (the default), this command returns the following columns: ID, Name, Description, Type, Endpoints, Subnets.

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

CommandDescription
dtctl vpn create-endpointCreate an endpoint group
dtctl vpn update-endpointUpdate an endpoint group
dtctl vpn delete-endpointDelete an endpoint group
dtctl vpn endpoint-detailsShow an endpoint group

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