[wellylug] Redhat ES3

Pete Black pete at marchingcubes.com
Thu Jan 20 09:11:19 NZDT 2005


Most likely, the script is /etc/sysconfig/iptables - although some 
config directives are in /etc/sysconfig/iptables-config

the /etc/rc.d/init.d/iptables script sticks those two files together in 
some less-than-intuitive way when invoked.

Generally, the 'redhat way' - as far as I understand it is to set up 
iptables using whatever rules-generator you want, then issue the comand 
'service iptables save' which writes the current iptables ruleset to 
/etc/sysconfig/iptables, which is subsequently loaded on boot.

If you haven't set up any firewalling, the /etc/sysconfig/iptables file 
won't exist, so run '/sbin/service iptables save' to create it.

I don't think there is a built in graphical or console 'iptables wizard' 
included in RH ES or Fedora, but I could just be too used to hacking 
iptables scripts by hand to have ever needed to look for it.


Hope that helps

-Pete

>Hi,
>
>Has anyone got any idea how to change the on-boot (i.e default) settings
>for iptables on a RH ES3 box doing it the "redhat way"
>
>cheers
>
>jamie
>
>
>
>  
>




More information about the wellylug mailing list