Skip to content

Commit

Permalink
Site updated: 2023-09-26 10:42:13
Browse files Browse the repository at this point in the history
  • Loading branch information
cxzlw committed Sep 26, 2023
1 parent bb7b655 commit 483102b
Show file tree
Hide file tree
Showing 23 changed files with 55 additions and 2,619 deletions.
2 changes: 1 addition & 1 deletion 2023/07/05/trace-of-line-01/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="不存在的历史,勾起了石月仙的注意,随着找寻真相的深入,一个隐瞒了全世界的阴谋浮出水面。而对于人类,阴谋何来,何从,何去?「第三次科技革命后,人类进入信息时代,信息化开始影响人类的历史进程……」「为什么初中高中上过的还要再上一遍啊?我都快烦死了。」石月仙在心中自言自语道,眼睛无神地看着教授在全息屏上指指点点。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-07-05T14:20:06.000Z">
<meta property="article:modified_time" content="2023-09-21T08:08:16.804Z">
<meta property="article:modified_time" content="2023-09-26T02:41:52.729Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="飞石">
<meta property="article:tag" content="小说">
Expand Down
2 changes: 1 addition & 1 deletion 2023/07/05/zhihu-aac-old/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://blog.cxzlw.top/img/image.png">
<meta property="article:published_time" content="2023-07-04T17:49:31.000Z">
<meta property="article:modified_time" content="2023-09-21T08:08:16.804Z">
<meta property="article:modified_time" content="2023-09-26T02:41:52.729Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="Python">
<meta property="article:tag" content="cxzlw">
Expand Down
12 changes: 6 additions & 6 deletions 2023/07/06/zerotier-planet-convert/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="由于国内特殊的网络原因,Zerotier 官方提供的 Planet 用户体验不佳。为此,不少人选择自建私有 Moon,甚至私有 Planet 服务器。然而,正如官方文档所说,使用私有 Planet 服务器会使你的节点无法找到其他的标准节点。本文试图提出一种方案在使用私有 Planet 服务器的同时与标准节点通信。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-07-06T04:37:41.000Z">
<meta property="article:modified_time" content="2023-09-21T08:08:16.804Z">
<meta property="article:modified_time" content="2023-09-26T02:41:52.729Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="cxzlw">
<meta property="article:tag" content="Zerotier">
Expand Down Expand Up @@ -254,7 +254,7 @@



62 分钟
61 分钟

</span>

Expand Down Expand Up @@ -304,7 +304,7 @@ <h1 id="seo-header">Zerotier 自定义 Planet 后与标准节点互通</h1>

<div class="markdown-body">

<p>由于国内特殊的网络原因<sup id="fnref:1" class="footnote-ref"><a href="#fn:1" rel="footnote"><span class="hint--top hint--rounded" aria-label="不作评价">[1]</span></a></sup>,Zerotier 官方提供的 Planet 用户体验不佳。为此,不少人选择自建私有 Moon,甚至私有 Planet 服务器。然而,正如<a target="_blank" rel="noopener" href="https://docs.zerotier.com/self-hosting/introduction#:~:text=If%20you%20are%20using%20a%20custom%20root%20setup%2C%20your%20nodes%20won%27t%20be%20able%20to%20find%20standard%20nodes.">官方文档所说</a><sup id="fnref:2" class="footnote-ref"><a href="#fn:2" rel="footnote"><span class="hint--top hint--rounded" aria-label="[If you are using a custom root setup, your nodes won't be able to find standard nodes. ](https://docs.zerotier.com/self-hosting/introduction#:~:text=If%20you%20are%20using%20a%20custom%20root%20setup%2C%20your%20nodes%20won%27t%20be%20able%20to%20find%20standard%20nodes.)如果你使用自定义根配置,你的节点将无法找到其他标准节点。">[2]</span></a></sup>,使用私有 Planet 服务器会使你的节点无法找到其他的标准节点。本文试图提出一种方案在使用私有 Planet 服务器的同时与标准节点通信。</p>
<p>由于国内特殊的网络原因<sup id="fnref:1" class="footnote-ref"><a href="#fn:1" rel="footnote"><span class="hint--top hint--rounded" aria-label="不作评价">[1]</span></a></sup>,Zerotier 官方提供的 Planet 用户体验不佳。为此,不少人选择自建私有 Moon,甚至私有 Planet 服务器。然而,正如官方文档<sup id="fnref:2" class="footnote-ref"><a href="#fn:2" rel="footnote"><span class="hint--top hint--rounded" aria-label="[Introduction | ZeroTier Documentation](https://docs.zerotier.com/self-hosting/introduction#:~:text=If%20you%20are%20using%20a%20custom%20root%20setup%2C%20your%20nodes%20won%27t%20be%20able%20to%20find%20standard%20nodes.)如果你使用自定义根配置,你的节点将无法找到其他标准节点。">[2]</span></a></sup>所说,使用私有 Planet 服务器会使你的节点无法找到其他的标准节点。本文试图提出一种方案在使用私有 Planet 服务器的同时与标准节点通信。</p>
<h2 id="一、生成-moon-json"><a href="#一、生成-moon-json" class="headerlink" title="一、生成 moon.json"></a>一、生成 moon.json</h2><p>这步主要是为了一个模板:</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><code class="hljs batch">cd C:\ProgramData\ZeroTier\One<br>zerotier-idtool initmoon identity.public &gt;&gt; planet.json<br></code></pre></td></tr></table></figure>

