IP Addresses, Ports & Protocols
Every device on a network has an IP address — like a home address for your computer. Public IPs are visible on the internet; Private IPs (like 192.168.x.x) are used inside your home network.
Ports are like doors on a building — specific services use specific ports (HTTP uses port 80, HTTPS uses 443, SSH uses 22).
Protocols are the agreed-upon rules for communication (TCP/IP, HTTP, DNS, etc.).
What is a Firewall?
A firewall monitors incoming and outgoing network traffic and decides what to allow or block based on predefined rules. Think of it as a security guard at the door of a building — checking every visitor against an approved list.
What is a VPN?
A Virtual Private Network (VPN) creates an encrypted tunnel between your device and a VPN server. This hides your real IP address and encrypts your traffic, protecting you on public Wi-Fi and adding privacy from your ISP.
HTTP vs HTTPS
HTTP (HyperText Transfer Protocol) sends data in plain text — anyone on the network can read it.
HTTPS adds TLS/SSL encryption. The padlock in your browser means your connection is encrypted and the site's identity is verified.
Network Flow Diagram
Here's how your data travels from your device to the internet:
Your Device
Router
Firewall
Internet
Data moves in packets across networks using addresses (IP) and rules (protocols). HTTPS encrypts that trip so eavesdroppers can't read it — which is why 'is there a padlock?' is a habit worth keeping.