Skip to content

Kazimer Corp

  • Projects
  • Articles
  • Downloads
  • Contact

python

Fail2Ban CloudFlare action using Authorization Bearer Token

January 28, 2022October 6, 2021 by Kazimer Corp

This article details how to make Fail2Ban work with the CloudFlare REST API V4, using Authorization Bearer Tokens, to ban and unban IP addresses in your CloudFlare account.

Categories Linux, Security, Tutorials Tags Action, actionban, actionunban, authorization bearer token, ban, cloudflare, curl, fail2ban, jail.local, key, python, REST API, unban, V4, xargs

Recent Articles

  • My images are messed up in WordPress 5.9
  • Fix Elementor’s “Exit to Dashboard” button
  • How to use CloudFlare’s Server-Side Exclude in WordPress
  • Fail2Ban CloudFlare action using Authorization Bearer Token
  • How to honor Do-Not-Track and Global Privacy Control requests

Categories

  • Hardware
  • Joomla!
  • Linux
  • Programming
  • Security
  • Tutorials
  • Windows
  • WordPress
  • Contact Info
  • Privacy Policy
©2002 - 2022 • Kazimer Corp.