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:

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:
# vi iptables
## change the MYLAN= 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