How to: Activate Brute Force Block login attempts from same IP

{
    "brute-force-attack-preventions": [
        {
            "bruteForceProtectionForAllLoginPages": true,
            "reEnableLoginAfter": 120,
            "loginAttemptsFromTheSameIp": {
                "action": "alarm-and-blocking-page",
                "enabled": true,
                "threshold": 3
            },
            "loginAttemptsFromTheSameUser": {
                "enabled": false
            }
        }
    ]
}