From ede3361fff6ea01828a250ebac91acb70edd7899 Mon Sep 17 00:00:00 2001 From: FlintyLemming Date: Fri, 2 Feb 2024 23:45:28 +0800 Subject: [PATCH] fix post --- .../post/3b4ed0fa29824852b49650810f113c9e/index.zh-cn.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/post/3b4ed0fa29824852b49650810f113c9e/index.zh-cn.md b/content/post/3b4ed0fa29824852b49650810f113c9e/index.zh-cn.md index dd28ff0..efe084b 100644 --- a/content/post/3b4ed0fa29824852b49650810f113c9e/index.zh-cn.md +++ b/content/post/3b4ed0fa29824852b49650810f113c9e/index.zh-cn.md @@ -62,12 +62,12 @@ image = "https://img.mitsea.com/blog/posts/2024/02/3b4ed0fa29824852b49650810f113 ```yaml { "action": "accept", - "src": ["group:example@mail.com", "tag:example", "hosts_name", "xxx,xxx,xxx,xxx"], + "src": ["group:example@mail.com", "tag:example", "hosts_name", "xxx,xxx,xxx,xxx", "192.168.5.0/24"], "dst": ["192.168.5.0/24:*"], }, ``` - 这个 src 可以是 group、tag、hosts、IP 等,group、tag 和 hosts 都需要你在配置文件里定义好 + 这个 src 可以是 group、tag、hosts、IP 等,group、tag 和 hosts 都需要你在配置文件里定义好。但是一定要注意!src 里一定要把这个网段也写上,否则这个网段内的设备就访问不到了!!! ![](https://img.mitsea.com/blog/posts/2024/02/3b4ed0fa29824852b49650810f113c9e/Untitled%202.png?x-oss-process=style/ImageCompress) @@ -77,7 +77,7 @@ image = "https://img.mitsea.com/blog/posts/2024/02/3b4ed0fa29824852b49650810f113 在本例中,我是给设备 C 设置了一个 tag,然后规则如下 - ![](https://img.mitsea.com/blog/posts/2024/02/3b4ed0fa29824852b49650810f113c9e/Untitled%204.png?x-oss-process=style/ImageCompress) + ![](https://img.mitsea.com/blog/posts/2024/02/3b4ed0fa29824852b49650810f113c9e/%E6%8D%95%E8%8E%B7.PNG?x-oss-process=style/ImageCompress) 这样,设备 C 就可以直接访问设备 A 了