From b70a6c8263f1acc5e231cf9cf2fcf5db0de09ad0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 9 Mar 2017 13:30:29 +0100 Subject: [PATCH] Add example SELinux command into Fedora README --- README.Fedora | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.Fedora b/README.Fedora index 30fa5a1..510c3e0 100644 --- a/README.Fedora +++ b/README.Fedora @@ -4,7 +4,9 @@ Installation systemctl enable httpd service httpd restart -SELinux notes: httpd is allowed to connect to the default OpenNebula RPC port 2633. Different remote port would need to be permitted in SELinux (it works adding the port to 'http_port_t', or enabling 'httpd_can_network_connect' boolean). +SELinux notes: httpd is allowed to connect to the default OpenNebula RPC port 2633. Different remote port would need to be permitted in SELinux (it works adding the port to 'http_port_t', or enabling 'httpd_can_network_connect' boolean). For example (replace $PORT by the RPC port number): + + semanage port -a -t http_port_t -p tcp $PORT Quick test -- 1.8.2.3