Using warp vpn with cloudflare waf rules

What is the name of the domain?

aohomedesign.com

What is the error number?

access blocked to website

What is the error message?

you have been blocked

What is the issue you’re encountering

I am trying to automate the programming of the cloudflare waf rules to allow access from a client using the warp vpn. I have not been able to come up with a reliable command, or set of commands, that will return the ip address seen by the cloudflare waf so that the waf can be configured in advance to allow access by that warp vpn client.

What steps have you taken to resolve the issue?

The command I have been to determine the ipv4 ip that the waf sees is: “@1.1.1.1 ch txt whoami.cloudflare +short”.
The command I have been to determine the ipv6 ip that the waf sees is: “@2606:4700:4700::1111 -6 ch txt whoami.cloudflare +short”.
Are these the correct commands to use? Are there other preferred methods to use to determine the ipv4 and ipv6 ip addresses?

What are the steps to reproduce the issue?

Disable and then enable the warp vpn to reset the ip address seen by the waf.

Hi @tgraf2,

Are you trying to restrict access to the application to only WARP users? If you are trying to block access to everyone except yourself, you may want to use a Zero Trust Access application instead of WAF. Access policies.

Hi bujangnim,

Thank you for your helpful comments. Yes, I am trying to restrict access to my websites to specific users, whether using WARP or not. Using a Zero Trust Access application instead of WAF makes perfect sense, and I was quickly able to move to Zero Trust to make this happen.

tgraf2