A firewall is a network security device that controls inbound and outbound traffic, blocking unauthorized access while allowing legitimate communication to pass through. It serves as the primary barrier between a private network and external threats.
Firewalls Overview
A firewall is critical to today's networks. Without a proper firewall, you're going to get hacked and you're going to have people trying to get into your network. It's just the way things are nowadays, so it's critical that we have a firewall on our network. But what is a firewall?
When we set up our network, by default, if we don't take any security measures, things are open. There's communication that happens across this network, and if we were to connect up into the internet and the cloud, that means that things would just have access to all of our network, and that's not what we want. We don't want to give everyone access to our network.
A firewall is a piece of equipment that allows us to block and allow certain traffic. So what we do is we set up a firewall, and it's going to block certain traffic from being able to get inside our network. It'll allow traffic from inside our network to get out and return traffic to come back to us, but it will do some inspection to make sure that the traffic coming back to us is the traffic that we requested. So that's what a firewall does: it protects our network from just anybody being able to access it.
The first one here is a wireless home router, and I'm going to set that aside. Then I have a router right here, and it's not really a firewall, but we're going to talk about that in a second. And then we have right here an actual firewall. This firewall has several ports on it, so we can divide this out into many different networks. It essentially performs all the functions of what a router performs, but then it also does the firewall aspect, where it guards our network and blocks off our network from outside intrusion.
The reason why I brought the router in here as well is because we can set up a router to do a lot of the functionality that the firewall does. We can use a router and lock it down and use things like access control lists in order to create a makeshift firewall for our network. But the advantage of an actual firewall is that it does a lot more deep packet inspection, and it's a next-generation firewall. We're not going to get into all the details of what all that means, but it goes the extra mile, the extra effort, in making sure that our network is safe and protected. So that is what the difference is between this firewall, which does routing, and this router, which can do some of the firewall functions.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →