In computing, a firewall is a network security system that monitors and controls the incoming and outgoing network traffic based on predetermined security rules. A firewall typically establishes a barrier between a trusted, secure internal network and another outside network, such as the Internet, that is assumed to not be secure or trusted. Firewalls are often categorized as either network firewalls or host-based firewalls. Network firewalls are a software appliance running on general purpose hardware or hardware-based firewall computer appliances that filter traffic between two or more networks. Host-based firewalls provide a layer of software on one host that controls network traffic in and out of that single machine.Firewall appliances may also offer other functionality to the internal network they protect such as acting as a DHCP or VPN server for that network.
Firewalls are provided by your router in a home based network. Its always a good idea to login to your router and change the default admin password for your router, and create a guest network for guests that would like to use your network.