Linux networking · Packet capture and firewall

Turn the firewall on (ufw)

Enable ufw and start it at boot.

sudo ufw enable

Official Linux networking documentation

More packet capture and firewall commands

All packet capture and firewall commands · Linux networking cheatsheet

Was this page helpful?