[CentOS] denying access from ip address with iptables

Lance Davis lance at uklinux.net
Fri Jan 6 15:23:22 UTC 2006


On Fri, 6 Jan 2006, 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?

If you know how to do it then there is no problem with editing rules 
manually.

Just make sure that the rules are saved in the relevant script and not 
just run manually, otherwise restarting iptables or rebooting the machine 
would lose the setting.

Lance 

-- 
uklinux.net - 
The ISP of choice for the discerning Linux user. 




More information about the CentOS mailing list