[Kimchi-devel] [PATCH] Use the right firewall-cmd command to open Kimchi ports

Aline Manera alinefm at linux.vnet.ibm.com
Mon Mar 16 15:18:49 UTC 2015


When trying to open Kimchi ports following the instructions on README on
RHEL 7.1 I got the following error:

[root at rhel7-vm ~]# sudo firewall-cmd --add-port=8000 --permanent
bad port (most likely missing protocol), correct syntax is portid[-portid]/protocol

The same behavior was identified on Fedora 21.

So update the firewall-cmd commands to properly guide user on opening
Kimchi ports.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 docs/README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/README.md b/docs/README.md
index 4b14814..5407264 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -145,9 +145,9 @@ If you cannot access Kimchi, take a look at these 2 points:
 Kimchi uses by default the ports 8000, 8001 and 64667. To allow incoming connections:
 
     For system using firewalld, do:
-    sudo firewall-cmd --add-port 8000 --permanent
-    sudo firewall-cmd --add-port 8001 --permanent
-    sudo firewall-cmd --add-port 64667 --permanent
+    sudo firewall-cmd --add-port=8000/tcp --permanent
+    sudo firewall-cmd --add-port=8001/tcp --permanent
+    sudo firewall-cmd --add-port=64667/tcp --permanent
     sudo firewall-cmd --reload
 
     For openSUSE systems, do:
-- 
2.1.0




More information about the Kimchi-devel mailing list