A firewall is a system that is designed to prevent unauthorized access from entering a private network by filtering the information that comes in from the internet. It blocks unwanted traffic and permits wanted traffic.