Skip to content

gainskills/luci-app-xray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 

Repository files navigation

luci-app-xray

luci-app-v2ray refined to client side rendering (and switched to xray as well).

Focus on making the most of Xray (HTTP/HTTPS/Socks/TProxy inbounds, multiple protocols support, DNS server, even HTTPS reverse proxy server for actual HTTP services) while keeping thin and elegant.

Warnings

  • This project DOES NOT SUPPORT LEDE 17.01 releases or OpenWrt 18.06 releases (including some old coolsnowwolf/lede versions) due to the fact that client side rendering requires LuCI client side apis shipped with OpenWrt 19.07 releases. If this is your case, use Passwall or similar projects instead (you could find links in XTLS/Xray-core).
  • For OpenWrt 19.07 releases, you need to prepare your own xray-core package (just download from Releases · yichya/openwrt-xray and install that) because building Xray from source requires Go 1.15 which is currently only available in OpenWrt SNAPSHOT.
  • This project may change its code structure, configuration files format, user interface or dependencies quite frequently since it is still in its very early stage.

Changelog

  • 2020-11-14 feature: basic transparent proxy function
  • 2020-11-15 fix: vless flow settings & compatible with busybox ip command
  • 2020-12-04 feature: add xtls-rprx-splice to flow
  • 2020-12-26 feature: allow to determine whether to use proxychains during build; trojan xtls flow settings
  • 2021-01-01 feature: build Xray from source; various fixes about tproxy and logging
  • 2021-01-25 feature: Xray act as HTTPS server
  • 2021-01-29 fix: add ipset as dependency to fix transparent proxy problems; remove useless and faulty extra_command in init.d script
  • 2021-01-29 feature: decouple with Xray original binary and data files. Use openwrt-xray instead.
  • 2021-01-30 feature: select GeoIP set for direct connection. This is considered a BREAKING change because if unspecified, all IP addresses is forwarded through Xray.
  • 2021-03-17 feature: support custom configuration files by using Xray integrated Multiple configuration files support. Check /var/etc/xray/config.json for tags of generated inbounds and outbounds.
  • 2021-03-20 fix: no longer claim compatibility with OpenWrt Packages: xray-core because of naming conflict of configuration file and init script. Again, use openwrt-xray instead.
  • 2021-03-21 feature: detailed fallback config for Xray HTTPS server
  • 2021-03-27 feature: check data files before using them. If data files don't exist, Xray will run in 'full' mode (all outgoing network traffic will be forwarded through Xray). Make sure you have a working server in this case or you have to disable Xray temporarily (SSH into your router and run service xray stop) for debugging. You can download data files from Releases · XTLS/Xray-core or Loyalsoldier/v2ray-rules-dat and upload them to /usr/share/xray on your router, or just compile your firmware with data files included (recommended in most cases).
  • 2021-04-02 feature: utls fingerprint (currently not available for xtls and will be supported in Xray-core v1.5.0)
  • 2021-04-06 feature: customize DNS bypass rules. This is considered a BREAKING change because if unspecified, all DNS requests is forwarded through Xray.
  • 2021-05-15 feature: add gRPC Transport settings; make init script infinite retry optional

Todo

  • LuCI ACL Settings
  • migrate to xray-core
  • better server role configurations
  • Xray Running Status Check
  • transparent proxy access control for LAN

About

(Almost) full feature Xray client for OpenWrt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 39.1%
  • JavaScript 38.5%
  • Shell 16.7%
  • Makefile 5.7%