Wordfence 2FA multiple server setup
-
Hi there,
I have a question about the 2FA from Wordfence.
Our stack looks like this:- Cloudfront -> Loadbalancer -> 3 different servers -> connected to a database server
Those 3 server run identical WordPress installs and all connected to a database server (same database).
My understanding is that the 2FA is going to keep a file on the server that is used to match the code from the client trying to log.
Given that a user goes through the load balancer, it never knows on what server is going to land, is the 2FA still going to work?
Because when I’m going to enable 2FA is going to happen from one of those servers, if there is something stored locally is going to be only on that server. If it’s at the database level, than it’s fine because they all use/share it.
Let me know if the 2FA will work given this setup.
Update:
I’ve already applied this part: https://www.wordfence.com/help/firewall/mysqli-storage-engine/Thanks!
- You must be logged in to reply to this topic.