Firewall & WAF Allowlisting
Allowlist Duku egress IPs in your firewall, WAF, or bot-management platform.
If your site is protected by a firewall, WAF, or bot-management platform that blocks or challenges traffic by IP, you may need to allowlist Duku's egress IPs.
This lets Duku agents reach your application reliably.
Egress IP feed
Duku publishes its current egress IPs at two stable URLs:
https://ips.duku.ai/egress.json
JSON, AWS-style envelope
Programmatic consumption and change detection
https://ips.duku.ai/egress.txt
Plain text, one IP per line, sorted
Firewall UIs and simple shell pipelines
The feed is served over HTTPS from CloudFront with a 5-minute edge cache.
JSON format
{
"syncToken": "9f2e3a…",
"version": "1",
"prefixes": [
{
"ip_prefix": "1.2.3.4/32",
"region": "eu-west-1",
"environment": "prod",
"service": "chrome-worker",
"purpose": "egress"
}
]
}syncToken
Stable hash of the current prefix set. It changes only when the IPs change.
version
Schema version. This changes only for breaking JSON layout changes.
prefixes[].ip_prefix
IPv4 CIDR. Today all entries are /32.
prefixes[].region
AWS region the traffic egresses from, such as eu-west-1.
prefixes[].environment
prod or staging. Most customers only need prod.
prefixes[].service
The Duku service the IP belongs to. Today this is chrome-worker.
prefixes[].purpose
egress - outbound traffic from Duku agents.
Quick allowlist
Fetch the plain text feed:
The output is one IP per line. It is sorted and ready to paste into most firewall UIs.
Filter to a single environment
egress.txt contains every environment and is the recommended list for most customers.
Cloudflare
Recommended: Skip rule on user agent
Duku agents send a User-Agent header that contains Duku/1.0.
The simplest setup is a Skip rule on User Agent. This avoids maintaining an IP list and survives IP changes automatically.
IP allowlist with a Custom List
If your block is IP-based, create a Cloudflare Custom List of type IP.
Open Manage Account → Configurations → Lists.
Click Create new list.
Choose IP.
Populate the list from
https://ips.duku.ai/egress.txt.
Reference the list in your IP Access Rule or WAF Custom Rule:
To keep the list current, schedule a small Cloudflare Worker or CI job that fetches the feed and updates the Rules Lists API.
Run this daily. The feed changes rarely.
AWS WAF
Use a managed IP set:
Then reference the IP set in a WAF rule with the Allow action.
Other platforms
The feed works with any platform that can ingest an IP list over HTTPS.
Common patterns:
nginx- write the IPs into anallowblock and reload.iptablesornftables- fetch the list and update your rules.DataDome, Akamai, and Imperva - paste the list into the platform allowlist UI.
Example:
Stability and change detection
The IP set is stable. It changes only when Duku's underlying networking changes.
In practice, changes are rare.
Use syncToken for cheap change detection. It changes if and only if the IP set changes.
Duku sends advance notice by email before planned changes.
The feed is highly available, served from CloudFront, and the URLs stay stable.
Need help?
If allowlisting does not resolve the block, contact your Duku account team.
We can usually identify whether the block is IP-based, user-agent-based, or behavioural, and recommend the right configuration.
Last updated

