A software program or a hardware device used to filter the data that passes between your computer or network and the internet. Software firewalls are directly installed on your PC while hardware firewalls are connected to the entry point to your network from the internet.