asterisk and fail2ban]

Home » Asterisk Users » asterisk and fail2ban]
Asterisk Users No Comments

On 3/30/2011 4:25 PM, vip killa wrote:
> could you please elaborate on how you have iptables setup to work that way?

I have my config at:
http://jeremy.kister.net/code/iptables/

if you already have an iptables config and you just want to make it more
secure, the magic happens in the “if [ $THROTTLE ]” section.

if not, just:
# make-non-na.pl
# vi iptables
## change the MYLAN=10.0.0.0 to whatever you use
## change the RTPRANGE to whatever you have in rtp.conf
# mv iptables.init /etc/init.d/iptables
# /etc/init.d/iptables start