allenking1028 / ss

983 stars 313 forks source link

outline 的折腾代码 #5

Open allenking1028 opened 6 years ago

allenking1028 commented 6 years ago

谷歌VM实例系统里面 没有Debian8了

所以大家改用CentOS6

也可以使用debian9(推荐)


outline官方地址:https://getoutline.org/ 服务器上使用的代码:

1: sudo -i

2: curl -sS https://get.docker.com/ | sh

3:systemctl start docker

4:systemctl enable docker

5:systemctl status docker

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

在电脑上下载安装 outline 管理端 (地址就是他们主页)

outline1

然后在想要使用的平台上下载相应的客户端(地址依旧是他们主页)

outline2

谷歌云防火墙规则添加 (位置在谷歌云 VPC网络-防火墙) 点击添加新规则,然后按照一下这个设置好。这样 SSR 设置任何端口都可以使用。并且后续不需要再来防火墙规则做设置了。缺点是 所有端口开放。当然也会有一些危险。

2018-03-28 12 52 20
terlanks commented 6 years ago

好像那个网址不行了,用这个:https://getoutline.org/

likfe commented 6 years ago

Home URL is : https://getoutline.org

rockyliang commented 6 years ago

请问可以使用Amazon的dorker container去建立这个Outline的服务器吗?因为见到你在一个VM上安装dorker,所以想知道是否可以直接在Amazon的dorker container使用?

devilcn commented 6 years ago

@rockyliang 可以直接在Docker container中使用,直接执行最后一句即可。 wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash 如果使用CentOS记得使用以下命令添加1024-65535 TCP / udp放行。 firewall-cmd --permanent --zone=public --add-port=1024-65535/tcp firewall-cmd --permanent --zone=public --add-port=1024-65535/udp 接着要reload防火墙设置: firewall-cmd --reload 完成。

Idealisten commented 6 years ago

outline没有混淆吧?是不是更容易被gfw检测到?

throughthewall commented 6 years ago

https://getoutline.org/en/home 用这个英文页面。跟视频中一样的。

maobixiaoxin commented 6 years ago

我不想開放所有port 請問outline使用的哪些port?

devilcn commented 6 years ago

@maobixiaoxin 根据我目前的观察,它会用到1024-65535范围的port. 需要打开TCP和UDP. 当然你也可以去更改源码来控制端口范围后再进行部署。参见:outline-server/src/shadowbox/infrastructure/get_port.ts中 const MAX_PORT = 65535; const MIN_PORT = 1024;

Yeluo101 commented 6 years ago

你们好,问一下bbr对这个有效吗?

devilcn commented 6 years ago

@Yeluo101 BBR目前不支持

Idealisten commented 6 years ago

请问,可以在 managers端添加多个VPS吗?

weicheng199 commented 6 years ago

不支持bbr和锐速,所以我又装回了ss。没了bbr vultr太慢。

Idealisten commented 6 years ago

BBR我装了啊可以用

weicheng199 commented 6 years ago

装了bbr outline-manager,会连接不上服务器。但还是能ss翻墙。 @Idealisten

Idealisten commented 6 years ago

@weicheng199 我装了SSR,BBR,Outline,都没有问题,全部正常使用

throughthewall commented 6 years ago

按照视频在谷歌云搭建了一次。 过了一个周末,谷歌云上出现如下提示: -------------------------------------来自谷歌云提示----------------------------------------- 此实例最近的 CPU 和内存利用率较高。 建议改用机器类型“g1-small(1 个 vCPU,1.7 GB 内存)”。 了解详情 当前机器类型 f1-micro(1 个 vCPU,0.6 GB 内存) 新机器类型 g1-small(1 个 vCPU,1.7 GB 内存) 推荐 自定义

考虑安装 Monitoring Agent,获取更加精准的推荐 了解详情 此实例正在运行。更改机器类型会导致 VM 重新启动。 -------------------------------提示结束--------------------------------- outline比brook和V2ray占用更多资源呀!

