Web servers and proxies, topic 31 of 78
Firewalls
A firewall allows the traffic a machine should receive and drops the rest. On Linux the kernel's nftables does it, often through a simpler front end such as ufw or firewalld; in a cloud, security groups and network ACLs do it before traffic arrives.
Start from deny all, open only what is needed, and never lock yourself out of SSH on a remote machine: keep a session open while you change rules.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- nftables wikiOfficial
- Firewall, Ubuntu ServerOfficial