Coder Social home page Coder Social logo

gost-ws's Introduction

部署 GOST 到 VPS、Paas(openshift、arukas)

gost 版本 2.3

镜像: wangyi2005/gost-ws (https://hub.docker.com/r/wangyi2005/gost-ws

设置 3 个 环境变量:

1、MODE : 默认为ws,可设置为 wss、http2、tls等。

2、CERT_PEM: PEM格式证书,替换内置证书。

3、KEY_PEM : PEM格式私钥,替换内置私钥。

注意:

1、需替换 PEM 文件中的换行符为 \n , 多行变一行。

2、如配置为域名访问,可用 sniproxy 加速。

openshift 有两种模式,均用 https secure route

1、edge 模式 (route TLS Settings Termination type : edge)

只支持 websocket,服务端 MODE 应为 ws。

gost server: -L ws://:8080 ,gost client: -F wss://route:443

2、Passthough 模式 (route TLS Settings Termination type : Passthough

可支持tls、http2,客户端和服务端应同为 tls、http2。

arukas 可使用 Endpoint: https://[hostname].arukascloud.io

可支持tls、wss。

1、wss配置:

gost server: -L ws://:8080 , gost client: -F wss://Endpoint:443

2、tls配置:

gost server: -L http://:8080 ,gost client: -F tls://Endpoint:443

可以 chrome+SwitchyOmega 设置 HTTPS代理 Endpoint:443

gost-ws's People

Contributors

wangyi2005 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.