[asterisk-biz] 87.230.80.186 - Trying to register

Steve Edwards asterisk.org at sedwards.com
Thu Jun 24 19:15:58 CDT 2010


On Thu, 24 Jun 2010, Calleasy BsAS wrote:

[snip]

> then, for exceute this any time that you restart the computer you must 
> to include in rc.local ( placed into /etc/rc.d folder ) THIS SENTENCE
> 
> iptables-restore < /folder-where-you-has-save/my-config
> 
> OR also may include the original command for insertion rules into 
> iptables inside rc.local file

(Assuming CentOS or similar OS...)

rc.local is the wrong place.

If iptables is installed correctly, the provided startup file is located 
at /etc/[rc.d/]init.d/iptables. It will load your iptables rules from 
/etc/sysconfig/iptables at the specified runlevels with the specified 
start and stop priorities.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-biz mailing list