Picture the Monday morning of a district office of a state-owned bank. Customers are checking balances on the bank's website. Two officers are connected to head office, one from the branch and one from a café with free Wi-Fi, because a flood has cut the road. The branch's mail server is collecting messages from all over the world. And somewhere on the Internet, a stranger is already trying doors: port after port, password after password, looking for the one that opens.
Nobody at the bank would say the network is "secure" because of one clever box. They would say it is secure because of many small decisions, each stopping a different kind of trouble. A rule at the Internet door. A separate room for the servers the public may visit. A scrambled tunnel for the officer in the café. A password that cannot be guessed at home with a laptop. This chapter walks through those decisions one by one, and shows what each one defends against.
By the end you'll be able to name what a network must protect and which attack hits which goal. You'll explain how a firewall decides, in its several flavours, and trace a packet through a rule list and through a connection table. You'll place the servers of a bank branch into a DMZ and write the rules for it. You'll tell an IDS from an IPS. You'll explain, with real numbers, why TLS uses slow public-key maths only to agree a key and fast symmetric encryption for the data, and what happens in a TLS handshake. You'll draw an IPsec packet in tunnel mode, say what a VPN is and how split tunnelling decides, and finally explain WEP, WPA2, WPA3 and 802.1X, including why a captured WPA2 handshake can be attacked at home.