Expand All @@ -323,14 +323,14 @@ <h2 id="三、按照上述结果修改-moon-json"><a href="#三、按照上述

<h2 id="四、生成-moon-文件"><a href="#四、生成-moon-文件" class="headerlink" title="四、生成 .moon 文件"></a>四、生成 .moon 文件</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs bash">zerotier-idtool genmoon .\moon.json<br></code></pre></td></tr></table></figure>

<h2 id="五、使用-moon-文件"><a href="#五、使用-moon-文件" class="headerlink" title="五、使用 .moon 文件"></a>五、使用 .moon 文件</h2><p>在 Zerotier 目录<sup id="fnref:3" class="footnote-ref"><a href="#fn:3" rel="footnote"><span class="hint--top hint--rounded" aria-label="Linux 是 `/var/lib/zerotier-one`,Windows 是 `C:\ProgramData\ZeroTier\One\`,别的不知道">[3]</span></a></sup>下新建文件夹 moons.d。</p>
<h2 id="五、使用-moon-文件"><a href="#五、使用-moon-文件" class="headerlink" title="五、使用 .moon 文件"></a>五、使用 .moon 文件</h2><p>在 Zerotier 目录<sup id="fnref:3" class="footnote-ref"><a href="#fn:3" rel="footnote"><span class="hint--top hint--rounded" aria-label="Linux 是 `/var/lib/zerotier-one`,Windows 是 `C:\ProgramData\ZeroTier\One\`。">[3]</span></a></sup>下新建文件夹 moons.d。</p>
<p>把生成的 xxxxxxxxxxxxxxxx.moon 放到你的 moons.d文件夹。</p>
<p>重启 Zerotier 服务(不会重启的建议重启电脑)。</p>
<p>这样就好了,你可以开始享用你的自定义 Planet 带来的低延迟体验和官方 Planet 上大量的节点了</p>
<h2 id="结语"><a href="#结语" class="headerlink" title="结语"></a>结语</h2><p>在这篇文章中,我们通过将 Zerotier 自带的 Planet 转为 Moon 来进行连接,以帮助使用自定义 Planet 的节点与官方 Planet 上的节点进行通信。这方便了我们在使用低延迟的自建 Planet 的同时与大量标准节点进行通信。</p>
<h2 id=""><a href="#注" class="headerlink" title=""></a></h2><section class="footnotes"><div class="footnote-list"><ol><li><span id="fn:1" class="footnote-text"><span>不作评价
<a href="#fnref:1" rev="footnote" class="footnote-backref"></a></span></span></li><li><span id="fn:2" class="footnote-text"><span><a target="_blank" rel="noopener" href="https://docs.zerotier.com/self-hosting/introduction#:~:text=If%20you%20are%20using%20a%20custom%20root%20setup%2C%20your%20nodes%20won%27t%20be%20able%20to%20find%20standard%20nodes.">If you are using a custom root setup, your nodes won’t be able to find standard nodes. </a>如果你使用自定义根配置,你的节点将无法找到其他标准节点。
<a href="#fnref:2" rev="footnote" class="footnote-backref"></a></span></span></li><li><span id="fn:3" class="footnote-text"><span>Linux 是 <code>/var/lib/zerotier-one</code>,Windows 是 <code>C:\ProgramData\ZeroTier\One\</code>,别的不知道
<a href="#fnref:1" rev="footnote" class="footnote-backref"></a></span></span></li><li><span id="fn:2" class="footnote-text"><span><a target="_blank" rel="noopener" href="https://docs.zerotier.com/self-hosting/introduction#:~:text=If%20you%20are%20using%20a%20custom%20root%20setup%2C%20your%20nodes%20won%27t%20be%20able%20to%20find%20standard%20nodes.">Introduction | ZeroTier Documentation</a>如果你使用自定义根配置,你的节点将无法找到其他标准节点。
<a href="#fnref:2" rev="footnote" class="footnote-backref"></a></span></span></li><li><span id="fn:3" class="footnote-text"><span>Linux 是 <code>/var/lib/zerotier-one</code>,Windows 是 <code>C:\ProgramData\ZeroTier\One\</code>
<a href="#fnref:3" rev="footnote" class="footnote-backref"></a></span></span></li></ol></div></section>

