dtctl vpn create-service
Usage
dtctl vpn create-service [flags]
Aliases
cw
Description
Create a VPN service on a router. The service is the endpoint that VPN connections attach to.
Example
dtctl vpn create-service --vpn-id 0 --name my-vpn-service --service-router-id <router-id>
Flags
| Option | Description |
|---|---|
--admin-state-up, -a | Whether the service is administratively up Default: true |
--name, -n | VPN service name (required) |
--service-router-id, -r | Router ID to create the service on (required) |
--vpn-id, -i | VPN ID (pass 0 when the connection does not yet exist) (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl vpn update-service | Update a VPN service |
| dtctl vpn delete-service | Delete a VPN service |
| dtctl vpn service-details | Show a VPN service |
| dtctl vpn services | List VPN services |
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 |