[GRLUG] emergency
David Pembrook
david at pembrook.net
Tue May 23 00:25:08 EDT 2006
The cheep and dirty solution if your on a redhat/fedora setup would be
to add the command to your /etc/rc.local file so its executed last on
boot. I end up using that type of fix to add network routes for vpn as
its easier than the right way which someone on here will point out given
enough time.
One problem with doing it in the rc.local is you would be vulnerable
during the bootup from the time your network card(s) are active till the
end of the boot. Small window but...
Dave
Bill Littlejohn wrote:
> Again, sorry to reply to my own post but...
>
> I solved the problem using:
> iptables-restore /etc/sysconfig/iptables
>
> I don't know if this will survive a reboot yet, but I'm not open at least.
> Could someone tell me how to make sure the rules are loaded at boot?
> Thanks
> Bill
>
>
> Bill Littlejohn wrote:
>
>> Sorry to post with this in the same day I've joined the list but....
>>
>> I had some help today to configure iptables with a new rule.
>> I was using a bastille script, so they disabled bastille from startup
>> and converted the
>> rules using Webmin "linux firewall" module and added the rule I needed.
>>
>> After a reboot just a few moments ago...
>>
>> /[root at courier2 billl]# iptables -L
>> Chain INPUT (policy ACCEPT)
>> target prot opt source destination
>>
>> Chain FORWARD (policy ACCEPT)
>> target prot opt source destination
>>
>> Chain OUTPUT (policy ACCEPT)
>> target prot opt source destination/
>>
>> I apparently have NO firewall.
>> Please help.
>> Bill
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> grlug mailing list
>> grlug at grlug.org
>> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shinobu.grlug.org/pipermail/grlug/attachments/20060523/526f6adc/attachment.htm
More information about the grlug
mailing list