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

When trying to open Kimchi ports following the instructions on README on RHEL 7.1 I got the following error: [root@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@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

Reviewed-by: Crístian Viana <vianac@linux.vnet.ibm.com> On 16-03-2015 12:18, Aline Manera wrote:
When trying to open Kimchi ports following the instructions on README on RHEL 7.1 I got the following error:
[root@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@linux.vnet.ibm.com>
participants (2)
-
Aline Manera
-
Crístian Viana