[CentOS] denying access from ip address with iptables

Bryan J. Smith thebs413 at earthlink.net
Fri Jan 6 17:28:25 UTC 2006


Andrew Rice <andrew at nams.net> 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 do it a number of ways.

You can run the iptables command directly and the command
line, then run "service iptables save" and it will integrate
it into the "/etc/sysconfig/iptables" ruleset.

-- 
Bryan J. Smith     Professional, Technical Annoyance                      b.j.smith at ieee.org      http://thebs413.blogspot.com
----------------------------------------------------
*** Speed doesn't kill, difference in speed does ***



More information about the CentOS mailing list