Difference between revisions of "Firewalls"

m
Template inserted
m (Template inserted)
m (Template inserted)
Line 58: Line 58:
<!--T:15-->
<!--T:15-->
You may notice a difference in the above two commands.  When we built the rules for ssh we used the name and for https we used the port number, 8443.  This is because UFW has a small database of applications it knows the ports for.  You can see the list with the command:
You may notice a difference in the above two commands.  When we built the rules for ssh we used the name and for https we used the port number, 8443.  This is because UFW has a small database of applications it knows the ports for.  You can see the list with the command:
sudo ufw app list
{{UserCmd|command=sudo ufw app list}}




<!--T:16-->
<!--T:16-->
For applications on the list you can add them by name.  If you want to review the configuration for one of the applications, you can use the command {{ic|ufw app info}}.  For example, to the configuration for ssh:
For applications on the list you can add them by name.  If you want to review the configuration for one of the applications, you can use the command {{ic|ufw app info}}.  For example, to the configuration for ssh:
<pre>sudo ufw app info SSH
{{UserCmdOutput|command=sudo ufw app info SSH|result=
Profile: SSH
<pre>Profile: SSH
Title: SSH server
Title: SSH server
Description: SSH server
Description: SSH server
Line 71: Line 71:
Port:
Port:
   22/tcp
   22/tcp
</pre>
</pre>}}
 


<!--T:18-->
<!--T:18-->
Line 80: Line 79:
<!--T:19-->
<!--T:19-->
Some additional preconfigured applications can be added by installing the package {{ic|ufw-extras}} with your favorite package manager or the command:
Some additional preconfigured applications can be added by installing the package {{ic|ufw-extras}} with your favorite package manager or the command:
  pamac install ufw-extras
  {{UserCmd|command=pamac install ufw-extras}}
 


==Removing Rules== <!--T:20-->
==Removing Rules== <!--T:20-->
translator
987

edits