Re: Where to add own rules in /etc/sysconfig/iptables

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30 Oct 2002 10:19:58 -0600, Alejandro González Hernández - Imoq
wrote:

> I have the /etc/sysconfig/iptables file created by "lokkit", but I
> read a warning in the beginning of the file:
> 
> 
> [root@imoqland root]# cat /etc/sysconfig/iptables
> # Firewall configuration written by lokkit
> # Manual customization of this file is not recommended.
> 
> I want to add new rules that can't (as far as I know) be defined by
> lokkit, but I wonder where should I add those rules. At the end of the
> file? At the beginning?
> 
> Any advise will be appreciated.
 
Don't add them to the file, but load them manually with iptables or
with a script. Then save all your rules with "service iptables
save". That will put them into /etc/sysconfig/iptables.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9wAyP0iMVcrivHFQRAqOhAJ9KGuM8UpLyqc4ikriFaOiDaCI4RACdHdbS
fdrYhx/3yaa1GnvAUxxUhpM=
=SbT9
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux