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       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-biz

Reply via email to