Git Product home page Git Product logo

openwrt-xray's Introduction

openwrt-xray's People

Contributors

yichya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-xray's Issues

请教,在命令行环境下如何配置、运行xray?

硬件是一部ISP高度定制的openwrt路由器,无法安装luci,已经成功装上Xray 1.5.8 apk,cpu是ARMv7 Processor rev 1 (v7l)双核, 512内存。

请问如何配置分流、下载geodata和运行xray?有没有命令行下的基本教程及配置文件的样本?

谢谢!

突然就不通了,重装一下又可以了

昨天安装升级后的ipk(1.8.3),运行正常,今早突然网络就不通了,重启路由也没用,日志里也看不出异样,force-reinstall后又可以了
OpenWrt 22.03.4 x86

用openwrt官方源码master分支编译openwrt-xray及luci-app-xray的问题

两个问题请教大佬!
问题一:
用openwrt官方源码master分支将版主的openwrt-xray及luci-app-xray两个git源添加进feeds.conf.default
src-git xraycore https://github.com/yichya/openwrt-xray.git
src-git xrayapp https://github.com/yichya/luci-app-xray.git
然后./scripts/feeds update -a,即出现如下提示!

Create index file './feeds/xraycore.index'
grep: feeds/xraycore/Makefile:$(eval: 没有那个文件或目录
grep: $(call: 没有那个文件或目录
grep: BuildPackage,$(PKG_NAME)))/Makefile: 没有那个文件或目录
/home/lyh/openwrt/feeds/xraycore.tmp/info/.files-packageinfo.mk:1: *** 目标模式不含有“%”。 停止。
Collecting target info: done
Create index file './feeds/xrayapp.index'
grep: feeds/xrayapp/Makefile:$(eval: 没有那个文件或目录
grep: $(call: 没有那个文件或目录
grep: BuildPackage,$(PKG_NAME)))/Makefile: 没有那个文件或目录
/home/lyh/openwrt/feeds/xrayapp.tmp/info/.files-packageinfo.mk:1: *** 目标模式不含有“%”。 停止。

问题二:openwrt官方源码master分支的packages里已经包含有xray-core包,是否兼容版主的luci-app-xray?

feature request: 对编译出的二进制进行UPX压缩

路由器上的空间一般都是比较小的,以前 v2ray 的时候还得带一个 v2ctl,差不多得用20M的空间,现在 Xray 压缩前差不多占用 15M,还有很大的进步空间。我尝试在 Windows 上对 armv6 的 xray core 进行打包,压缩率非常理想。

λ ~\..\Xray-linux-arm32-v7a upx xray
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2020
UPX 3.96w       Markus Oberhumer, Laszlo Molnar & John Reiser   Jan 23rd 2020

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
  16187392 ->   5130840   31.70%    linux/arm    xray                                                                                                                                                                                           Packed 1 file.

压缩后大概只占用 5.1M 。大体上,在 workflow 中加上 upx path/to/xray-core 即可,但是不太确定是否能对所有架构都有效。

Great work! Is there a tutorial for OpenWRT? 中文回答也行

I'd love to install this on an OpenWRT xiaomi/redmi router (mipsel 24kc).

I wish there was a tutorial, even an incomplete one would be helpful.

I would like to set up an Xray SERVER on a mipsel 24kc router. I already have certificates and config files on my linux machine. I don't care if performance is lower on the router. I'm interested in the reliability.

Thanks!

大佬,xray运行文件提取出来,用了Loyalsoldier/v2ray-rules-dat的config.json提示找不到geoip.dat: !CN

Xray 1.5.0 (Xray, Penetrates Everything.) Custom (go1.17.2 linux/mipsle)
A unified platform for anti-censorship.
2021/11/24 02:11:23 [Info] infra/conf/serial: Reading config: config.json
Failed to start: main: failed to load config files: [config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build na meserver > infra/conf: invalid IP rule: [geoip:!cn] > infra/conf: failed to load GeoIP: !cn > infra/conf: code not found in geoip.dat: !CN

如上错误,geoip.dat要放在什么指定目录吗

请教编译mipsel的xray内核

你好我在网上找了很久都没有我可以安装的mipsel_1004kc_dsp 的xray内核,有幸找到了你的仓库,想问下如果我把你的这个仓库fork到我的仓库,然后改下面的- arch: mipsel_24kc 变成mipsel_1004kc_dsp
sdk_url_path: https://downloads.openwrt.org/snapshots/targets/ramips/mt7620 7620改成7621
sdk_name: -sdk-ramips-mt7620_改成7621.
这样的方式后进入action编译,会成功编出来mipsel_1004kc_dsp的xray内核吗?

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.