服务器维护,服务器代维,安全设置,漏洞扫描,入侵检测服务

运维之家

 找回密码
 注册
搜索
查看: 9011|回复: 0

Outline 搭建与使用教程

[复制链接]
dirtysea 发表于 2020-4-18 23:46:03 | 显示全部楼层 |阅读模式

Outline 是一款基于 ss 的开源vpn软件,来自于 Jigsaw 公司,致力于供新闻组织用自家服务器上设定vpn,来保障新闻工作者的网络存储安全,并且号称不需要技术人员就能完成部署。


Jigsaw 前身为 Google Ideas,是 Google 旗下的技术孵化器公司,目标是以技术来客服全球的安全难题,包括地址网络神茶制度、降低网络攻击的威胁,以及防止大众收到网络骚扰等。Outline 即为 Jigsaw 的专案成果之一。



项目地址:https://github.com/Jigsaw-Code/outline-server

官网安装指导:https://github.com/Jigsaw-Code/outline-server/tree/master/src/shadowbox


 


1. 安装 Docker。


Centos 7.4 64 位 安装 Docke


sudo yum update  

curl -fsSL https://get.docker.com/ | sh   

sudo service docker start   

#验证 docker 是否安装成功并在容器中执行一个测试的镜像 

sudo docker run hello-world

Ubuntu 17.04 ×64 Docker

 


apt-get install curl   

sudo apt update   

sudo apt install apt-transport-https ca-certificates curl software-properties-common   

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –   

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"   

sudo apt update   

sudo apt -y install docker-ce

2. 部署 Outline,在 Outline Manger 里已经给出了安装部署方法。


wget -qO- https://raw.githubusercontent.co ... s/install_server.sh | bash

会生成一串 "apiUrl","cerSha256" 的 json 配置文件,该配置文件后面会用到。


You can specify flags to customize the installation. For example, to use hostname myserver.com and the port 443 for access keys, you can run:

sudo bash -c "$(wget -qO- https://raw.githubusercontent.co ... s/install_server.sh)" install_server.sh --hostname=myserver.com --keys-port=443




下载 Outline Manager

下载地址:https://github.com/Jigsaw-Code/o ... tree/master/manager


window 安装后打开截图: 因为我们服务端已经搭建好了,所以直接往下拉到 Already have a server ,然后“GET STARTED”,复制输入上面生成的“apiUrl”,“certSha256”即可开始使用:




然后点击 "Done" 即可进入下一步:


 




你可以选择 "GET CONNECTED" 生成 ss 链接自己本地使用,或者 "ADD KEY" 生成一个分享链接,分享给其它需要的小伙伴。生成分享链接后,访问那个链接地址,即可获取 ss 链接:


 




选择 COPY 后,会叫你提示你下载客户端,你可以直接选择 “INSTALL OUTLINE” 进行下载:


 




Outline 客户端下载

window 客户端下载地址:


https://raw.githubusercontent.com/Jigsaw-Code/outline-releases/master/client/Outline-Client.exe

Android 客户端下载地址:


https://play.google.com/store/apps/details?id=org.outline.android.client


下面以 Window 客户端为例,下载后,安装打开,然后输入那一串 ss 链接,然后点击 connect 即可链接:


 




连接后:


 




ok 大功告成

————————————————

版权声明:本文为CSDN博主「我叫阿尔法」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/mwz1tn/java/article/details/88600546

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|运维之家

GMT+8, 2024-3-29 17:53 , Processed in 0.087300 second(s), 14 queries .

Powered by Dirtysea

© 2008-2020 Dirtysea.com.

快速回复 返回顶部 返回列表