WAF Configuration
If you’re using a Web Application Firewall (WAF) to protect your site, you may need to explicitly allow Perplexity’s bots to ensure they can access your content. Below are configuration guidelines for popular WAF providers.Cloudflare WAF
To configure Cloudflare WAF to allow Perplexity bots:Navigate to security rules
Create a new rule
Configure rule conditions
{192.0.2.0/24 198.51.100.7/32}. When the published ranges change, update them in this rule.On paid plans, you can instead store each bot’s ranges in an IP list and reference it, for example ip.src in $perplexitybot. You then update the lists rather than the rule. Free plans allow only one custom list, which isn’t enough for both bots.Set rule action
Order the rule
AWS WAF
For AWS WAF configuration, create IP sets and rules that match them together with the User-Agent header:Create IP sets
Create allow rules
- An IP set match statement that uses the bot’s IP set
- A string match statement on the
User-Agentheader that containsPerplexityBotorPerplexity-User
Add the rules to your web ACL
IP Address Sources
- PerplexityBot IP addresses: https://www.perplexity.ai/perplexitybot.json
- Perplexity-User IP addresses: https://www.perplexity.ai/perplexity-user.json