Skip to content

MoZhonghua/openwrt-xray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openwrt-xray

Xray for OpenWrt

Build Guide

  1. Use the latest OpenWrt SDK or with source code in master branch (requires golang modules support, commit openwrt/packages@7dc1f3e and later).

  2. Enter root directory of SDK, then download the Makefile:

git clone -b master --depth 1 https://github.com/MoZhonghua/openwrt-xray package/openwrt-xray

For Chinese users, export GOPROXY=https://goproxy.io before build.

Start build:

./scripts/feeds update -a
./scripts/feeds install -a

make menuconfig

Network ---> Project X ---> <*> xray-core

make package/openwrt-xray/{clean,compile} V=s

find ./bin -name "*.ipk" | grep xray
  • You can custom the features in XRAY Configuration option.

UPX Compress

If you want to build with UPX compress, the UPX package is required.

git clone -b master --depth 1 https://github.com/kuoruan/openwrt-upx.git package/openwrt-upx

Uninstall

opkg remove xray-core

About

V2Ray for OpenWrt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 92.5%
  • Shell 7.5%