Skip to main content

dtctl vpn restart

Usage​

dtctl vpn restart <id>

Aliases​

r

Description​

Restart a VPN connection by ID to re-establish the tunnel.

Example​

dtctl vpn restart <vpn-id>
CommandDescription
dtctl vpn listList VPN connections
dtctl vpn showShow a VPN connection
dtctl vpn createCreate a VPN connection
dtctl vpn updateUpdate a VPN connection
dtctl vpn deleteDelete a VPN connection
dtctl vpn endpointsShow a VPN's endpoints
dtctl vpn policiesShow a VPN's policies

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