Question

Network layer firewall works as: