It's a common task to need to configure firewall rules on a new server. Either `ufw` or `shorewall` would be good defaults.