According to their location on the security network, firewalls can be divided into three groups: software, hardware, and cloud-based.