From fad9d0f072e9f53922002ac18cb95ca92a2631cf Mon Sep 17 00:00:00 2001 From: yuriskinfo Date: Sun, 16 May 2021 18:32:14 +0300 Subject: [PATCH] e --- Ubuntu-ufw-firewall-cookbook.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ubuntu-ufw-firewall-cookbook.adoc b/Ubuntu-ufw-firewall-cookbook.adoc index ccf44bd..963df12 100755 --- a/Ubuntu-ufw-firewall-cookbook.adoc +++ b/Ubuntu-ufw-firewall-cookbook.adoc @@ -3,6 +3,7 @@ <> + <> + <> + +<> == 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. + +