title: How do I revert a ufw command?
body: <p><code>sudo ufw status</code> on my Debian server initially showed the following configuration:</p>
  
  <pre><code>Status: active
  
  To                         Action      From
  --                         ------      ----
  OpenSSH                    ALLOW       Anywhere
  OpenSSH (v6)               ALLOW       Anywhere (v6)
  </code></pre>
  
  <p>I've been able to successfully allow http connections via <code>sudo ufw allow http</code> which yielded the following:</p>
  
  <pre><code>Status: active
  
  To                         Action      From
  --                         ------      ----
  OpenSSH                    ALLOW       Anywhere
  80                         ALLOW       Anywhere
  OpenSSH (v6)               ALLOW       Anywhere (v6)
  80                         ALLOW       Anywhere (v6)
  </code></pre>
  
  <p>What is the command to reverse this? I've tried <code>sudo ufw deny http</code>, but now <code>sudo ufw status</code> is different than originally (it now explicitly lists that http is denied):</p>
  
  <pre><code>Status: active
  
  To                         Action      From
  --                         ------      ----
  OpenSSH                    ALLOW       Anywhere
  80                         DENY        Anywhere
  OpenSSH (v6)               ALLOW       Anywhere (v6)
  80                         DENY        Anywhere (v6)
  </code></pre>
  
  <p>Is this the same as my initial config, or is there a different command to revert <code>sudo ufw allow http</code>?</p>