This commit is contained in:
yuriskinfo
2021-05-16 18:32:14 +03:00
parent 8ba4359550
commit fad9d0f072

View File

@@ -3,6 +3,7 @@
<<Disable/unload the firewall>> +
<<Verify status of the ufw firewall>> +
<<Enable ufw firewall>> +
<<Allow SSH access to this server from Any IP source>>
== Disable/unload the firewall
@@ -57,3 +58,7 @@ Status: active
*ufw enable* - Enable _ufw_ firewall and load the default rules, as well as user created if any in the `/etc/ufw/user.rules`.
== Allow SSH access to this server from Any IP source
*ufw allow 22* - Add port 22 to the `filter` table with action of `allow`. The rule will be added to the `/etc/ufw/user.rules` file and will survive reboot.