</div>
Expand Down
2 changes: 1 addition & 1 deletion 2023/07/10/trace-of-line-02/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="不存在的历史,勾起了石月仙的注意,随着找寻真相的深入,一个隐瞒了全世界的阴谋浮出水面。而对于人类,阴谋何来,何从,何去?「你家里关于知识大革命真实历史的藏书消失了,不仅如此,你对于知识大革命原有的记忆也消失了。这说明什么?」「说明有人想彻底地掩埋真相?」">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-07-10T15:01:06.000Z">
<meta property="article:modified_time" content="2023-09-21T08:08:16.804Z">
<meta property="article:modified_time" content="2023-09-26T02:41:52.729Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="飞石">
<meta property="article:tag" content="小说">
Expand Down
12 changes: 6 additions & 6 deletions 2023/08/04/permission-system-design-share/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<meta property="og:description" content="最近在参与某 OJ 的开发,过程中我们需要一个权限系统。作为一个热爱 MC 的开发者,我很喜欢 luckperms 的设计,于是这个小东西就出来了。在这里给大家分享我们的权限系统设计。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-08-04T07:32:59.000Z">
<meta property="article:modified_time" content="2023-09-21T08:08:16.804Z">
<meta property="article:modified_time" content="2023-09-26T02:41:52.729Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="权限系统">
<meta property="article:tag" content="Python">
<meta property="article:tag" content="cxzlw">
<meta property="article:tag" content="权限系统">
<meta name="twitter:card" content="summary_large_image">


Expand Down Expand Up @@ -361,12 +361,12 @@ <h2 id="代码许可"><a href="#代码许可" class="headerlink" title="代码
<div class="post-meta">
<i class="iconfont icon-tags"></i>

<a href="/tags/%E6%9D%83%E9%99%90%E7%B3%BB%E7%BB%9F/" class="print-no-link">#权限系统</a>

<a href="/tags/Python/" class="print-no-link">#Python</a>

<a href="/tags/cxzlw/" class="print-no-link">#cxzlw</a>

<a href="/tags/%E6%9D%83%E9%99%90%E7%B3%BB%E7%BB%9F/" class="print-no-link">#权限系统</a>

</div>

</div>
Expand Down Expand Up @@ -428,9 +428,9 @@ <h2 id="代码许可"><a href="#代码许可" class="headerlink" title="代码
<article class="post-prev col-6">


<a href="/2023/08/08/python-to-windows-service/" title="将 Python 项目打包为 Windows service">
<a href="/2023/08/31/cell-structure/" title="Biology - Cell structure">
<i class="iconfont icon-arrowleft"></i>
<span class="hidden-mobile">将 Python 项目打包为 Windows service</span>
<span class="hidden-mobile">Biology - Cell structure</span>
<span class="visible-mobile">上一篇</span>
</a>

Expand Down
2 changes: 1 addition & 1 deletion 2023/08/04/test-latex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="$$E&#x3D;mc^2$$ WORK? Hi, GitHub, from China. Hi my blog, from github.dev">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-08-04T06:35:08.000Z">
<meta property="article:modified_time" content="2023-09-21T08:08:16.804Z">
<meta property="article:modified_time" content="2023-09-26T02:41:52.729Z">
<meta property="article:author" content="cxzlw">
<meta property="article:tag" content="创新者老王">
<meta property="article:tag" content="创新者.老王">
Expand Down
Loading

0 comments on commit 483102b

Please sign in to comment.