Coder Social home page Coder Social logo

nekoxproxy's Introduction

这是什么

备用代理,以防失联,适用于电脑端。

与 Nekogram X 的公共代理一致。

如何自行搭建 WSS 中继

需要自行转发 https / websocket (以使用 CDN 为例)

  1. 准备一个域名。如 tg.gov.cn

  2. 根据 这里 的记录,设置相应数量的子域名记录(目前为 8 个)

a.tg.gov.cn -> 149.154.175.5 b.tg.gov.cn -> 95.161.76.100 ......

  1. 开启 CDN 加速,打开 tls 以及 websocket 支持

  2. 按照顺序构造 payload 得到 a,b,c,d,e,f,g,h

  3. 将 payload 进行 base64 编码得到 YSxiLGMsZCxlLGYsZyxo

  4. 构造 WS Relay 链接: wss://tg.gov.cn?payload=YSxiLGMsZCxlLGYsZyxo

以上链接纯属虚构,请勿尝试使用。

English translated by Google

What is this

Backup agent, in case of loss of connection, suitable for computer side.

Consistent with Nekogram X's public agency.

How to setup WSS Realy by yourself

Need to forward https / websocket by yourself (using CDN as an example)

  1. Prepare a domain name. Such as tg.gov.cn

  2. According to the records of here, set the corresponding number of subdomain records (currently 8)

Such as a.tg.gov.cn -> 149.154.175.5 b.tg.gov.cn -> 95.161.76.100 ......

  1. Turn on CDN acceleration, turn on tls and websocket support

  2. Construct the payload in order to get a,b,c,d,e,f,g,h

  3. Encode the payload with base64 to get YSxiLGMsZCxlLGYsZyxo

  4. Construct WS Relay link: wss://tg.gov.cn?payload=YSxiLGMsZCxlLGYsZyxo

The above link is purely fictitious, please do not try to use it.

nekoxproxy's People

Contributors

arm64v8a avatar liuyi0526 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.