-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add support for Cloudflare Access #684
Comments
Yes, I think that should work. Have a look here: https://github.com/Gamerou/cloudflare_access_ip_whitelist/blob/main/cloudflare_access_ip_whitelist_normal.sh This is how I solved it, but of course it would be much nicer if it were integrated |
@Gamerou Design question for you: if for whatever reasons you have |
If DELETE_ON_STOP=1, it makes sense to delete the list when the program exits. However, you need to ensure that this won't cause issues with rules referring to the now non-existent list. Ideally, handle this by either: Cleaning up dependent rules that reference the list before deleting it. |
If Cloudflare prevents the deletion when a rule is using the list, it's reasonable not to delete the rule and just print out the error. This approach ensures that your program won't cause unexpected behavior by deleting lists that are still in use. Given this, your current implementation in PR #797 sounds appropriate. Thank you! |
I would love the option to whitelist my ip in a policy for an App in cloudflare Access. I have made a script to do that for me but it works not so well.
The text was updated successfully, but these errors were encountered: