- API Reference
- Box API
- Network
Read the WAN (PPPoE) setup and its connection log
Returns whether the box's own WAN service is on, the interface and method, the saved PPPoE settings (config), the box's interfaces and, for PPPoE, the tail of the connection log. This response can return secrets: config.password is the PPPoE password.
/get_wan_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
WAN settings.
e.g. pppoe.
PPPoE settings (username, password, vlan, mtu, mac); empty for other methods.
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.
Unhandled error, for example a non-integer position or a missing required parameter.
Error name, e.g. internal_server_error or bad_request.