fail2ban default config

Sadie

Joined
Mar 16, 2010
Messages
24
Likes
0
Points
0
#1
Hello guys,

Im really novice to fail2ban. I came across this config file please help what needs to edit in the default values. Or can I just leave it be and fail2ban will also function?

# /etc/fail2ban/jail.conf

[DEFAULT]
ignoreip = 127.0.0.1 192.168.0.0/16 10.0.0.0/8 172.16.0.0/16

[asterisk-iptables]
enabled = true
filter = asterisk
action = iptables-allports[name=ASTERISK, protocol=all]
sendmail-whois[name=ASTERISK, [email=dest=you@company.com]dest=you@company.com[/email], sender=fail2ban@company.com]
logpath = /var/log/asterisk/fail2ban
maxretry = 5
bantime = 600


Thanks,

Sadie
 

Sadie

Joined
Mar 16, 2010
Messages
24
Likes
0
Points
0
#2

Sadie

Joined
Mar 16, 2010
Messages
24
Likes
0
Points
0
#3
Also when I executed: iptables -L -v
i only see this

Chain INPUT (policy ACCEPT 21274 packets, 942K bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 22376 packets, 1012K bytes)
pkts bytes target prot opt in out source destination

I followed the instruction by the letter. :( please help me.

Thanks,

Sadie
 

Amphibian

Joined
Sep 8, 2009
Messages
1,128
Likes
2
Points
38
#4
Sadie,

Not sure what Ver of Elastix you are using, but this may help in your endevur to get it workin:

http://www.sunshinenetworks.com.au/how- ... ix-16.html

look this over and research any additional info at the same site. There are some post on here under the security portion of the forum they should assist you also.

Amphibian
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top