Difference between revisions of "Firewalls/ru"

Created page with "$usercmdoutput3"
(Created page with "=Обзор=")
(Created page with "$usercmdoutput3")
Line 21: Line 21:
{{warning|Don't enable both iptables.service and ufw.service}}
{{warning|Don't enable both iptables.service and ufw.service}}


==Adding Rules==
==Добавление правил==


To view the current configuration you can use the command {{ic|ufw status}}.  Here is what it looks like in a new install:
To view the current configuration you can use the command {{ic|ufw status}}.  Here is what it looks like in a new install:
Line 40: Line 40:
{{tip|When you don't specify "in" or "out", "in" is assumed}}
{{tip|When you don't specify "in" or "out", "in" is assumed}}


==UFW and Applications==
==UFW и приложения==


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:
Line 62: Line 62:
  {{UserCmd|command=pamac install ufw-extras}}
  {{UserCmd|command=pamac install ufw-extras}}


==Removing Rules==
==Удаление правил==


Rules can be removed with the {{ic|ufw delete}} command.  For example, to delete our 8443 rules we could use the command:
Rules can be removed with the {{ic|ufw delete}} command.  For example, to delete our 8443 rules we could use the command:
translator
10,713

edits