id: 86a4b19bc4984b08ba5e2d8e9398b076
parent_id: 
item_type: 1
item_id: a87817f0dbc042e986f1acc931c49147
item_updated_time: 1764345622754
title_diff: "[{\"diffs\":[[1,\"NAS内网穿透工具私有化部署推荐(Gostc-Open),支持飞牛,威联通,群晖等NAS\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":44}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>NAS内网穿透工具私有化部署推荐(Gostc-Open),支持飞牛,威联通,群晖等NAS</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"38439\\\"></a>\\\r\\\n<h1>NAS内网穿透工具私有化部署推荐(Gostc-Open),支持飞牛,威联通,群晖等NAS</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"margin:0px;\\\"><div style=\\\"padding:8px 0px;margin:8px auto;max-width:700px;\\\"> <div><span></span></div>\\\n<p></p>\\\n<div style=\\\"--en-blockquote:true;box-sizing: border-box; padding-left: 19px; padding-top: 6px; padding-bottom: 6px; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial; margin-top: 6px\\\"><div>原文链接: <a href=\\\"http://mp.weixin.qq.com/s?__biz=MzA4MzEzMDE4Mw==&amp;mid=2247487118&amp;idx=1&amp;sn=7d1b1d6fe79c8d25454c99ddf821039d&amp;chksm=9e031ace4c1f2536e6981fdaa83cee619f3bbb540392abb67dffc4d0698d0f7c9770b223caa0&amp;mpshare=1&amp;scene=1&amp;srcid=03196B7abRle4SFxkvjZMk7S&amp;sharer_shareinfo=30cac41bb602e3be1b5e42d4c726c9e2&amp;sharer_shareinfo_first=30cac41bb602e3be1b5e42d4c726c9e2#rd\\\"><span>http://mp.weixin.qq.com/s?__biz=MzA4MzEzMDE4Mw==&amp;mid=2247487...</span></a></div></div>\\\n<p></p>\\\n<div><span></span></div>\\\n<div style=\\\"\\\"><div><div><h1 style=\\\"margin:0\\\"> NAS内网穿透工具私有化部署推荐(Gostc-Open),支持飞牛,威联通,群晖等NAS </h1><div><span style=\\\"position:relative\\\">原创</span><span> 办公魔盒 </span><span><a style=\\\"position:relative\\\"> 办公魔盒 </a></span><span><em></em></span></div><div style=\\\";\\\"><div><span><span style=\\\"font-weight: bold;\\\">GOSTC介绍</span></span></div><div><span style=\\\"color: rgb(31, 35, 40);font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, &quot;Noto Sans&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\\\"><span>基于GOST开发的内网穿透管理平台，支持多用户、多节点，支持速率、连接数限制，中心化配置，通过网页修改配置，实时生效</span></span></div><div><span><span style=\\\"font-weight: bold;\\\">官方体验地址:</span></span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>https</span>:<span>//gost.sian.one/</span></span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/9fe193ceb10345f09c83a71d4a9e7a1e\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">自己搭建效果图(下面开始一步步教你搭建),</span><span style=\\\"color: rgb(255, 0, 0);font-weight: bold;\\\">这项目刚开源不久</span><span style=\\\"font-weight: bold;\\\">:</span></span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/0b00b786aa874c58b0c75724bdb21ee6\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/0b8b8cc4936342e9947122426dc2e9d3\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/3111056811224cc0afeb74daf4914e7f\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/25308a96643844bea94d8752afeee53c\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/1f6c4aaf1db54f4da8b192f538c49737\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">1.第一步,克隆项目到服务器(这里推荐linux)或者直接下载解压</span></span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span>git <span>clone</span> https://github.com/SianHH/gostc-open.git</span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/1dee1cfd0e7944d397d8fb71c696eda2\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">2.第二步,安装go环境(</span><span style=\\\"color: rgb(255, 0, 0);font-weight: bold;\\\">自行百度</span><span style=\\\"font-weight: bold;\\\">)</span></span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/c5ed22274cb34eea9671a025bd36b5ec\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">3.第三步,编译server(后台服务面板),编译完成后会在server文件夹下多出一个server文件</span></span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span># 进入server文件夹</span></span><div><span><span>cd</span> server</span></div><div><span><span># 编译服务面板</span></span></div><div><span>go build -ldflags <span>&quot;-s -w&quot;</span> -a -o server main.go</span></div></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/c8d96969d5b64cb5a006b4116f577ae0\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">4.第四步,编译client客户端节点(也可以直接用官方编译好的没必要自己编译)</span></span></div><div><span>官方客户端下载(根据自己的平台下载)</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>https:</span>/<span>/alist.sian.one/direct/gostc/</span></span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/15c4242d782f4873963137cd874bc6e9\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>自己编译指令(<span style=\\\"color: rgb(255, 0, 0);\\\">没必要,浪费时间</span>)</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span>go build -ldflags <span>&quot;-s -w&quot;</span> -a -o ./dist/gostc ./client/</span></div></pre></div><div><span><span style=\\\"font-weight: bold;\\\">5.部署服务端和服务端节点</span></span></div><div><span><span style=\\\"font-weight: bold;\\\">5.1.首选部署服务端面板(这里做演示,直接在server编译文件夹运行即可)</span></span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span># 进入server文件夹</span></span><div><span><span>cd</span> server</span></div><div><span><span># 授权server文件权限</span></span></div><div><span><span>chmod</span> +x server</span></div><div><span><span># 运行服务端面板</span></span></div><div><span>./server</span></div></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/999ad687cf954702be45383dba77075a\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">5.2.进入服务端管理面板进行配置,默认端口为8080,默认账号密码为admin和admin</span></span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>http://ip:8080</span></span><div><span><span>如:</span></span></div><div><span><span>http://192.168.195.128:8080</span></span></div></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/f1cd0a462c5b466294278c61493de78d\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">5.3.配置相关的服务(很关键,不配无法转发服务),同时服务器需要开启相关的端口</span></span></div><div><span>5.3.1.首先是配置,基础URL,改成自己的服务器地址+端口即可</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>如:</span></span><div><span><span>http://192.168.195.128:8080</span></span></div></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/52efb3f3bdbd470a8a7a8281c5a7e9e7\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/6eee3bfa5f084ef8a0aec8d82913425d\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>5.3.2.添加默认节点和套餐</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/87678a4b844b4e64a3462d681436fc0c\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/de9fc7993cc146d5a9a69f1d66fc30d0\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">5.4.部署服务节点,下载官方的客户端这里依然是linux</span></span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/63219ee1da6a4c22a61e65b343b27e5b\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>5.4.1.在新的终端运行节点</span></div><div><span>IP和端口,节点密钥需要修改</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span># 进入node节点文件夹</span></span><div><span><span>cd</span> node</span></div><div><span><span># 授权gostc文件权限</span></span></div><div><span><span>chmod</span> +x gostc</span></div><div><span><span># 运行节点注意,要在页面上拿到节点密钥,</span></span></div><div><span>./gostc -tls=<span>false</span> -addr 192.168.195.128:8080 -s -key 1a0bbfec-3e3d-48b4-ac9a-861920cc34e7</span></div></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/7f2077fe82114301a3864f6d81b32804\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>看到success和管理页面上看到节点在线表示成功</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/2561e2f80124489dab677835aa86c866\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/d841d04a00474b3097f7456ac6bfe7ff\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">6.在内网客户端,部署内网穿透客户端程序</span></span></div><div><span><span style=\\\"font-weight: bold;\\\">6.1.在window电脑上部署客户端</span></span></div><div><span>6.1.1.在管理页面创建一个window客户端并复制客户端密钥,然后下载官方的客户端程序</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/528a2ed9e86e4091a7b965b59e7ebd15\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/317125fdafbd4b7ea6da206bb3e37110\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.1.2.获取客户端密钥和链接客户端,然后运行cmd与服务端节点进行链接</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/8791047cee4a435ea903aef1535546db\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/5a5b068ff8f54abb9b95bc1c80c680f7\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>ip和端口,客户端密钥需要根据实际修改</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>gostc</span> -tls=false -addr <span>192.168.195.128:8080</span> -key a4bff13a-<span>1</span>eae-<span>4</span>e26-a4ed-<span>19</span>a568c46560</span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/66acf22b4fd545fdab7ab1c09cb9a463\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/124180a388cb4203a09002137a025f87\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.1.3.配置端口映射,这里假设window下有一个12112端口的服务,要映射到公网</span></div><div><span>要映射的服务</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/a26fb498af5749319db99e184461dc0a\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>公网服务器配置端口转发</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/e745c5e412214537b335193a590864c0\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/7d40204bc19145fd947eb0dbbec25112\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/015b9f413c0e45929af0fe04ae2f7877\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><br/></span></div><div><span>测试转发是否正常,现在我们用公网服务器ip访问测试一下,前提是端口已经开放,看到正常输出内容表示成功</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/57e632bc15f14daab3392bb264387cfe\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/4420289d6df448b4b1cdd7fb7e5f4d5e\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/9a44719395be4ede9ede01b2c22570ff\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><br/></span></div><div><span><span style=\\\"font-weight: bold;\\\">6.2.飞牛NAS部署</span></span></div><div><span><span style=\\\"font-weight: bold;\\\">6.2.1.登录飞牛NAS,进入docker应用,添加镜像</span></span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/016d466cfbb44e64b8d76d4e2da310f6\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/5645ca1ce36d407e94b17d6d7518fa6d\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/840e400981b642b0845ce1b0f7e38abe\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/d15b94946ccf4ecfb13c6fdea39005f9\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.2.2.在穿透面板添加一个新的客户端,并获取密钥,然后运行docker镜像,<span style=\\\"color: rgb(255, 0, 0);font-weight: bold;\\\">网络一定要选择HOST</span></span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/62c13c728c784cd1a412150c1f303877\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/1d4b900b4cc748e1bb2029ae068a1d42\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/03d77aae9def4cfbbaea47ee4fdfa348\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>网络选择host</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/16b5a6b8ff46486fabfd4774521099dd\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>命令填写如下替换ip和端口 客户端key,然后下一步,点击创建即可</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>-tls</span>=<span>false</span> -addr <span>192.168</span>.<span>195.128</span>:<span>8080</span> -key e352c24c-<span>61</span>de-<span>427</span>a-<span>93</span>b1-d2ce332480a0</span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/9eacb88cc45f47de99ed6a062f25241b\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/fd1bacec7943451daad9fb119b849dbf\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.2.3.看到docker变成绿色和穿透管理端显示在线表示成功</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/cdd1ac97ffbc4a3dbd41a7eb8d72c10e\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/c0820415f3ad4a57b862bf88ed2d7a87\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/6297085089be4fbdb2ad53bd219924e5\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.2.4.现在我们返回内网穿透管理端,把飞牛nas管理端映射到,公网服务器端ip和端口,飞牛默认端口是5666,然后访问试一下</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/93fda64d75344b36a96abb2fcd7430ab\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/d02f1786121e4a96b62bd0ed931c4585\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/75187b1191414c50970498a222bf0ef5\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">6.3.威联通NAS部署(这里已经部署过了,简单演示一下过程)</span></span></div><div><span>6.3.1.进入容器工作站,添加habor储存库</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>https</span>:<span>//harbor.sian.one</span></span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/5695215abe224e84a29dc53dc08b5831\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/f652cdf880494f4b9060abed88aa83db\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.3.2.返回映像,拉取穿透客户端镜像</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span>gostc/gostc:latest</span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/59c339b4035841b2b539b3807b0bd2ff\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/5afd4efabb124d4385304bee4c865716\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.3.3.运行镜像,部署内网穿透客户端,记得先在管理端添加服务端,我这里直接用飞牛的NAS密钥演示,参考飞牛nas配置</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/0969cd78028048948aac69f28044a161\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/84675016cf2247e9a411e841bd060bd3\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/4af28d063ad24928af85402308af7501\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>命令和网络参考,飞牛nas,然后点击 应用即可</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/f8aed195489b4cc39c32b4b5d3b5f151\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/11098fad58f04db0a7b04718888b4ad6\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.3.4.然后按照飞牛的配置 配置转发端口即可,威联通默认端口5000</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/bda19bab2f844e28b2ad2ae5a9ea3dc3\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/8762dcffff914b1c88c2ce30d6ac1ade\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><span style=\\\"font-weight: bold;\\\">6.4.群晖NAS部署穿透客户端</span></span></div><div><span>6.4.1.因为官方的是harbor仓库,群晖Container Manager不支持,这里我们就用ssh终端安装</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/b4c182ec794e4123b4ef299f7da5bd5c\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.4.2.通过ssh拉取映像</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span>sudo docker pull harbor.sian.one/gostc/gostc:latest</span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/148c5184458b4848969361581c4e6349\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>6.4.3.运行镜像可以直接用命令运行,也可以用容器管理器运行,这里也是用飞牛NAS客户端密钥测试</span></div><div><span>6.4.3.1.<span style=\\\"color: rgb(255, 0, 0);font-weight: bold;\\\">(推荐)</span>命令运行(需要替换ip,端口,密钥)</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>sudo</span> docker run -itd --restart=always -m <span>1</span>g  --name gost-open  harbor.sian.one/gostc/gostc:latest -tls=false -addr <span>192.168.195.128:8080</span> -key a4bff13a-<span>1</span>eae-<span>4</span>e26-a4ed-<span>19</span>a568c46560</span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/ea2d41be6b5d44aea9fea1da717ccbf1\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/f0684400b9fb4a91b4e3aee45fee8f4d\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><br/></span></div><div><span>6.4.3.2.<span style=\\\"color: rgb(255, 0, 0);font-weight: bold;\\\">(不推荐,可能运行不起来)</span>通过Container Manager运行</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/2f275b1bea284e6caedaa9d670823761\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/ba08bc31dfb147a099f0218a5449e083\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/d13e85a025114168bc24293c95f3d8f4\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>网络依然选择host</span></div><div style=\\\"text-align: center;\\\"><img src=\\\":/0c8109d53b2f4ffe9577d3eac37ae991\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span>命令同上面两款nas,替换ip,端口,密钥,然后直接下一步,点击完成即可</span></div><div><pre><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span><span>-tls</span>=<span>false</span> -addr <span>192.168</span>.<span>195.128</span>:<span>8080</span> -key a4bff13a-<span>1</span>eae-<span>4</span>e26-a4ed-<span>19</span>a568c46560</span></div></pre></div><div style=\\\"text-align: center;\\\"><img src=\\\":/811af6dea10446dcad11da56e5e5251c\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/cdea41426625457ebd1695562ac79297\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div style=\\\"text-align: center;\\\"><img src=\\\":/2c450c59f8984d06928688c579837a1b\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><div><span><br/></span></div><hr style=\\\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\\\"/><div><span>好了,教程到此结束了!</span></div><hr style=\\\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\\\"/><div><span>租售,本人内网服务,200m带宽,月费9月,季费22元,年费66元,永久159元,有需要的联系本人!</span></div><div><span><br/></span></div><hr style=\\\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\\\"/><div><span></span></div><div><span><br/></span></div></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":33337}]"
metadata_diff: {"new":{"id":"a87817f0dbc042e986f1acc931c49147","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348822262,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:03:49.720Z
created_time: 2025-11-28T21:03:49.720Z
type_: 13