[asterisk-users] securing sip with iptables [was: asterisk and fail2ban]
Jeremy Kister
asterisk-01 at jeremykister.com
Wed Mar 30 17:02:10 CDT 2011
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
--
Jeremy Kister
http://jeremy.kister.net./
More information about the asterisk-users
mailing list