How A Bad Firewall Rule Broke My Network

I recently disconnected devices on my network from the Internet because of a restrictive UFW firewall rule. Read to find out how I fixed the problem.