How to activate an inactive UFW on Ubuntu 20.04 step-by-step instructions
- First, check your current UFW status:
$ sudo ufw status Status: inactive
- Activate UFW:
$ sudo ufw enable Firewall is active and enabled on system startup
- (optional) Check UFW status:
$ sudo ufw status Status: active
Once the UFW is enabled, these settings should persist after the system reboots.