Skip to main content
ciaica
Explorer
Mar 11, 2022 5:44 PM UTC
Solved

Remove max login attempts by interface?

Hello,

 

So I have a question I cannot find if there is an answer to.

 

We have a Fortigate 201E that contains a dedicated management interface.  We do NOT have that interface connected normally to any network.  We use it as a "Something has gone wrong, and I need direct access to the firewall"...

The problem we had (literally this morning), was that we locked ourselves out, because most of our accounts are LDAP based, and suddenly the firewall couldn't connect to the internal network. We have a local admin account, but for some reason, we had 5 different passwords saved for that account.  This locked us out, and delayed us getting services back online because of this simple problem.

 

I would like to have the max login attempts either disabled, or at least changed for that single interface only.  Can this be done?

sharmaj
sharmajAnswer
Staff
Mar 12, 2022 6:33 AM UTC

Hello,

 

There are no interface-specific settings.

 

But below are the settings to  increase the lockout threshold ranging from 0-10 :

 

# config user setting
    set auth-lockout-threshold <number from 0-10>
    set auth-lockout-duration 100
end

2 replies

sharmaj
Staff
sharmajAnswer
Staff
Mar 12, 2022 6:33 AM UTC

Hello,

 

There are no interface-specific settings.

 

But below are the settings to  increase the lockout threshold ranging from 0-10 :

 

# config user setting
    set auth-lockout-threshold <number from 0-10>
    set auth-lockout-duration 100
end

ede_pfau
SuperUser
SuperUser
Mar 13, 2022 11:54 AM UTC

Yes, there is a way.

If you had tried to login on the console port you would have noticed that there is no lockout threshold. Physical security is an important part of network security, as you see.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT