Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 22nd July 2013, 11:53
jaypabs jaypabs is offline
Join Date: Jun 2013
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post
Default How to ignore IP address using fail2ban and nginx?

I have the following jail.local file:


enabled = true
port = ftp
filter = pureftpd
logpath = /var/log/syslog
maxretry = 3


enabled = true
filter = dovecot-pop3imap
action = iptables-multiport[name=dovecot-pop3imap, port="pop3,pop3s,imap,imaps", protocol=tcp]
logpath = /var/log/mail.log
maxretry = 5

enabled = true
filter = http-get-dos
logpath = /var/log/ispconfig/httpd/*/access.log
maxretry = 250
findtime = 300
#ban for 10 hours
bantime = 36000
action = iptables-multiport[name=HTTP, port="http,https", protocol=tcp]
sendmail-whois[name=HTTP, dest=webmaster@mysite.com]
Now I want to exclude IP address like the following:

ignoreip =

But I'm wondering where to put it.

Do I need to create the following in jail.local like:

ignoreip =
Please guide me.

Reply With Quote
Sponsored Links
Old 23rd July 2013, 09:59
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,994
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

I would add this in the default sections of the jail.conf file. See also fail2ban wiki:

Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rkhunter and fail2ban logs not showing at ispconfig RioSif Installation/Configuration 10 21st February 2012 15:04
nginx Segmentation fault Error,The Perfect Server - CentOS 6 With nginx [ISPConfig 3] alihan1988 HOWTO-Related Questions 0 2nd February 2012 18:07

All times are GMT +2. The time now is 11:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.