When it comes to Web hosts, though, a large number use Red Hat or CentOS with cPanel, with which is optimized for them. Some hosts give you an OS choice (1and1 being one example), while DreamHost has focused strictly on Debian.
When it comes to IPTables, is this for a server firewall? If you don't know what to do, don't do it. See if the host offers a firewall.
There is this free one (donation requested by publisher) that is often used on cPanel servers with success:
http://www.configserver.com/cp/csf.html
Install Shorewall, it is a wrapper script around IPTables and takes all the hassle away.As you've been so helpful on my quest for the perfect server, and I think I'm at a stage where I've got a reasonable grasp of what I'm doing. I'm on to my next headache. IPTables.
I've done some research on this but its just all gobbledegook, even the simple guides. I really don't know where to start with this one. I'm wanting to only allow traffic on port 80 which is the web server and obviously me connecting the SFTP along with allowing outbound mail that's being relayed onto google etc. I'm also wanting to protect against common forms of attacks, which I'm not even sure what they would be.
Install Shorewall, it is a wrapper script around IPTables and takes all the hassle away.
This I can help you with easily
I'm again going to assume your starting out with Debian Minimum Install. I'm also going to assume you're using either a dedicated or vps server, with root access.
I'm glad you found this helpfulWow, thanks for posing this guide! reading through your posts really clear up some of my own questions. This should really be stickied as a guide for server admin newbies like me.
YES, you can still use DotDeb sources if you use Lite Speed.If I was wanting to switch to open litespeed, do you still use DotDeb?
We use essential cookies to make this site work, and optional cookies to enhance your experience.