Code Monkey home page Code Monkey logo

xinrender2's Introduction

render上部署trojan

操作流程

fork该项目,里面有个叫web的二进制文件,其实是xray-core,自己知道就好,然后在render上创建一个nodejs express的web service,Start Command设置为chmod +x ./web && node app.js。应用创建好了后,你的域名后根目录是主页hello world,/status是系统进程表,/start是启动xray,/info是系统信息。app.js中keepalive代码块中的url(第79行)换成自己的url。我这个config.yaml是配置的trojan,你也可以配置其他协议,我的trojan的ws路径是/qwe,通过nodejs反向代理成了/api,所以/api才是你v2ray客户端的ws路径,域名就写应用自动生成的域名,config.yaml里的密码可以自己设置。开了保活后,一般不会休眠。不开保活,半小时就休眠。

客户端配置示例

image

xinrender2's People

Contributors

imrzyang avatar anurag avatar paastestuser avatar crcastle avatar metonym 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.