0

I have been hosting a couple of websites on my dedicated machine. The OS is CentOS 5.6. Until now, I have been turning iptables off since it jsut blocked all web traffic. However, I see that this is not good and that I should enable the firewall. Unforunately, I have no idea how to do that, so I am asking here what good rules for my server should be. I have of course a lot of traffic going in and out.

A few things I run on the server - DirectAdmin - Apache - php - mysql - ftp - dns - other directadmin tools (like mail, etc).

It is pretty much a preinstalled version of DirectAdmin 1.39.1.

Please help me out.

Marek Skiba
  • 2,124
  • 1
  • 28
  • 31
Thomas
  • 33
  • 3
  • You've got to be careful with this on a remote server, since it's possible to cut off access to it if you get your iptables rules wrong. It's worth reading this howto before you start: [CentOS iptables HowTo](http://wiki.centos.org/HowTos/Network/IPTables) – ed. Sep 11 '11 at 20:47

1 Answers1

0

Check out ConfigServer Security & Firewall, it's a great and very complete firewall which works pretty well with Directadmin

El Barto
  • 919
  • 1
  • 5
  • 18