Firewall main functions is to prevents unauthorised hacking and instrusion to our computer through the unopened computer port. Many hacker like to scan open ports and attack through it. If we have firewall, we can set all the port is not allowed only certain program port that we knows is open. This will prevents many problems.