[Kea-users] option/way to use/send http proxies?

Carsten Strotmann carsten at strotmann.de
Wed Dec 31 10:22:21 UTC 2025


Hi,

On 31 Dec 2025, at 10:39, lejeczek via Kea-users wrote:

> Hi guys.
>
> Back in days & still, I think, (in days of "wpad" I remember) with *dhcpd* it was possible to send http proxies configs to clients - it this something KEA can do?
>

sure. WPAD proxy configuration is an DHCP option, so it is independent of the DHCP server product. Every DHCP server should be able to send this option, including Kea-DHCP.

See
https://en.wikipedia.org/wiki/Web_Proxy_Auto-Discovery_Protocol

As the WPAD DHCP option is not an IETF internet standard (draft expired in 1999 without ever being picked up -> https://datatracker.ietf.org/doc/html/draft-ietf-wrec-wpad-01), but a "private" DHCP option (option 252 "auto-proxy-config"), you will need to define that option in the Kea-DHCP configuration before using it.

"Dhcp4": {
    "option-def": [
        {
            "name": "auto-proxy-config",
            "code": 252,
            "type": "string",
            "array": false,
            "record-types": "",
            "space": "dhcp4",
            "encapsulate": ""
        },
        ...
    ],
    "option-data": [
        {
            "name": "auto-proxy-config",
            "data": "http://server.domain/proxyconfig.pac"
        }
    ],
    ...
}

Greetings

Carsten


More information about the Kea-users mailing list