id: 321ac7f6b09c40e5ae1953edaf473dd1
parent_id: 
item_type: 1
item_id: 695a9a0f4a0744348a3bc4406ba7bc48
item_updated_time: 1764345475080
title_diff: "[{\"diffs\":[[1,\"搭建基于go的翻墙工具-goflyway\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":20}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>搭建基于go的翻墙工具-goflyway</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  <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=\\\"7079\\\"></a>\\\r\\\n<h1>搭建基于go的翻墙工具-goflyway</h1>\\\r\\\n\\\r\\\n<div><span>\\\n  <div style=\\\"--en-clipped-content:article\\\">\\\n<div><br/></div><div style=\\\"font-size: 16px; display:block; min-width: 100%; position: relative;\\\"> <div style=\\\"font-family:inherit;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;text-size-adjust:100%;box-sizing:border-box;font-size:62.5%;\\\"><div style=\\\"font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;background:rgb(255, 255, 255);color:rgb(51, 51, 51);line-height:1.5;font-size:16px;font-family:&quot;Source Sans Pro&quot;, sans-serif;\\\"><div style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;transition:left 0.3s ease-in-out 0s;\\\"><div style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;\\\"><div style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;\\\"><span style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\">\\\n\\t<div style=\\\"box-sizing:border-box;display:block;min-height:36px;position:relative;\\\">\\\n\\t\\t<h1 style=\\\"border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-family:Ubuntu, sans-serif;font-size:30px;color:rgb(119, 119, 119);line-height:1.2;margin-bottom:0.75em;text-decoration:none;font-style:normal;font-weight:400;\\\">搭建基于go的翻墙工具-goflyway</h1>\\\n\\t\\t<div style=\\\"border:0px;font-family:inherit;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(153, 153, 153);font-size:12px;border-right:1px solid rgb(204, 204, 204);padding-right:3em;margin-top:2.5em;position:absolute;top:100%;left:-216px;text-align:right;width:180px;\\\">\\\n\\t\\t\\t<span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;padding:0px;box-sizing:border-box;clear:both;vertical-align:top;width:100%;margin:0px 0px 9px;display:inline-block;\\\"><a href=\\\"https://higeon.wordpress.com/2017/10/08/%e6%90%ad%e5%bb%ba%e5%9f%ba%e4%ba%8ego%e7%9a%84%e7%bf%bb%e5%a2%99%e5%b7%a5%e5%85%b7-goflyway/\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;transition:all 0.3s ease-in-out 0s;color:rgb(153, 153, 153);text-decoration:none;\\\"><span style=\\\"box-sizing:border-box;\\\">2017-10-08</span></a><span style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px 7px;display:none;\\\">|</span></span><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;padding:0px;box-sizing:border-box;clear:both;vertical-align:top;width:100%;margin:0px 0px 9px;display:inline-block;\\\"> <span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"><a href=\\\"https://higeon.wordpress.com/author/higeon/\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;transition:all 0.3s ease-in-out 0s;color:rgb(153, 153, 153);\\\">higeon</a></span><span style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px 7px;display:none;\\\">|</span></span><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;padding:0px;box-sizing:border-box;clear:both;vertical-align:top;width:100%;margin:0px 0px 9px;display:inline-block;\\\"><a href=\\\"https://higeon.wordpress.com/tag/%e6%8a%80%e6%9c%af/\\\" rel=\\\"tag\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;transition:all 0.3s ease-in-out 0s;color:rgb(153, 153, 153);\\\">技术</a><span style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px 7px;display:none;\\\">|</span></span>\\t\\t</div>\\\n\\\n\\t</div>\\\n\\\n\\t<div style=\\\"border:0px;font-family:inherit;font-style:inherit;font-weight:inherit;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin:1.5em 0px 0px;font-size:16px;min-height:82px;\\\"><span style=\\\"font-family:inherit;font-size:16px;font-style:inherit;font-weight:inherit;display:table;\\\"></span>\\\n\\t\\t<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">\\\n<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">\\\n<p style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-bottom:1.5em;\\\"><span style=\\\"border:0px;font-family:inherit;font-size:15px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">by FISHERMAN</span></p>\\\n<div style=\\\"border:0px;font-family:inherit;font-size:15px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-top:-10px;\\\">\\\n<p style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-bottom:1.5em;\\\"><a href=\\\"http://briteming.blogspot.com/\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(119, 119, 119);transition:all 0.3s ease-in-out 0s;\\\" target=\\\"_blank\\\">YM’S BLOG.人生如戏，全靠演技.既要看得透，还要看得远.</a> / 2017-10-08 12:48</p>\\\n</div>\\\n<div dir=\\\"ltr\\\" style=\\\"border:0px;font-family:inherit;font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;line-height:150%;\\\">\\\n<div dir=\\\"ltr\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;text-align:left;\\\">\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:0;padding-bottom:.3em;\\\">服务端安装</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">goflyway基于golang，所以如果想要从源码编译，请首先<a href=\\\"https://golang.org/doc/install\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;text-decoration:none;\\\">安装go环境</a>并正确配置<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">$GOPATH</code>和<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">$GOROOT</code>路径（<a href=\\\"http://www.jianshu.com/p/4e699ff478a5\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;text-decoration:none;\\\">比如这个教程</a>）。然后：</div>\\\n<pre style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:16px;vertical-align:baseline;box-sizing:border-box;background:rgb(238, 238, 238);line-height:1.45;margin-bottom:16px;max-width:100%;overflow:auto;background-color:#f6f8fa;color:#24292e;\\\"><code style=\\\"border:0;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;background-color:transparent;line-height:inherit;\\\">go get -u <a href=\\\"http://github.com/coyove/goflyway/cmd/goflyway\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(119, 119, 119);transition:all 0.3s ease-in-out 0s;\\\">github.com/coyove/goflyway/cmd/goflyway</a><br style=\\\"box-sizing:border-box;\\\"/></code></pre>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">完成后goflyway会被编译到<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">$GOPATH/bin</code>目录下，您也可以将<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">$GOPATH/bin</code>这个路径加入到<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">$PATH</code>中以直接调用goflyway。</div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%AE%89%E8%A3%85\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>客户端安装</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">客户端的安装与服务端类似。完成后请将<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">$GOPATH/src/<a href=\\\"http://github.com/coyove/goflyway/chinalist.txt\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(119, 119, 119);transition:all 0.3s ease-in-out 0s;\\\">github.com/coyove/goflyway/chinalist.txt</a></code>这个文件拷贝至goflyway的同目录下，注意这一步不是必须的：在缺乏<span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">chinalist.txt文件的情况下，goflyway只会通过IP判断国内外流量，而chinalist可以更快的匹配（无匹配时才会查询IP</span>）。</div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#%E8%BF%90%E8%A1%8C\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>运行</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">在服务端直接执行<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">./goflyway -k=KEY</code>即可，<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">KEY</code>为自定义密码，默认监听8100。客户端执行<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">./goflyway -k=KEY -up=&quot;VPS_IP:8100&quot;</code>连接，<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">VPS_IP</code>为服务端的IP。</div>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;margin-bottom:16px;\\\"><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#24292e;\\\">客户端启动后，请设置本地代理为</span><code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;color:#24292e;\\\">127.0.0.1:8100</code><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#24292e;\\\">（</span><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0000FF;\\\">类型为HTTP代理</span><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#24292e;\\\">）。8100端口为默认值，可以使用以下命令修改：</span></div>\\\n<pre style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:16px;vertical-align:baseline;box-sizing:border-box;background:rgb(238, 238, 238);line-height:1.45;margin-bottom:16px;max-width:100%;overflow:auto;background-color:#f6f8fa;color:#24292e;\\\"><code style=\\\"border:0;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;background-color:transparent;line-height:inherit;\\\">-l=:port号 或 -p=&quot;ip:port&quot;<br style=\\\"box-sizing:border-box;\\\"/></code></pre>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">对于服务端，<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-l</code>同样用于修改其监听地址，请不要忘了同时修改客户端<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-up</code>命令中的端口号。</div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'S\\\\Aegoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\">（<span style=\\\"border:0px;font-family:inherit;font-size:small;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">服务器上，我运行的命令为</span><span style=\\\"border:0px;font-family:Menlo;font-size:11px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">goflyway -k=我的key -l=:8200 &gt; /dev/null &amp; </span></h2>\\\n<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"><span style=\\\"border:0px;font-family:Menlo;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"><span style=\\\"border:0px;font-family:inherit;font-size:11px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">客户机器上，</span></span><span style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;\\\">我运行的命令为</span><span style=\\\"border:0px;font-family:Menlo;font-size:11px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;\\\">goflyway -k=我的key -up=my_vps_ip:8200 -l=:7100 &gt; /dev/null &amp; )</span></div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#%E5%AF%86%E9%92%A5\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>密钥</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">服务端与客户端的<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">KEY值</code>需保持一致，如果在本地使用了错误的<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">KEY</code>连接，服务端会在两次尝试后BAN掉连接IP。此时请：</div>\\\n<ul style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin:0px 0px 1.5em 3em;list-style:disc;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;margin-top:0;padding-left:2em;\\\">\\\n<li style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">检查<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">KEY</code>是否正确，重启服务端（以清空IP黑名单）再尝试连接</li>\\\n<li style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-top:.25em;\\\">或访问 <a href=\\\"http://127.0.0.1:8100/?goflyway-console\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;text-decoration:none;\\\">http://127.0.01:8100/?goflyway-console</a> ，检查<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">KEY</code>是否正确，然后点击“解锁”</li>\\\n</ul>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#%E7%AE%80%E5%8D%95%E8%AE%A4%E8%AF%81\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>简单认证</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">在服务端和客户端使用<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-a username:password</code>启用用户认证（<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">username</code>和<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">password</code>请自行设定，不要忘了中间的冒号），开启后您需要用户名和密码才能够连接客户端的HTTP或SOCKS5代理。</div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#%E5%85%A8%E5%B1%80\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>全局</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">客户端使用<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-g</code>开启全局代理，此时不会区分国内和国外流量。</div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#%E5%8D%8A%E5%8A%A0%E5%AF%86\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>半加密</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">服务端可以使用<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-partial</code>开启半加密模式，这样HTTPS传输的数据只有前18kb会被加密（后续的数据本身就是加密的）以降低CPU占用。需要注意的是客户端同样需要加上<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-partial</code>，且HTTP流量不受该命令影响。如果使用SOCKS5代理，请不要使用该命令。</div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>反向代理</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">因为goflyway的服务端本质上是一个具有代理功能的HTTP服务器，所以您可以使用<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-pr<br style=\\\"box-sizing:border-box;\\\"/>\\\noxy-pass <a href=\\\"http://xxx.xxx.xxx.xxx:xxx/\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(119, 119, 119);transition:all 0.3s ease-in-out 0s;\\\">http://xxx.xxx.xxx.xxx:xxx</a></code>的方式打开goflyway的反向代理功能。</div>\\\n<pre style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:16px;vertical-align:baseline;box-sizing:border-box;background:rgb(238, 238, 238);line-height:1.45;margin-bottom:16px;max-width:100%;overflow:auto;background-color:#f6f8fa;color:#24292e;\\\"><code style=\\\"border:0;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;background-color:transparent;line-height:inherit;\\\">     +---------+                          +-----------------+<br style=\\\"box-sizing:border-box;\\\"/>     | browser |-.                      .-| your web server |<br style=\\\"box-sizing:border-box;\\\"/>     +---------+      +----------+    /  +-----------------+<br style=\\\"box-sizing:border-box;\\\"/>                   }==&gt;| goflyway |==={   <br style=\\\"box-sizing:border-box;\\\"/>+--------------+  /    +----------+      +----------------+<br style=\\\"box-sizing:border-box;\\\"/>| proxy client |-'                      '-| GFWed websites |<br style=\\\"box-sizing:border-box;\\\"/>+--------------+                          +----------------+<br style=\\\"box-sizing:border-box;\\\"/></code></pre>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">设置goflyway监听在80端口上，这样客户端发出的代理请求会被正常处理，而浏览器也可以正常访问网站。</div>\\\n<h2 style=\\\"font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';border:0px;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-size:30px;font-style:normal;font-weight:400;background-color:#FFFFFF;border-bottom-color:rgb(234,236,239);border-bottom-style:solid;border-bottom-width:1px;color:#24292e;line-height:1.25;margin-bottom:16px;margin-top:24px;padding-bottom:.3em;\\\"><a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B#udp-relay\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:#0366d6;transition:all 0.3s ease-in-out 0s;background-color:transparent;float:left;line-height:1;margin-left:-20px;padding-right:4px;text-decoration:none;\\\"></a>UDP Relay</h2>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;margin-bottom:16px;\\\">在客户端和服务端<span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:600;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">同时</span>加上<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-u PORT</code>打开UDP relay功能，注意端口号必须相同。目前relay只在Discord、Chrome（QUIC）之类的软件中测试过（使用SocksCap64和SSTap），且不会区分国内外流量（默认全局）。</div>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;\\\">goflyway使用的是UDP over TCP的传输方式，<code style=\\\"border:0px;font-family:'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:13.6px;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:.2em 0;vertical-align:baseline;box-sizing:border-box;font:15px Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace;\\\">-udp-tcp N</code>可以指定使用N个TCP连接来承载1个UDP连接（默认N=1），您可以适当调整该值优化传输速度。</div>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;\\\"></div>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;\\\">from <a href=\\\"https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(119, 119, 119);transition:all 0.3s ease-in-out 0s;background-color:transparent;\\\">https://github.com/coyove/goflyway/wiki/%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B</a></div>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;\\\">———-</div>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;\\\"></div>\\\n<div style=\\\"border:0px;font-family:'-apple-system', 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;background-color:#FFFFFF;color:#24292e;\\\">我虽然成功用来翻墙，但却打不开youtube.</div>\\\n</div>\\\n</div>\\\n<p style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-bottom:1.5em;\\\">— </p>\\\n<div style=\\\"border:0px;font-family:inherit;font-size:16px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-top:-10px;\\\">\\\n<p style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-bottom:1.5em;\\\"> Shared via <a href=\\\"http://www.inoreader.com/\\\" style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(119, 119, 119);transition:all 0.3s ease-in-out 0s;\\\" target=\\\"_blank\\\">Inoreader</a></p>\\\n</div>\\\n</div>\\\n<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"></div>\\\n</div>\\\n<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\">\\\n        \\\n    </div>\\t\\t<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;text-align:center;line-height:0;\\\">\\\n\\t\\t\\t<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;position:relative;max-width:100%;text-align:left;transform:translate3d(0px, 0px, 0px);min-width:300px;display:inline-block;\\\">\\\n\\t\\t\\t\\t<span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;position:absolute;top:5px;left:0px;right:0px;display:block;min-width:160px;opacity:0.85;border-bottom:none;font:10px/1 &quot;Open Sans&quot;, Arial, sans-serif;text-align:left;text-decoration:none;\\\">Advertisements</span>\\\n\\t\\t\\t\\t<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-top:20px;\\\">\\t\\t<div style=\\\"display:block;margin-top:0px;border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;margin-bottom:20px;box-sizing:content-box;padding-bottom:15px;width:300px;height:250px;float:left;margin-right:5px;\\\">\\\n\\t\\t\\t<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"><div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;height:250px;width:300px;\\\"><div style=\\\"border:none;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;max-width:100%;overflow:hidden;width:300px;height:250px;position:relative;\\\"><div style=\\\"-evernote-clipper-iframe:timeout;\\\"></div></div></div><div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;text-align:right;line-height:10px;height:10px;width:300px;\\\"><span style=\\\"border:0px;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;box-sizing:border-box;color:rgb(200, 199, 204);text-transform:uppercase;letter-spacing:0.3px;cursor:pointer;font-family:Verdana, sans-serif;font-size:6px;vertical-align:middle;display:inline;\\\">Report this ad</span></div></div>\\\n\\t\\t</div></div>\\\n\\t\\t\\t\\t\\\n\\t\\t\\t</div>\\\n\\t\\t</div><div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;padding-top:0.5em;clear:both;\\\"><div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;\\\"><div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"><h3 style=\\\"border:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clear:both;text-transform:uppercase;font-family:Ubuntu, sans-serif;font-style:normal;font-weight:700;margin:0px 0px 1em;display:inline-block;line-height:1.2;font-size:9pt;\\\"><span style=\\\"font-family:Ubuntu, sans-serif;font-weight:700;font-style:normal;line-height:1.2;font-size:9pt;text-transform:uppercase;display:block;width:100%;min-width:30px;border-top:1px solid rgba(0, 0, 0, 0.2);margin-bottom:1em;\\\"></span>Share this:</h3><div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"><ul style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;margin:0px 0px 0.7em;padding:0px;list-style:none;\\\"><li style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;display:inline-block;margin:0px 5px 5px 0px;padding:0px;\\\"><a href=\\\"https://higeon.wordpress.com/2017/10/08/%e6%90%ad%e5%bb%ba%e5%9f%ba%e4%ba%8ego%e7%9a%84%e7%bf%bb%e5%a2%99%e5%b7%a5%e5%85%b7-goflyway/?share=twitter&amp;nb=1\\\" rel=\\\"nofollow noopener noreferrer\\\" style=\\\"font-style:inherit;margin:0px;outline:0px;vertical-align:baseline;box-sizing:border-box;transition:all 0.3s ease-in-out 0s;display:inline-block;border-radius:3px;background:rgb(248, 248, 248);box-shadow:rgba(0, 0, 0, 0.08) 0px 1px 0px;text-shadow:none;line-height:23px;border:1px solid rgb(204, 204, 204);font-family:&quot;Open Sans&quot;, sans-serif;font-size:12px;font-weight:400;padding:1px 8px 0px 5px;text-decoration:none;color:rgb(84, 84, 84);\\\" target=\\\"_blank\\\" title=\\\"点击以在 Twitter 上共享\\\"><span style=\\\"font-family:Open Sans, sans-serif;font-size:12px;font-style:inherit;font-weight:400;color:rgb(84, 84, 84);line-height:23px;display:inline-block;-webkit-font-smoothing:antialiased;font:18px/1 social-logos;vertical-align:top;text-align:center;position:relative;top:2px;\\\"></span><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-left:3px;line-height:23px;\\\">Twitter</span></a></li><li style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;display:inline-block;margin:0px 5px 5px 0px;padding:0px;\\\"><a href=\\\"https://higeon.wordpress.com/2017/10/08/%e6%90%ad%e5%bb%ba%e5%9f%ba%e4%ba%8ego%e7%9a%84%e7%bf%bb%e5%a2%99%e5%b7%a5%e5%85%b7-goflyway/?share=facebook&amp;nb=1\\\" rel=\\\"nofollow noopener noreferrer\\\" style=\\\"font-style:inherit;margin:0px;outline:0px;vertical-align:baseline;box-sizing:border-box;transition:all 0.3s ease-in-out 0s;display:inline-block;border-radius:3px;background:rgb(248, 248, 248);box-shadow:rgba(0, 0, 0, 0.08) 0px 1px 0px;text-shadow:none;line-height:23px;border:1px solid rgb(204, 204, 204);font-family:&quot;Open Sans&quot;, sans-serif;font-size:12px;font-weight:400;padding:1px 8px 0px 5px;text-decoration:none;color:rgb(84, 84, 84);\\\" target=\\\"_blank\\\" title=\\\"Click to share on Facebook\\\"><span style=\\\"font-family:Open Sans, sans-serif;font-size:12px;font-style:inherit;font-weight:400;color:rgb(84, 84, 84);line-height:23px;display:inline-block;-webkit-font-smoothing:antialiased;font:18px/1 social-logos;vertical-align:top;text-align:center;position:relative;top:2px;\\\"></span><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;margin-left:3px;line-height:23px;\\\">Facebook</span></a></li><li style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;vertical-align:baseline;box-sizing:border-box;display:inline-block;margin:0px 5px 5px 0px;padding:0px;\\\"></li></ul></div></div></div><div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;width:100%;min-height:50px;position:relative;clear:both;\\\"><div style=\\\"margin:0px;border-width:0px;display:block;width:100%px;float:none;position:absolute;top:0px;border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;max-width:100%;height:55px;\\\"><div style=\\\"font-size: 16px; display:block; min-width: 100%;\\\"> <div style=\\\"overflow:hidden;\\\"><div style=\\\"color:rgb(51, 51, 51);font-family:&quot;Open Sans&quot;, Helvetica, sans-serif;font-size:16px;direction:ltr;font-weight:400;font-style:normal;text-decoration:none solid rgb(51, 51, 51);\\\">\\\n<div>\\\n\\t<div style=\\\"font-size:11px;font-family:&quot;Open Sans&quot;, sans-serif;\\\">\\\n\\t\\t\\\n\\\n\\t\\t<div style=\\\"min-width:73px;float:left;\\\">\\\n\\t\\t\\t<a href=\\\"https://widgets.wp.com/likes/index.html?ver=20190321#\\\" rel=\\\"nofollow\\\" style=\\\"text-decoration:none;display:inline-block;margin:0px 5px 3px 0px;font-size:12px;font-family:&quot;Open Sans&quot;, sans-serif;border-radius:3px;color:rgb(119, 119, 119);background:rgb(248, 248, 248);border:1px solid rgb(204, 204, 204);box-shadow:rgba(0, 0, 0, 0.08) 0px 1px 0px;text-shadow:none;line-height:23px;padding:1px 8px 0px 5px;\\\" title=\\\"第一个点赞。\\\"><span style=\\\"font-size:12px;font-family:Open Sans, sans-serif;color:rgb(119, 119, 119);line-height:23px;display:inline-block;position:relative;width:16px;height:16px;text-align:center;top:3px;margin-left:-1px;margin-right:1px;background-size:16px 16px;background-image:url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='0' fill='none' width='24' height='24'/%3E%3Cg%3E%3Cpath fill='%232ba1cb' d='M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/g%3E%3C/svg%3E);\\\"></span>\\\n\\t\\t\\t\\t<span>赞</span>\\\n\\t\\t\\t</a>\\\n\\t\\t</div>\\\n\\\n\\t\\t\\\n\\t\\t<div style=\\\"clear:both;\\\"><span style=\\\"line-height:1.6;\\\">第一个点赞。</span></div>\\\n\\t</div>\\\n</div>\\\n\\\n</div></div></div></div><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;\\\"></span><a style=\\\"border:0px;font-family:inherit;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;color:rgb(119, 119, 119);transition:all 0.3s ease-in-out 0s;font-size:12px;\\\"></a></div></div>\\t\\t\\t<span style=\\\"font-family:inherit;font-size:16px;font-style:inherit;font-weight:inherit;display:table;clear:both;\\\"></span></div>\\\n\\\n\\t<div style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;position:relative;top:6px;\\\"><span style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;background:rgb(255, 255, 255);display:block;margin-left:-30px;position:absolute;left:50%;width:60px;height:40px;\\\"></span>\\\n\\t\\t<a href=\\\"https://higeon.wordpress.com/2017/10/08/%e6%90%ad%e5%bb%ba%e5%9f%ba%e4%ba%8ego%e7%9a%84%e7%bf%bb%e5%a2%99%e5%b7%a5%e5%85%b7-goflyway/\\\" style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;transition:all 0.3s ease-in-out 0s;background-color:rgb(255, 255, 255);border-radius:50%;display:block;margin-left:-18px;position:absolute;left:50%;line-height:35px;text-align:center;text-decoration:none;width:36px;height:36px;z-index:2;border:1px solid rgb(204, 204, 204);color:rgb(204, 204, 204);\\\"><span style=\\\"font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;color:rgb(204, 204, 204);line-height:35px;text-align:center;display:inline-block;font-variant:normal;text-decoration:none;text-transform:none;-webkit-font-smoothing:antialiased;speak:none;z-index:1;\\\"></span><span style=\\\"border:0px;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;box-sizing:border-box;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;overflow:hidden;left:-1000em;position:absolute;\\\">搭建基于go的翻墙工具-goflyway</span><span style=\\\"font-family:Genericons;font-size:16px;font-style:normal;font-weight:400;color:rgb(204, 204, 204);line-height:35px;text-align:center;display:inline-block;font-variant:normal;text-decoration:none;text-transform:none;-webkit-font-smoothing:antialiased;speak:none;z-index:1;\\\"></span></a>\\t</div>\\\n</div></span></div></div></div></div></div></div>\\\n</div>\\\n</span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":55725}]"
metadata_diff: {"new":{"id":"695a9a0f4a0744348a3bc4406ba7bc48","parent_id":"061de1401cfc4cfaadf6e74e015970e9","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":1764345879491,"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-28T16:20:24.586Z
created_time: 2025-11-28T16:20:24.586Z
type_: 13