[CentOS] denying access from ip address with iptables

Rodrigo Barbosa rodrigob at suespammers.org
Fri Jan 6 15:17:47 UTC 2006


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

On Fri, Jan 06, 2006 at 06:56:52AM -0600, Andrew Rice wrote:
> Can someone tell me if I edit the iptables file manually to create a rule to deny ANY access to a server
> or do I need to use the gui?

You can edit /etc/sysconfig/iptables for that, of course.

However, the correct way to do it, by RHEL standards, is to use iptables
to put the rules you want in place, and then use "service iptables save"
to commit it to /etc/sysconfig/iptables.

Best Regards,

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

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

iD8DBQFDvoobpdyWzQ5b5ckRAs7+AKC4pefI9jtHosdaxXHrLkTtMf3FFwCgstER
SJsvaS1pxP3HninlTfwscMs=
=XjRj
-----END PGP SIGNATURE-----



More information about the CentOS mailing list