I have tried disabling the fail2ban filter that disabled xmlrpc and adding the necassary addresses to ip_whitelist. However I still receive An error occurred. Please try again. when I try to enable Jetpack
The test requests are not made from a Jetpack IP address though. Can you see connection attempts from Jetpack in the server logs? Have you checked fail2ban for banned IP addresses?
Just a thought, and apologies if this is obvious, but fail2ban just interacts with iptables, so disabling a fail2ban filter, or even fail2ban entirely will not unblock or allow any banned addresses, as they still exist in the iptables chain.
iptables -L will give you a direct view of the system firewall.
To manage fail2ban jails (the correct approach, rather than just modifying the iptables chain), you can use:
fail2ban-client status → Show all fail2ban jails and summary fail2ban-client banned → Show all bans fail2ban-client set <JAIL NAME> unbanip <IP ADDRESS> → Unban the IP in specific jail
I think I had the same issue a while ago: Unable to insert blog. | WordPress.org
I don’t think they support custom wordpress directories like bedrock has…