From e89b2c0ff7722f5ae8b5bf4d7a749046211bb4f2 Mon Sep 17 00:00:00 2001 From: Logic-32 <25107222+Logic-32@users.noreply.github.com> Date: Sat, 7 May 2022 20:41:33 -0600 Subject: [PATCH] Moving inet6 family block to the end so other config doesn't get added to it. --- config/action.d/cloudflare-token.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/action.d/cloudflare-token.conf b/config/action.d/cloudflare-token.conf index a660c281..58084d77 100644 --- a/config/action.d/cloudflare-token.conf +++ b/config/action.d/cloudflare-token.conf @@ -79,9 +79,6 @@ _cf_api_prms = -H "Authorization: Bearer " -H "Content-Type: applicatio # cftarget = ip -[Init?family=inet6] -cftarget = ip6 - # The firewall mode Cloudflare should use. Default is "block" (deny access). # Consider also "js_challenge" or other "allowed_modes" if you want. # @@ -90,3 +87,6 @@ cfmode = block # The message to include in the firewall IP banning rule. # notes = Fail2Ban + +[Init?family=inet6] +cftarget = ip6