CentOS 6.4 correct iptables configuration for a webserver [duplicate]

view story

http://serverfault.com – This question already has an answer here: How do I open custom ports in my iptables firewall? 1 answer First of all, im new to this. Im trying to configure iptables on my centos 6.4 vps. I a bit confused with the commands and rules. I think i figured out how to clean my iptables. and now i want to configure iptables to work with my webserver, wich is running httpd, postfix, dove (HowTos)