From 26cfc93759470bd46c93a7da2acb75b30f9536b8 Mon Sep 17 00:00:00 2001 From: Bernt Christian Egeland Date: Mon, 28 Aug 2023 18:57:14 +0000 Subject: [PATCH 1/3] gitignore --- docs/ztnet/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 docs/ztnet/.gitignore diff --git a/docs/ztnet/.gitignore b/docs/ztnet/.gitignore new file mode 100644 index 00000000..ada42c5c --- /dev/null +++ b/docs/ztnet/.gitignore @@ -0,0 +1,2 @@ +.docusaurus +node_modules \ No newline at end of file From be907d0dbe5b44bd9b55677a897b8876edb15fa4 Mon Sep 17 00:00:00 2001 From: Bernt Christian Egeland Date: Mon, 28 Aug 2023 19:03:30 +0000 Subject: [PATCH 2/3] added padding for management ip --- docker-compose.yml | 2 +- src/pages/admin/controller/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6fb0117d..17d02f64 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: - "9993:9993/udp" environment: - ZT_OVERRIDE_LOCAL_CONF=true - - ZT_ALLOW_MANAGEMENT_FROM=172.31.255.0/29 + - ZT_ALLOW_MANAGEMENT_FROM=127.0.0.1/24,172.31.255.0/29 ztnet: image: sinamics/ztnet:latest diff --git a/src/pages/admin/controller/index.tsx b/src/pages/admin/controller/index.tsx index c8a7b0e5..ba5eb7bb 100644 --- a/src/pages/admin/controller/index.tsx +++ b/src/pages/admin/controller/index.tsx @@ -85,7 +85,7 @@ const Controller = () => {

{t("controller.management.allowManagementFrom")}

-
+
{allowManagementFrom?.map((address) => ( {address} ))} From 7210dcf83636a8ac9681678fb04abf04ae0779f7 Mon Sep 17 00:00:00 2001 From: Bernt Christian Egeland Date: Mon, 28 Aug 2023 19:15:46 +0000 Subject: [PATCH 3/3] removed testing ip --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 17d02f64..6fb0117d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: - "9993:9993/udp" environment: - ZT_OVERRIDE_LOCAL_CONF=true - - ZT_ALLOW_MANAGEMENT_FROM=127.0.0.1/24,172.31.255.0/29 + - ZT_ALLOW_MANAGEMENT_FROM=172.31.255.0/29 ztnet: image: sinamics/ztnet:latest