You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ma...@apache.org on 2021/05/24 09:27:41 UTC

[apisix-dashboard] branch master updated: docs: FAQ Add a guide to allow all IP access (#1901)

This is an automated email from the ASF dual-hosted git repository.

majunjie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 63963e8  docs: FAQ Add a guide to allow all IP access (#1901)
63963e8 is described below

commit 63963e84d4cfe1e65634eb72e7d95ec74c339143
Author: Yuelin Zheng <22...@qq.com>
AuthorDate: Mon May 24 17:27:23 2021 +0800

    docs: FAQ Add a guide to allow all IP access (#1901)
---
 docs/en/latest/FAQ.md | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/docs/en/latest/FAQ.md b/docs/en/latest/FAQ.md
index a83f005..4e9d7c6 100644
--- a/docs/en/latest/FAQ.md
+++ b/docs/en/latest/FAQ.md
@@ -70,3 +70,38 @@ $ swagger generate spec -o ./docs/en/latest/api/api.yaml --scan-models
 ```shell
 $ swagger-markdown -i ./docs/en/latest/api/api.yaml
 ```
+
+### 6. How to allow all IPs to access APISIX Dashboard
+
+1. Allow all IPv4 access
+
+By default, the IPv4 range of `127.0.0.0/24` is allowed to access `APISIX Dashboard`. If you want to allow all IPv4 access, then just configure `conf.allow_list` in the configuration file of `conf/conf.yaml` as follows:
+
+```yaml
+conf:
+  allow_list:
+    - 0.0.0.0/0
+```
+
+2. Allow all IPv6 access
+
+By default, the IPv6 range of `::1` is allowed to access `APISIX Dashboard`. If you want to allow all IPv6 access, then just configure `conf.allow_list` in the configuration file of `conf/conf.yaml` as follows:
+
+```yaml
+conf:
+  allow_list:
+    - ::/0
+```
+
+3. Allow all IP access
+
+If you want to allow all IPs to access `APISIX Dashboard`, you only need to do the following configuration in the configuration file of `conf/conf.yaml`:
+
+```yaml
+conf:
+  allow_list:
+```
+
+Restart `manager-api`, all IPs can access `APISIX Dashboard`.
+
+Note: You can use this method in development and test environment to allow all IPs to access your `APISIX Dashboard` instance, but it is not safe to use it in a production environment. In production environment, please only authorize specific IP addresses or address ranges to access your instance.