[Cookbook][Security] Firewall resitrction tweaks, fix markup, add to toc

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.4+
| Fixed tickets |

Reapply some fixes to #3681 that probably got lost with #3695.