TIPS fail2ban on 15-16

kmcdaniel

Member
Joined
Jan 23, 2008
Messages
421
Reaction score
19
I had an extension that I deleted and it continued to make registration attempts and banned my ip address. Upon running cat /var/log/fail2ban.log it is showed as already banned. How do I remove the banned IP address?
 

kmcdaniel

Member
Joined
Jan 23, 2008
Messages
421
Reaction score
19
Once you unban the IP. What is the best way to whitelist the IP so it doesn't get banned again? I have tuned off fail2ban for the time being but found that after some lengthy time it restarted. I need to do this as I cant prevent the registration attempts until I get back in town. I should mention that the ipaddress fqdn has been added via /root/add-fqdn but still the IP is getting banned.
 
Last edited:

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
in jail.conf or fail2ban.conf (pretty sure it's jail) add your IP or subnet to the IGNOREIP line.
 

kenn10

Well-Known Member
Joined
Dec 16, 2007
Messages
3,776
Reaction score
2,188
in jail.conf or fail2ban.conf (pretty sure it's jail) add your IP or subnet to the IGNOREIP line.
it's in /etc/fail2ban/jail.conf about 25-30 lines down from the top. Add an ignoreip = line with the desired IP address, save and then systemctl restart fail2ban.
 

Members online

No members online now.

Forum statistics

Threads
25,804
Messages
167,728
Members
19,232
Latest member
voiplads
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top