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