交流评论、关注点赞

  • Facebook Icon脸书专页
  • telegram Icon翻墙交流电报群
  • telegram Icon电报频道
  • RSS订阅禁闻RSS/FEED订阅

outline翻墙的部署和使用图文教程

2019年09月12日 10:13 PDF版 分享转发

Outline 是一款爱国工具,Jigsaw 开发的项目——Jigsaw 属于 alphabet 旗下,而 alphabet 是 母公司。那么,这是一款 Google 出品工具?

Outline 官方网站:https://getoutline.org/en/home

Outline 需要服务器端和客户端:

1、客户端,已经有各种版本,包括 Andriod、 等等:iOS 客户端下载地址在这里?,目前中国区还可以下载。(需要的不妨先下载一个,谁知道什么时候会下架呢?)

2、服务器端,需要在 VPS 服务器上安装,过程非常简单,需要在电脑上。

下面简单记录一下 Outline 服务端安装/部署和客户端使用:

首先下载一个 Outline Manager 工具:Windows 7+LinuxmacOS 10.9+

这里以 版为例,下载后安装即可。打开 Outline Manager 会教你如何在服务器上安装 Outline 服务器端。

默认推荐使用Digital Ocean这家 VPS。其它测试通过的有: EC2、Google Compute Engine、Vultr、Linode、Liquid Web……

这里选择Vultr家 VPS 测试。ADVANCED Set up Outline anywhere 下面点击 Get Started 开始安装。很简单,只需两步即可完成。

 697-outline

第一步,SSH 登录 VPS(测试使用 root 账户),执行 Outline Manager 给出的命令:

wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash

如无意外,会有下面的错误提示:

> Verifying that Docker is installed ……….?Docker CE must be installed, please run “curl -sS https://get.docker.com/ | sh” or visit https://docs.docker.com/install/

Sorry! Something went wrong. If you can’t figure this out, please copy and paste all this output into the Outline Manager screen, and send it to us, to see if we can help you.

Outline 服务器端部署基于 Docker,要求 VPS 服务器要已经安装并启动 Docker 服务,还需要关闭?(反正我测试的时候是关闭了)。如果没有做到这些,就会出现上面的错误提示。

如出现上面的错误,那先安装/启动 Docker 服务。

Ad:美好不容错过,和家人朋友一起享受愉快时光,现在就订票
curl -sS https://get.docker.com/ | sh

执行命令,静待几分钟就好。

warning: /var/cache/yum/x86_64/7/docker-ce-edge/packages/docker-ce-18.03.0.ce-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
Public key for docker-ce-18.03.0.ce-1.el7.centos.x86_64.rpm is not installed
Importing GPG key 0x621E9F35:
Userid : “Docker Release (CE rpm)?”
Fingerprint: 060a 61c5 1b55 8a7f 742b 77aa c52f eb6b 621e 9f35
From : https://download.docker.com/linux/centos/gpg
If you would like to use Docker as a non-root user, you should now consider
adding your user to the “docker” group with something like:

sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

WARNING: Adding a user to the “docker” group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.

启动 Docker 服务

service docker start

关闭防火墙

service firewalld stop

重新开始安装 Outline

wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash

如无异常,不到一分钟就能安装完。安装成功会生成 “apiUrl” 和 “certSha256″——这段 apiUrl 和 certSha256 就是要填到 Outline Manager 中第二步的内容。

 697-outline-ss

复制粘贴过去,点击 DONE,Outline Manager 就会连接到刚才部署成功的 Outline 服务端。

 697-outline-addkey

点击 ADD KEY 会生成一个分享连接,把连接发给别人或者自己。点击连接,Connect to this server,然后可以看到一个 ss:// 开头的地址,将这个地址填写到 Outline 客户端中,然后,就可以愉快的爱国了。

一圈下来,Outline 其实还是基于 Shad0ws0cks 协议的爱国工具吧?Outline 生成的链接可以直接用于小火箭;ss 服务器链接可以直接用于 Outline 客户端。

Outline iOS 客户端没有什么设置选项,只有添加服务器,连接、断开这几个功能,连接到 Outline 服务器,就是全局到 Outline 服务器走一圈再出去。这货其实就是基于 SS 协议的假 V.P$N?这样就没什么优势了,用处不大,还不如小火箭呢。

也许会慢慢完善吧。

转自POLYHEDRON博客

喜欢、支持,请转发分享↓Follow Us 责任编辑:小婉