How To Set Up a Basic Iptables Firewall on Centos 6
This article will show how to create a simple firewall on a Centos VPS. It will only open up ports that we want and close up other services. We’ll also demonstrate how to prevent simpler attacks, and how to let yourself back in to the VPS if you deny access to yourself by accident.