Firewalls primarily have two functions:
Most firewalls also perform two other important security services: