Home › Documentation › Configuration › Proxy
Proxy settings
The agent supports HTTP proxies using the CONNECT method for all of its connections.
Automatic detection
On Windows the agent uses the system proxy (WinHTTP) settings by default, including proxy auto-configuration scripts. Check what the service account sees with:
netsh winhttp show proxy
Note that this is separate from the per-user proxy settings shown in Windows Settings. A proxy configured only for users will not be seen by the agent service.
On Linux and macOS the agent does not read environment variables. Set the proxy explicitly.
Explicit configuration
cbk config set network.proxy_url http://proxy.hq.local:3128
cbk config set network.proxy_auth none
Authentication
| Method | proxy_auth | Notes |
|---|---|---|
| None | none | |
| Basic | basic | Set credentials with cbk proxy credentials. Sent in clear text to the proxy. |
| Negotiate (Kerberos) | negotiate | Windows only. Uses the computer account. |
| NTLM | Not supported | See KB-1046 |
For Negotiate, the proxy must allow the device's computer account (DOMAIN\HOSTNAME$), because the agent runs as Local System.
What the proxy must allow
CONNECT to port 443 on the hostnames under Network requirements, without TLS inspection, and without a limit on connection duration shorter than 10 minutes. Upload connections are long-lived.
Bypassing the proxy
cbk config set network.proxy_url ""
cbk config set network.proxy_auto false
Testing
cbk diagnostics network
tests each hostname through the configured proxy and reports the result. See CBK-2003 for interpreting failures.