Uncomplicated Firewall: Difference between revisions

From David's Wiki
Created page with "Uncomplicated Firewall (UFW) ==Usage== <syntaxhighlight lang="bash"> sudo ufw allow ssh/tcp sudo ufw logging on sudo ufw enable sudo ufw status </syntaxhighlight>"
 
Line 6: Line 6:
sudo ufw logging on
sudo ufw logging on
sudo ufw enable
sudo ufw enable
sudo ufw status
sudo ufw status numbered
 
#Delete a rule
sudo ufw delete <num>
</syntaxhighlight>
</syntaxhighlight>
Rules are saved at:
* <code>/etc/ufw/user.rules</code>
* <code>/etc/ufw/user6.rules</code>
==App Profiles==
See app profiles
<pre>
ufw app list
</pre>

Revision as of 02:16, 10 June 2020

Uncomplicated Firewall (UFW)

Usage

sudo ufw allow ssh/tcp
sudo ufw logging on
sudo ufw enable
sudo ufw status numbered

#Delete a rule
sudo ufw delete <num>

Rules are saved at:

  • /etc/ufw/user.rules
  • /etc/ufw/user6.rules

App Profiles

See app profiles

ufw app list