From 4f6944424bcf3633940aaec657c09e49cc3417fb Mon Sep 17 00:00:00 2001 From: bluikko <14869000+bluikko@users.noreply.github.com> Date: Tue, 27 Jul 2021 00:26:46 +0700 Subject: [PATCH] Add dev server firewall configuration for EL distros (#6772) * Add dev server firewall configuration for EL distros * Fix typo in previous * Indent the firewall block in install docs --- docs/installation/3-netbox.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/installation/3-netbox.md b/docs/installation/3-netbox.md index 2a493d835..e54bf6f3e 100644 --- a/docs/installation/3-netbox.md +++ b/docs/installation/3-netbox.md @@ -267,6 +267,13 @@ Starting development server at http://0.0.0.0:8000/ Quit the server with CONTROL-C. ``` +!!! note + By default RHEL based distros will likely block your testing attempts with firewalld. The development server port can be opened with `firewall-cmd` (add `--permanent` if you want the rule to survive server restarts): + + ```no-highlight + firewall-cmd --zone=public --add-port=8000/tcp + ``` + Next, connect to the name or IP of the server (as defined in `ALLOWED_HOSTS`) on port 8000; for example, . You should be greeted with the NetBox home page. !!! danger