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_*