From ca9b6a116cb71bc2fb2862a50eebb3b6b7b444ee Mon Sep 17 00:00:00 2001 From: bluikko <14869000+bluikko@users.noreply.github.com> Date: Tue, 20 Jul 2021 09:46:33 +0700 Subject: [PATCH] Add dev server firewall configuration for EL distros --- 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..462ecf0ae 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 `firewalld-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