LAMP Firewall Configuration
Posted: Wed Jun 06, 2007 10:09 am
I want to run a firewall on my LAMP server. I'm using Ubuntu 6.10 server. Previously I used firehol to achieve this but the new version of the kernel I'm using doesn't seem to be compatible. So I went to try ipkungfu instead and that didn't work saying "my kernel doesn't support LOGS". So basically I'm going to need to play around with iptables myself. I've been reading up on TCP/IP in order to learn how to do this but, well, it's really not very much fun. So
- Does anybody have a bunch of iptables commands I can use to set up a basic firewall to block all requests except certain ones (I don't need anything complex like forwarding)?
- Can anybody point me to some good iptables tutorials? I've not been able to find anything of any quality or use
- or alternatively, does anybody have any other solutions to my predicament.