On 11/29/12 1:59 PM, George Niculae wrote:
>
> So right under
>
>   rules.each { |rule|
> %>-A INPUT -i $(sipx.iface) -p <%= rule[:protocol] %> <%= dports(rule) 
> %> -m state --state NEW,ESTABLISHED -m comment --comment "<%= 
> rule[:service] %>" -j <%= rule[:chain] %>
> <%
>   }
>
> put your rules
>
> George
>
Hi George,
I tried entering a rule in that location, and it did not apply after a 
reboot. However, I then tried putting the rule under this line:
<%# Simple things like outgoing DNS queries would not work w/o allowing 
response traffic back in %>
(as there were other actual iptables rules listed there) and it did 
persist after a reboot. Is that an OK location that will not get 
overwritten?

Thanks,

-- 
Alan Worstell
A1 Networks - Systems Administrator
VTSP, dCAA, LPIC-1, Linux+, CLA, DCTS
(707)570-2021 x204
For support issues please email supp...@a-1networks.com or call 707-703-1050


_______________________________________________
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to