A firewall installed on a computer provides a critical layer of protection and has become a must-have tool for any user accessing the web. A firewall puts up a barrier against hackers and other intruders, while allowing the internet access that you do want.

However, installing a firewall is just the first step to securing your computer.

To get the most protection out of your firewall, follow these ten best practices:

1. Open only the ports that you need. Certain ports must be open for routine network traffic, but an open port can also be a potential entrance for an attacker.

2. Block rarely used ports and protocols when you are not using them, such as those for internet chats and peer-to-peer networking.

3. Disable or uninstall any programs and services you are not using. Your operating system may have unused services enabled by default, which can be a gateway for intruders.

4. Read the information provided in firewall prompts and take the time you need to make a decision.

5. Deny access to a program if you are not sure about it; you can always make configuration changes later if you need to.

6. Do not turn off firewall message alerts. If you are seeing too many alerts, fine-tune the settings in your firewall so that access for the programs, sites, and computers that you trust is automatically allowed.

7. Keep your firewall configuration as simple as possible and remove any unnecessary or redundant rules and policies.

8. Regularly monitor your firewall’s activity and event logs for any suspicious activity.

9. Periodically check with your firewall’s vendor to see if any patches or updates are available. Ideally, your firewall will have automated updating features integrated into the software.

10. Supplement your firewall with antivirus and spyware removal software.