id: 0f064047b02f48258b37986c0db5aba2
parent_id: 
item_type: 1
item_id: 77888fc494c84efc8363d6ee97d734a8
item_updated_time: 1764345491974
title_diff: "[{\"diffs\":[[1,\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":45}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金</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=\\\"21438\\\"></a>\\\r\\\n<h1>10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><div><br/></div><div style=\\\"min-width: 100%;\\\"><div style=\\\"background-color: transparent; vertical-align: baseline;\\\"><div style=\\\"background-color: transparent; vertical-align: baseline; text-align: left;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 0px auto; padding: 0px 2em; border: 0px; vertical-align: baseline; z-index: 200; position: relative; width: 36em;\\\"><div style=\\\"margin: 0px 25px 0px -25px; padding: 0px; border: 0px; vertical-align: baseline; position: relative;\\\"><div style=\\\"margin: 0px; padding: 0px 0px 9em; border: 0px; vertical-align: baseline; position: relative;\\\"><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; position: relative;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"font-size: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><h1 style=\\\"border: 0px; vertical-align: baseline; text-align: left; font-size: 35px; padding: 0px; margin: 0px;\\\"><span style=\\\"font-size: 35px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: normal;\\\">10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备）</span></h1><div style=\\\"padding: 1.5em 0px; border: 0px; font-size: inherit; vertical-align: baseline; position: relative; height: 1em; text-align: center; margin: 0px;\\\"><div style=\\\"padding:0px;border:0px;font:inherit;vertical-align:baseline;position:absolute;left:-4em;top:50%;z-index:10;width:100%;padding-left:4em;padding-right:4em;height:0.1em;opacity:0.5;background:-webkit-linear-gradient(0deg, rgb(243, 242, 238) 1%, rgb(31, 9, 9) 50%, rgb(243, 242, 238) 99%);margin:0px;margin-bottom:0px;\\\"></div></div></div><div style=\\\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 1em 0px 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"288\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);display:block;max-width:100%;\\\" width=\\\"512\\\"/></span></div></div><h2 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: bold;\\\">引言</span></h2><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">相信搞 IT 的同学平时都需要上网查资料，特别是很多新特性、新知识，都要用 Google 才能查到（别告诉我百度也挺好，百度是用来测网络通不通的），想用 Google 势必需要翻墙，网络上的 VPN 服务商虽然多，但三天两头就跟你玩失踪，好一点儿的服务又价格不菲，难道就没有更好的办法么？</span></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">这点儿小事怎么能难住咱搞技术的，之前不是跟着钢哥走了一遍 Docker 的基本命令了么，今天咱们就来小试牛刀，10分钟搭建属于你自己的VPN服务器。</span></div><blockquote style=\\\"font-size: inherit; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">还不了解 docker 是什么的同学请先阅读钢哥之前的博文：</span><a href=\\\"https://link.juejin.im/?target=https%3A%2F%2Fwangfanggang.com%2FDocker%2Fdocker%2F\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic; color: rgb(6, 85, 136); text-decoration: none;\\\" target=\\\"_blank\\\">Docker - 通往新世界的大门</a></div></blockquote><h2 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: bold;\\\">具体搭建步骤</span></h2><h3 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: normal;\\\">准备工作</span></h3><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">首先得找一台用来翻墙的海外服务器，该服务器一定要在墙外，比如：香港、新加坡、日本。你可以选择 AWS 的 EC2 或者阿里云的 ECS 服务器都可以。</span></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">其次，要在该服务器上安装 docker 运行时环境。这里以 CentOS 7 举例，首先安装 docker 运行时环境。</span></div><div style=\\\"font-size: 0.875em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: rgb(243, 242, 238); width: auto;\\\"><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">## 安装 docker</span></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">yum install docker -y</span></div><div><br/></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">## 启动 docker 服务</span></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">service docker start</span></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">chkconfig docker on</span></div><div><br/></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">## 检查 docker 版本</span></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">docker -version</span></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">复制代码</span></div></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">这些都成功了？恭喜你，你已经成功一半了！</span></div><h3 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: normal;\\\">拉取 docker 镜像</span></h3><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">好了，现在让我们直接拉取别人做好的 docker 镜像。这里我选择的是 Github 上别人做好的</span> <a href=\\\"https://link.juejin.im/?target=https%3A%2F%2Fgithub.com%2Foddrationale%2Fdocker-shadowsocks\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; font-family: &quot;PT Serif&quot;; line-height: 1.5em; color: rgb(6, 85, 136); text-decoration: none;\\\" target=\\\"_blank\\\">Shadowsock VPN Docker 镜像</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">，直接执行以下命令即可。</span></div><div style=\\\"font-size: 0.875em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: rgb(243, 242, 238); width: auto;\\\"><div><code style=\\\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 1.15em;\\\"><span style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; background-color: rgb(255, 250, 165); transition: background-color 0.4s ease 0s; color: black; font-family: Inconsolata; line-height: 1.71429em; font-style: unset;-evernote-highlight:true;\\\" title=\\\"点击以取消高亮显示\\\">docker pull oddrationale/docker-shadowsocks</span></code></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">复制代码</span></div></div><div style=\\\"font-size: inherit;\\\"><br/></div><div style=\\\"font-size: inherit;\\\"><br/></div><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 1em 0px 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1 [1]\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"208\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);display:block;max-width:100%;\\\" width=\\\"576\\\"/></span></div></div><h3 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: normal;\\\">运行 docker 镜像</span></h3><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">运行如下命令启动该 docker 镜像。</span></div><div style=\\\"font-size: 0.875em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: rgb(243, 242, 238); width: auto;\\\"><div><code style=\\\"margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-size: 1.15em;\\\"><span style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; background-color: rgb(255, 250, 165); transition: background-color 0.4s ease 0s; color: black; font-family: Inconsolata; line-height: 1.71429em; font-style: unset;-evernote-highlight:true;\\\" title=\\\"点击以取消高亮显示\\\">docker run -d -p 12345:12345 oddrationale/docker-shadowsocks -s 0.0.0.0 -p 12345 -k welcome -m aes-256-cfb</span></code></div><div><span style=\\\"font-size: 1.15em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">复制代码</span></div></div><blockquote style=\\\"font-size: inherit; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><ul style=\\\"padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; margin: 0px 0px 1.5em 1.5em; list-style: disc;\\\"><li style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; list-style-type: inherit; list-style-position: outside;\\\"><div><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; font-style: italic; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">-d</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">参数允许 docker 常驻后台运行</span></div></li><li style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; list-style-type: inherit; list-style-position: outside;\\\"><div><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; font-style: italic; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">-p</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">来指定要映射的端口，这里端口号统一保持一致即可。例如：12345</span></div></li><li style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; list-style-type: inherit; list-style-position: outside;\\\"><div><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; font-style: italic; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">-s</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">服务器 IP 地址，不用动</span></div></li><li style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; list-style-type: inherit; list-style-position: outside;\\\"><div><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; font-style: italic; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">-k</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">后面设置你的 VPN 的密码，比如：welcome</span></div></li><li style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; list-style-type: inherit; list-style-position: outside;\\\"><div><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; font-style: italic; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">-m</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">指定加密方式</span></div></li></ul></blockquote><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><br/></div><div style=\\\"margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"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-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.15);-en-codeblock:true;\\\"><div><font color=\\\"#FF0000\\\" style=\\\"font-size: 12pt;\\\">docker run -d -p 13579:13579 oddrationale/docker-shadowsocks -s 0.0.0.0 -p 13579 -k jjtmp1 -m aes-256-cfb</font></div></div></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;;\\\"><br/></span></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">运行</span><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">docker ps -a</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">查看容器是否已成功运行起来了。</span></div><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1 [2]\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"87\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);\\\" width=\\\"1165\\\"/></span></div><h3 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: normal;\\\">安装 vpn 客户端（Mac &amp; Windows）</span></h3><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">接下来要测试我们的 VPN 服务器是否正常工作了，由于我们大部分时间都是用 PC 来翻墙，先下载个好用的 VPN 客户端。这里推荐下载</span> <a href=\\\"https://link.juejin.im/?target=https%3A%2F%2Fgithub.com%2Fshadowsocks\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; font-family: &quot;PT Serif&quot;; line-height: 1.5em; color: rgb(6, 85, 136); text-decoration: none;\\\" target=\\\"_blank\\\">shadowsocks</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">，简单易用，各个平台版本也都有。</span></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">这里以 Mac 版本为例，直接安装即可，非常简单。运行起来后，工具栏上有一个小飞机的图标，进入到“</span><span style=\\\"font-size: inherit; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-weight: bold; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">服务器设置</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">”。</span></div><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 1em 0px 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1 [3]\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"393\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);display:block;max-width:100%;\\\" width=\\\"521\\\"/></span></div></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">点击“</span><span style=\\\"font-size: inherit; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-weight: bold; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">+</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">”图标添加新的服务器，如下图所示设置连接信息。</span></div><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 1em 0px 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1 [4]\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"514\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);display:block;max-width:100%;\\\" width=\\\"576\\\"/></span></div></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">设置好以后，赶紧打开浏览器，试着访问一下：</span><a href=\\\"https://link.juejin.im/?target=http%3A%2F%2Fwww.google.com\\\" style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; font-family: &quot;PT Serif&quot;; line-height: 1.5em; color: rgb(6, 85, 136); text-decoration: none;\\\" target=\\\"_blank\\\">www.google.com</a><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">，一切正常的话，新世界的大门已经向你敞开了。</span></div><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 1em 0px 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1 [5]\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"349\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);display:block;max-width:100%;\\\" width=\\\"576\\\"/></span></div></div><blockquote style=\\\"font-size: inherit; margin: 0px 0px 1.5em 2em; padding: 0px 0px 0px 1em; border-width: 0px 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-bottom-style: initial; border-color: initial; border-image: initial; vertical-align: baseline; quotes: none; border-left-style: solid;\\\"><div style=\\\"margin: 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">钢哥注：如果访问不了，先确认你的连接信息是否正确。另外如果使用的云服务器，记得检查一下</span><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; font-style: italic; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">网络安全组</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">里的网络</span><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; font-style: italic; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">端口</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em; font-style: italic;\\\">是否已经开放了。</span></div></blockquote><h3 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: normal;\\\">安装 vpn 客户端（手机端）</span></h3><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">手机上也可以安装类似的 Shadowsocks 应用。由于我自己用的是 iPhone，所以安装了一个叫</span><span style=\\\"font-size: 0.875em; color: rgb(31, 9, 9); font-family: Inconsolata; line-height: 1.71429em; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\">Wingy</span><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">的应用。有一点需要注意，这个应用只在美国的 App Store 上提供，所以需要大家自己想办法啦。设置起来很简单，跟 PC 端是一样的，这里就不赘述了。</span></div><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 1em 0px 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1 [6]\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"1024\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);display:block;max-width:100%;\\\" width=\\\"576\\\"/></span></div></div><h2 style=\\\"font-size: 30px; margin: 35px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; text-align: left;\\\"><span style=\\\"font-size: 30px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 35px; font-weight: bold;\\\">结语</span></h2><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">怎么样？通过这次实践，是不是觉得 Docker 真的是个好东西？其实还有很多好的 Docker 镜像，大家也可以自己封装一些，然后上传到公共的 Docker 仓库上贡献给大家。</span></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">最后，希望大家都掌握了科学上网的技能，多多用来学习查资料，传播正能量，少看一些不可描述的东西：）</span></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">感谢大家的关注！！</span></div><hr style=\\\"font-size: inherit; border-top: none; border-right: none; border-bottom: 1px solid; border-left: none;\\\"/><div style=\\\"font-size: inherit;\\\"></div><div style=\\\"font-size: inherit;\\\"><br/></div><div style=\\\"font-size: inherit; margin: 1em 0px; padding: 0px; border: 0px; vertical-align: baseline;\\\"><div style=\\\"margin: 1em 0px 0px; padding: 0px; border: 0px; font-size: inherit; vertical-align: baseline; text-align: center;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\"><img src=\\\"10分钟用 Docker 搭建自己的 Shadowsocks VPN（翻墙必备） - 掘金_files/1 [7]\\\" type=\\\"image/webp\\\" data-filename=\\\"1\\\" height=\\\"258\\\" style=\\\"margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-color:rgb(31, 9, 9);display:block;max-width:100%;\\\" width=\\\"258\\\"/></span></div></div></div></div></div></div><div style=\\\"font-size: inherit; margin: 0px 0px 1.5em; padding: 0px; border: 0px; vertical-align: baseline; position: absolute; top: -1000px; left: -1000px;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1.5em;\\\">Measure</span></div><div style=\\\"font-size: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; position: absolute; top: -1000px; left: -1000px;\\\"><span style=\\\"font-size: 16px; color: rgb(31, 9, 9); font-family: &quot;PT Serif&quot;; line-height: 1;\\\">Measure</span></div></div></div></div></div></div></div></div><div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":27274}]"
metadata_diff: {"new":{"id":"77888fc494c84efc8363d6ee97d734a8","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":1764345714144,"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:12:21.761Z
created_time: 2025-11-28T16:12:21.761Z
type_: 13