This document provides a tutorial on firewalls and VPNs. It begins by introducing firewalls and their purpose of protecting networks from security threats. It describes different types of firewalls, including packet filtering, stateful inspection, application-level, and circuit-level gateways. Firewall design principles, characteristics, configurations and examples like Windows and Cisco firewalls are also covered. The document then discusses VPNs and how they are used to securely connect remote networks. Common VPN protocols like IPsec, L2TP and PPTP are described. The tutorial concludes with references for further information.