Connect OpenVPN
htb_vpn_connectStarts an OpenVPN connection using an HTB VPN profile, downloading the assigned profile first when no path is given. Runs without a password prompt via sudo -n.
Instructions
Start OpenVPN using a profile in the configured VPN directory. If config_path is omitted, the assigned profile is downloaded first. Uses sudo -n when not root; it never prompts for a password.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "htb_vpn_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| product | No | HTB VPN product. Lab machines use 'labs'. | labs |
| protocol | No | OpenVPN transport protocol. | udp |
| server_id | No | ||
| config_path | No | Profile inside the configured HTB VPN directory. |