Way to detect ipv4 or ipv6 in cloudflare firewall rules

Hello!

Is there any way to detect if client connects via ipv4 or ipv6 in firewall rules? I’d use regular expression, but seems like it’s not available for ips.

Thanks in advance!

Update:
Done that using

ip.src in { 0.0.0.0/0 }

^ ipv4

not (ip.src in { 0.0.0.0/0 })

^ ipv6

3 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.