From 4412c1ca2d1e58711a06f91716aa9f7b64fcf1c7 Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Thu, 30 Mar 2023 09:55:57 +0000 Subject: [PATCH] Added to firewall-cmd for RHEL firewall cmds --- cheat-sheets/Linux-and-BSD-firewalls-cheat-sheet.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat-sheets/Linux-and-BSD-firewalls-cheat-sheet.adoc b/cheat-sheets/Linux-and-BSD-firewalls-cheat-sheet.adoc index f0c5087..eef247b 100644 --- a/cheat-sheets/Linux-and-BSD-firewalls-cheat-sheet.adoc +++ b/cheat-sheets/Linux-and-BSD-firewalls-cheat-sheet.adoc @@ -74,7 +74,7 @@ else helps. |*firewall-cmd --add-port=_port-number_/_protocol_* |Open incoming _port-number_ of the _protocol_. E.g. open incoming TCP port -5900 rom any: `firewall-cmd --add-port=5900/tcp` +5900 from any: `firewall-cmd --add-port=5900/tcp` |*firewall-cmd --remove-port=_port-number_/_protocol_*