Software and hardware firewalls
The difference between hardware and software firewall is this: A hardware firewall protects you from the outside world, and a software firewall protects a specific device from other internal systems. For example, if someone tries to access your systems from the outside, your physical firewall will block them.
Firewalls are configured by setting inbound and outbound rules.