- API Reference
- Box API
- VPN
Read the VPN server settings of every slot
Returns a map from slot position to its VPN settings, or data: null when no slot has a VPN configured. This response returns secrets (vpn_pass, vpn_rotation_token).
GET
/vpn_configAuthentication
Needs a trusted caller (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) or valid dashboard Basic credentials, which are checked only when dashboard authentication is enabled.
Responses
VPN settings per slot.
statusbooleanoptional
dataobject | nulloptional
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.