Code Monkey home page Code Monkey logo

xray-service's Introduction

xray-service

This script creates a service that automatically downloads Xray Core when the router boots up. It sets up Xray as a service, ensuring it runs consistently on startup.

Supported devices

All ramips-mt7621 devices also known as mipsel_24kc, list of supported devices.

Step 0 - install Passwall

The instructions provided suggest installing Passwall on your device. The recommended method is to follow the instructions in the repository "MoetaYuko/openwrt-passwall-build". Alternatively, if you know the exact model and architecture of your device, you can download the latest release from the binary files of the Passwall main repository at "xiaorouji/openwrt-passwall".

Step 1 - install Xray-core

cd /tmp
wget https://raw.githubusercontent.com/mohamadkhalaj/xray-service/main/install.sh
chmod +x install.sh
sh install.sh

OR

cd /tmp && wget https://raw.githubusercontent.com/mohamadkhalaj/xray-service/main/install.sh && chmod +x install.sh && sh install.sh

Step 2 - Apply changes

To apply the changes, you can run the following command to download the Xray binary file. Alternatively, you can simply reboot your device and wait for 90 seconds after boot for the download to start.

sh /root/xray_service.sh

Step 3 - configure the Xray-core path

Change the Xray App Path to /tmp/usr/bin/xray and click Save & Apply button.

Untitled-1

xray-service's People

Contributors

mohamadkhalaj 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.