JosonJiang commented 6 years ago

outline 感覺是 客戶端到服務器再到海外那服務器,然後你翻牆

v2ray、brook、ssr ss 客戶端海外那服務器,然後你翻牆

Idealisten commented 6 years ago

@JosonJiang 你说的这个outline服务器是指manager?

JosonJiang commented 6 years ago

@Idealisten 是的,而且這個太慢了,同一個服務器上安裝了做個測試!比較慢。不過也沒卸載留在備用吧!

Idealisten commented 6 years ago

有的机子会提示curl: command not found,执行apt install curl(Debian),再执行2就可以了

cselite520 commented 6 years ago

什么鬼,连不上Manager,防火墙设置按照教程来的。就是同时还存在两个优先级也是1000的此为SS设置的防火墙规则,不知道有影响没。不敢删,否则SS上不去就麻烦了。

Idealisten commented 6 years ago

@cselite520 谷歌云?我用的正常啊

Idealisten commented 6 years ago

安装curl出现E: Unable to locate package curl的话先执行apt update

ElementMTT commented 6 years ago

1.本身就是一个套着漂亮外壳的SS(外观的确很简洁漂亮),但是是个比较笨的花瓶而已,用它只能全局,国内应用是会悲剧,本来就给是媒体记者什么的用的加密工具; 2.本身也支持SS协议,如果你已经有搭建SS,没有必要在去用它的Manager折腾,把SS链接复制到Outline里面去就OK。

dengpc commented 6 years ago

下载不了,能提供以下MAC或者windows客户端的下载地址吗

libardoram commented 6 years ago

How to use port 443 for the vpn connection?

jiangok2002 commented 6 years ago
elrice2010 commented 6 years ago

請問reboot之後要怎麼讓程式重新啟動?

gnohch commented 6 years ago

手机上的网速很慢,感觉和赛风差不多

Idealisten commented 6 years ago

重启server后如何重启outline服务?

zjnbzsj commented 6 years ago

2018-06-02 08 49 35 执行第五条命令时出现上述情况,然后就无法进行下去了。

zjnbzsj commented 6 years ago

前面四条命令执行正常,但是到执行第五条“ sudo sudo systemctl status docker”时,就出现上面显示的情况,不知道如何解决,不过这个代码在其它VPS上都可以用,不知道为什么在谷歌云上出现这种情况,难道是谷歌设置上有问题?

Idealisten commented 6 years ago

按Ctrl+ C就行了,然后继续执行下一条

zjnbzsj notifications@github.com 于 2018年6月2日周六 上午9:42写道:

前面四条命令执行正常,但是到执行第五条“ sudo sudo systemctl status docker”时,就出现上面显示的情况,不知道如何解决,不过这个代码在其它VPS上都可以用,不知道为什么在谷歌云上出现这种情况,难道是谷歌设置上有问题?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/allenking1028/ss/issues/5#issuecomment-394047502, or mute the thread https://github.com/notifications/unsubscribe-auth/AT2BkdA0Su-Q1fjaVZH5rjmt4KQnUXxdks5t4e2RgaJpZM4TOnIZ .

auula commented 6 years ago

嘿,大家可以试试我写这个脚本,如果是按照官方脚本是要自己提前在Server上安装docker容器的,现在我这个脚本已经集成了docker安装函数,一个脚本直接解决安装的问题~你只需要在你的服务器执行下面shell命令就可以安装ok,安装之前请保证你Server已经安装wget!!!

我写这个的脚本开源地址

也请大家帮忙fork一下,提提人气~

zjnbzsj commented 6 years ago

谢谢,已经安装,暂时不需要

在 2018年6月6日 上午9:48,codin notifications@github.com写道:

嘿,大家可以试试我写这个脚本,如果是按照官方脚本是要自己提前在Server上安装docker容器的,现在我这个脚本已经集成了docker安装函数, 一个脚本直接解决安装的问题~你只需要在你的服务器执行下面shell命令就可以安装ok,安装之前请保证你Server已经安装wget!!!

