Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script

...

Code Block
[Definition]
failregex = ^L.+ Pike block from <HOST>:.*
ignoreregex =

Edit /etc/fail2ban/jail.conf and add:

...

Code Block
[kamailio]
enabled  = true
filter   = kamailio
action  = iptables-allports[name=kamailio, protocol=all]
logpath  = /var/log/kamailio/abuse.log
maxretry = 5
bantime  = 3600
ignoreip = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
protocol = all

 You can check the rules using the following command: 

...

To prevent any possible VoipNow software package conflicts, you need to disable the EPEL repository by running the following command: 

Panelcode
yum-config-manager --disable repository epel

Troubleshooting

Time problems

...

Content by Label
labels
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@5d4a10c1
sortmodified
showSpacefalse
reversetrue
typepage
fail2ban firewalld voipnow centos7 rhel7 epel
cqllabel in ("fail2ban","firewalld","centos7","epel","rhel7","voipnowepel") and type = "page" and space = "4PSAKB"

...

hiddentrue

...

currentSpace()


Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.