Simple Firewall for CentOS Linux!

For those of you who are getting DoS attacks and whatnot on your CentOS server, you might want to first make sure you have only WWW (port 80) and SSH (port 22) open.

You can do this with iptables (which is pain is the a**) or just use this:



yum install system-config-securitylevel



Then do:



/usr/bin/system-config-securitylevel-tui

And there’s a “Customize” menu where you can set WWW and SSH open.

Share

Recommended CentOS



This entry was posted in CentOS, Web Server Hacks and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Related News and Resources

    None Found