我写这个的脚本开源地址 https://github.com/coding1618/Google-images-shell/blob/master/outline_readme.md

也请大家帮忙fork一下,提提人气~

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/allenking1028/ss/issues/5#issuecomment-394913742, or mute the thread https://github.com/notifications/unsubscribe-auth/AHwOi21XQfMjHhPMbZjILjxinounJ99Rks5t5zUIgaJpZM4TOnIZ .

guapollo commented 6 years ago

我在北京,家里100M联通光纤,办公室的是电信,不知为何连接同一台Google新加坡VM的outline,都用YouTube播放器测试,办公室电信的能到20000多,家里联通的最高才5000上下。。。

zjnbzsj commented 6 years ago

联系和电信到新加坡出的路由不同吧

2018-06-12 14:05 GMT+08:00 JK notifications@github.com:

我在北京,家里100M联通光纤,办公室的是电信,不知为何连接同一台Google新加坡VM的outline, 都用YouTube播放器测试,办公室电信的能到20000多,家里联通的最高才5000上下。。。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/allenking1028/ss/issues/5#issuecomment-396475613, or mute the thread https://github.com/notifications/unsubscribe-auth/AHwOiyWlpRtdGlbgKSCCh0SUxQGKerhRks5t71oQgaJpZM4TOnIZ .

mulovetou commented 6 years ago

Checking host firewall ...................... BLOCKED OK 怎么解决啊!有大神给指点一二吗

yanlzhl commented 5 years ago

请问,可以在 managers端添加多个VPS吗?

目前不可以.当有多个的时候,你需要一个一个连接上去查看并管理

Idealisten commented 5 years ago

zjnbzsj notifications@github.com于2018年6月2日 周六上午9:40写道:

[image: 2018-06-02 08 49 35] https://user-images.githubusercontent.com/8130187/40869186-dc31e118-6648-11e8-9db2-8250959353ea.png 执行第五条命令时出现上述情况,然后就无法进行下去了。

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/allenking1028/ss/issues/5#issuecomment-394047348, or mute the thread https://github.com/notifications/unsubscribe-auth/AT2BkfnmKrY7YVm2-OqX4783CHhHq_e1ks5t4e0CgaJpZM4TOnIZ .

按Curtly+c

shishicscs commented 5 years ago

如果GCP,建议选择Debian9,Centos6内核版本太低,不能直接安装。 Debian9,安装成功之后可以选择脚本,安装BBR PLUS内核加速,飞一般的提高。。。

jingxu818 commented 5 years ago

我的小米路由器mini刷过一次 后来搬家吧优盘格式化了 然后小米路由器就没有那个插件了 我按要求又刷了几次还是不行 这怎么办

shishicscs notifications@github.com 于2019年1月29日周二 上午1:16写道:

如果GCP,建议选择Debian9,Centos6内核版本太低,不能直接安装。 Debian9,安装成功之后可以选择脚本,安装BBR PLUS内核加速,飞一般的提高。。。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/allenking1028/ss/issues/5#issuecomment-458219870, or mute the thread https://github.com/notifications/unsubscribe-auth/AeWZh2ZHP6W8GEYxnZ439lVs5JPVCi6Mks5vHzBggaJpZM4TOnIZ .

ak407759904 commented 5 years ago

如果GCP,建议选择Debian9,Centos6内核版本太低,不能直接安装。 Debian9,安装成功之后可以选择脚本,安装BBR PLUS内核加速,飞一般的提高。。。

敢问大神,如何选择脚本安装?

luvvien commented 5 years ago

https://vien.tech/tag/53 搭建ss和outline 用图片链接服务商提供的服务器 注册送50刀,可以撸一下

strawberrycath commented 4 years ago
Screen Shot 2020-03-04 at 11 08 35 PM

按照操作步骤执行到第二步时,出现如上显示,请问如何解决