setting up my own ruleset under red hat 8.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  ok, time for another almost certainly trivial question.
what's the proper procedure for establishing my own iptables
ruleset for red hat 8.0?

  first, i noticed that the startup script /etc/init.d/iptables
will, at boot time, look for the iptables config file
/etc/sysconfig/iptables and will run "iptables-restore" based on the 
contents of that file as it was saved during installation.

  once i define my own ruleset, i'm assuming that, first, i
want to delete /etc/sysconfig/iptables to remove any trace of
the former ruleset so that it does not get pulled in at
boot time.

  and second, what's the preferred place to add my own ruleset?
i can certainly add a script call to /etc/rc.local, for instance.
is there a better place?

rday




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux