On Tue, 2003-10-21 at 12:57, Gideon N. Guillen wrote:
> On Tue, 2003-10-21 at 12:38, Dexter Ang wrote:
> 
> > You could also modify /etc/rc.d/init.d/iptables script completely, and
> > use it to either flush everything (stop), or load your iptables script
> > from somewhere (maybe as /etc/rc.d/rc.firewall) for starting. this way
> > you can still use the "stop", "start", and "restart" style of redhat.
> 
> /etc/rc.d/init.d/iptables already does the stop, start, etc. since RH
> 7.1. Youd just need to save your config to /etc/sysconfig/iptables using
> iptables-save.

Yup. I was thinking more of like the ClarkConnect style, where it takes
into consideration a dynamic IP address. It gets that value through
ifconfig-grep-sed and uses that in its script. Can you specify a dynamic
address (maybe through a variable) when you do iptables-save so that
certain IP-specific rules take into consideration changing IP addresses?

> 
> 
> 
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to