mirror of
https://github.com/yuriskinfo/cheat-sheets.git
synced 2025-12-25 23:03:32 +01:00
e
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user