How to setup and run fail2ban for your streaming server

Here is a quickstart guide in installing and running fail2ban on your rhel/centos server.

Name: failban.sh

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install fail2ban
cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
service fail2ban restart

Run this by invoking:

command-line] sh ./failban.sh

You can subsequently run:

command-line] iptables -L

This will show you all the rules currently in place.


Comments are closed.