With which command we can activate all currently configured rules?

Posted April 2, 2020 307 views

Can anyone please help me to answer this question

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @mujti28,

Can you share a little bit more information like which firewall exactly are you using? Is it a DigitalOcean Cloud Firewall or a firewall on your Droplet like UFW or iptables?

If you are using Ubuntu and the Ubuntu firewall, I would recommend following the steps from this tutorial on how to configure ufw:

If you are using DigitalOcean Cloud Firewall I would recommend following the steps from the documentation here:

Hope that this helps!

by Brian Boucheron
by Erika Heidi
UFW, or Uncomplicated Firewall, is an interface to iptables that is geared towards simplifying the process of configuring a firewall on Linux servers. In this guide, you'll learn how to set up a firewall with UFW on Ubuntu 18.04.