Git Product home page Git Product logo

v2raya-openwrt's Introduction

v2raya-openwrt

opkg feed of v2rayA for OpenWrt users.

简体中文

How to install

  1. Add v2rayA usign key

    Make sure package wget-ssl or libustream is installed on your device

    wget https://downloads.sourceforge.net/project/v2raya/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03
  2. Import v2rayA feed

    echo "src/gz v2raya https://downloads.sourceforge.net/project/v2raya/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf"
  3. Update feeds

    opkg update
  4. Install v2rayA and its dependencies

    opkg install v2raya
    
    # Check your firewall implementation
    # Install the following packages for the nftables-based firewall4 (command -v fw4)
    # Generally speaking, install them on OpenWrt 22.03 and later
    opkg install kmod-nft-tproxy
    # Install the following packages for the iptables-based firewall3 (command -v fw3)
    # Generally speaking, install them on OpenWrt 21.02 and earlier
    opkg install iptables-mod-conntrack-extra \
      iptables-mod-extra \
      iptables-mod-filter \
      iptables-mod-tproxy \
      kmod-ipt-nat6
    
    # Choose a core you'd like to use, v2ray or Xray
    # If you have both installed, the latter is preferred by default
    #
    # Note from maintainer: due to broken tproxy support in v2ray, recommend using Xray instead
    opkg install xray-core
    # opkg install v2ray-core
    
    # Optional
    # opkg install v2fly-geoip v2fly-geosite

How to use

  • Method 1 - Configure via LuCI interface (for OpenWrt 21.02 and higher version only)

    1. Install LuCI app

      opkg install luci-app-v2raya
    2. Visit http://<your_router_ip>/cgi-bin/luci/admin/services/v2raya and complete setup.

  • Method 2 - Configure via cli

    1. Setup v2rayA

      # For advanced usage, please see /etc/config/v2raya
      uci set v2raya.config.enabled='1'
      uci commit v2raya
    2. Start v2rayA

      /etc/init.d/v2raya start
    3. Visit v2rayA webUI and enjoy

      http://<your_router_ip>:2017

v2raya-openwrt's People

Contributors

1715173329 avatar chihsiao avatar immortalwrt-bot 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

v2raya-openwrt's Issues

luci-app-v2raya not available ?

Openwrt 22 luci-app-v2raya is not available
already ran v2raya and enabled service but not accessible via router ip address (192.168.1.1:2017)
Am I missing something ?

Segmentation fault

wget-ssl libustream在openwrt的软件包管理里都安装了,软件包安装v2raya失败,命令行也失败。。。

[root@OpenWrt:10:48 AM ~] # opkg install v2raya
Installing v2raya (2.2.4.6-251) to root...
Segmentation fault

Web 页面缺失rprx-vision

core 为新版,不过咱这Web 界面没有rprx-vision 选项
希望更新或添加一下openwrt 这块

osdn.net 下载内容无效

文档中osdn.net 相关地址,wget下来的内容只是各文件在osdn.net对应的页面内容,不是实际的文件

Signature check failed.


OpenWrt 22.03.3, r20028-43d71ad93e

root@OpenWrt:~# wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03
Downloading 'https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub'
Connecting to 44.229.120.134:443
Redirected to /projects/v2raya/storage/openwrt/v2raya.pub/ on osdn.net
Writing to '/etc/opkg/keys/94cc2a834fb0aa03'

Download completed (37490 bytes)
root@OpenWrt:# echo "src/gz v2raya https://osdn.net/projects/v2raya/storage/openwrt/$(. /etc/openwr
t_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf"
src/gz v2raya https://osdn.net/projects/v2raya/storage/openwrt/x86_64
root@OpenWrt:
# opkg update
Downloading https://osdn.net/projects/v2raya/storage/openwrt/x86_64/Packages.gz
Updated list of available packages in /var/opkg-lists/v2raya
Downloading https://osdn.net/projects/v2raya/storage/openwrt/x86_64/Packages.sig
Failed to decode signature
Signature check failed.
Remove wrong Signature file.

v2raya does not work effectively

Hi
I have installed OpenWrt 22.03.4 and installed v2raya from (https://github.com/v2rayA/v2raya-openwrt). I set up v2raya and added a config to it. it worked well on some applications on iOS (like Telegram and Instagram) but some apps didn't load, like X, WhatsApp, Spotify.
Also, the YouTube app didn't load the videos's cover but it loaded videos perfectly!
Also, websites like Instagram.com, and x.com didn't load!
my config works perfectly in the v2box app on iOS and loads all of the contents (it's protocol is VMESS).
How can I solve this problem??

this is my v2raya setup:
Transparent Proxy/System Proxy: On: Traffic splitting mode...
Transparent Proxy/System Proxy Implementation: redirect
Traffic Splitting Mode of Rule Port: RoutingA (
default: proxy

domain(ext:"iran.dat:ads")->block
domain(ext:"iran.dat:proxy")->proxy
domain(ext:"iran.dat:all")->direct
ip(geoip:ir)->direct)
)
Prevent DNS Spoofing: Advanced setting (
Domain Query Servers:
1.1.1.1 -> direct
8.8.8.8 -> direct
)
Special Mode: Off
TCPFastOpen: Keep default
Multiplex: Off
Automatically Update Subscriptions: Off
Mode when Update Subscriptions and GFWList: Follows Transparent Proxy/System proxy

openwrt 软件包依赖配置

希望v2rayA在openwrt上的软件包能添加两个依赖项:iptbles-mod-filteriptbles-mod-nat-extra,没有这两个软件包会导致v2rayA无法正常开始服务。

特别是iptbles-mod-filter这个依赖项,不查找资料很难发现这个依赖项提供了iptables -m string所需的依赖。

https://github.com/v2rayA/v2rayA/issues/1303

error

Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
Installing v2raya (1.5.7-5) to root...
Downloading https://mirrors.tuna.tsinghua.edu.cn/osdn/storage/g/v/v2/v2raya/openwrt/x86_64/v2raya_1.5.7-5_x86_64.ipk
Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-reject
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-ipt
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-log
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-log found, but incompatible with the architectures configured
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-core
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-conntrack
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-conntrack
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-conntrack-extra
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-raw
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-extra
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-lib-textsearch
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-filter
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-tproxy
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-tproxy
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-nat
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-nat6
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-nat
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-reject6
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-log6
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-log6 found, but incompatible with the architectures configured
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-nf-ipt6
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ip6tables
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca) for kmod-ipt-nat6
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for v2raya:
  • kernel (= 5.10.111-1-6703dcafaa268bc75821eea0f02b92ca)
  • opkg_install_cmd: Cannot install package v2raya.

能否通过特定的shell脚本来初始化配置?

在openwrt中,如果频繁刷机测试固件的话,每次刷好固件后都需要手动去配置v2ray,比较麻烦,常规的做法是写一个特定的shell脚本放到/etc/uci-defaults中,让系统首次启动时来初始化一些配置,请问v2ray是否可以利用这种方式来初始化账号、密码、订阅地址等一些配置?

kmod-nft-tproxy

pkg_hash_check_unresolved: cannot find dependency kmod-nft-tproxy for v2raya2

in openwrt 21.02.3, i need this dependency, but i not found

how could i fix it?

It does not work after upgrading to openwrt-22.03.3-x86-64

I have a J1900 CPU x64 router, but unsessessful when upgrading from 22.02 to 22.03.

  1. It is unknown that only efi bin is working but not the mbr bin. I used to use the mbr bin to install the sysytem.
  2. then, v2rayA can not work anymore.
    In https://192.168.100.1/cgi-bin/luci/admin/services/v2raya, it shows:

/usr/lib/lua/luci/dispatcher.lua:877: Internal node resolve error stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:877: in function 'resolve_page' /usr/lib/lua/luci/dispatcher.lua:889: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:483: in function </usr/lib/lua/luci/dispatcher.lua:482>

In command, it shows:

root@J1900:~# uci set v2raya.config.enabled='1'
uci: Invalid argument

mips 设备可以安装但无法运行

三台 X86_64 设备 ( Debian 11 / Fedora 34 / OpenWrt 19.07 ) 先后都顺利安装,并运行良好
但在两台 mips 设备上能安装,打不开 UI 界面,检查日志报错:
Wed Dec 22 15:45:05 2021 daemon.err v2raya[3212]: Error relocating /usr/bin/v2raya: __nanosleep_time64: symbol not found
Wed Dec 22 15:45:05 2021 daemon.info procd: Instance v2raya::v2raya s in a crash loop 9 crashes, 0 seconds since last crash
难道是因为 mips 是 32 bit ?
Screenshot from 2021-12-21 23-06-50

安装失败

在x86_64 openwrt软路由中安装v2rayA报错,内核版本6.1.50:
root@OpenWrt:~# opkg install v2raya
Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
Installing v2raya (2.2.4-1) to root...
Downloading https://mirrors.cloud.tencent.com/lede/snapshots/packages/x86_64/packages/v2raya_2.2.4-1_x86_64.ipk
Configuring v2raya.
Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nfnetlink
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-reject
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-reject6
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-conntrack
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-conntrack6
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-nat
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-log
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-log6
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-crypto-hash
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-crypto-crc32c
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-lib-crc32c
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nft-core
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nf-tproxy
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.130-1-61d44f65bd1b028e12cc87814825d543) for kmod-nft-tproxy

no other device can connect while OpenWrt is connected

Hello , having an issue with V2Raya ,
when V2Raya is connected on the Router ( OpenWRT ) , it does route everything just fine
( my config is :
Transparent Proxy ON : Traffic Splitting ( both IP FWD and PRT SHARing )
TProxy
RoutingA ( with some IP Rules )
DNS Spoofing OFF
Special Mode OFF
Keep Default
OFF
OFF
Keep Default )
so everything is fine until another device on the same network Wants to run another V2ray connection and connect to its own server , it wont work .
so for ex , if OpenWRT v2raya is connected and run , no phone or laptop or other device on the same network can run another connection parallel to V2raya s connection .
if i do disconnect V2Raya however , every other device is able to connect using their own connection even simultaneously .
anyway i could make both connection work together ?
so that V2Raya would be Connected and providing Proxy for specified IP addresses ( in settings ) , and any other device able to connect its own v2rayconfig directly if they want to or connect directly to the internet if the do now want .
thanks

代理后分流的国服游戏延迟增加了20多。。。

配置的日本代理,代理后延迟从游戏40变为160
分析后游戏IP 数据库显示香港,其实是广州
我用RoutingA分流香港走直连后,延迟从160变成60多,还是多了20

这20多是走代理代理内核,哪怕分流到直连也会增加的吗?
用的是xray内核,Tproxy模式,协议是vless,无加密伪装

无法便用透明代理 failed to start v2ray-core: not support "redirect" mode of transparent proxy:

failed to start v2ray-core: not support "redirect" mode of transparent proxy: ExecCommands: iptables -w 2 -t nat -N TP_OUT iptables v1.8.7 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. : exit status 3

这是因为没有安装 v2ray-core 吗? 还是没有配置好 iptables , 请指教下,

目前只有关闭第一项,开启端口分享,利用 [SwitchyOmega] 插件可正常上外网。

IP转发 不起作用

OpenWrt 22.03.5 r20134-5f15225c1e

初次启动时请不要下载 geoip/geosite

初次启动时要下载 geoip/geosite,下载它俩要先科学上网。“鸡生蛋蛋生鸡”了属于是。

我现在是在 openwrt 系统-启动项 里 临时加 export https_proxy ,之后再删掉。但这样总归很麻烦。

能一开始不下载 geoip/geosite 吗。进入 v2raya web 控制台,加上节点后,选择全局,之后自己再点击来下载吗?

通过软件源安装失败 iptables-mod-filter 依赖无法安装

硬件 nanopi r5s

系统 Linux OpenWrt 5.15.74 #0 SMP PREEMPT Wed Oct 26 14:35:24 2022 aarch64 GNU/Linux

OpenWrt版本 OpenWrt R22.10.20

镜像来源 https://github.com/klever1988/nanopi-openwrt
编译时间 20221027

错误描述:使用软件源安装或手动安装都会遇到 iptables-mod-filter 这个依赖不满足条件安装失败,opkg强制安装v2raya可以运行,luci-app-v2raya页面无法访问,搜了下https://mirrors.cloud.tencent.com/lede/snapshots/targets/rockchip/armv8/kmods/5.15.74-1-6527ad8fb6a8259325809b36d4c2b1ed/ 此内核包含 iptables-mod-filter 这个包,本人openwrt小白不太熟编译这块,到这里就不知道怎么弄了,试了下很多老版本镜像或多或少都有不兼容错误,最新版只有这一个模块不兼容,老版本有些其它的模块也和这个一样

root@OpenWrt:~# opkg install luci-i18n-v2raya-zh-cn
Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
Installing luci-i18n-v2raya-zh-cn (git-22.251.21862-0f27fe2) to root...
Downloading https://osdn.net/projects/v2raya/storage/openwrt/aarch64_generic/luci-i18n-v2raya-zh-cn_git-22.251.21862-0f27fe2_all.ipk
Installing luci-app-v2raya (5) to root...
Downloading https://osdn.net/projects/v2raya/storage/openwrt/aarch64_generic/luci-app-v2raya_5_all.ipk
Configuring luci-app-v2raya.
Configuring luci-i18n-v2raya-zh-cn.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.74-1-6527ad8fb6a8259325809b36d4c2b1ed) for kmod-ipt-filter
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-filter found, but incompatible with the architectures configured
No page is registered at '/admin/services/v2raya'.
If this url belongs to an extension, make sure it is properly installed.
If the extension was recently installed, try removing the /tmp/luci-indexcache file.

Failed to decode signature via osdn.net

osdn link is Failed to decode signature.
JP & US link are working well.

root@OpenWrt:/etc/opkg/keys# cat 94cc2a834fb0aa03
untrusted comment: Public usign key for v2rayA builds
RWSUzCqDT7CqA+u/9hvcT3Hkw3fUc1dYnpsLmIsayjPmsZM5NjYKYiHW

root@OpenWrt:/etc/opkg/keys# opkg update
Downloading https://osdn.net/projects/v2raya/storage/openwrt/mipsel_24kc/Packages.gz
Updated list of available packages in /var/opkg-lists/v2raya
Downloading https://osdn.net/projects/v2raya/storage/openwrt/mipsel_24kc/Packages.sig
Failed to decode signature
Signature check failed.
Remove wrong Signature file.

failed to download osdn.net

Installing v2raya (1.5.9.1698.1-6) to root...
Downloading https://osdn.net/projects/v2raya/storage/openwrt/mipsel_24kc/v2raya_1.5.9.1698.1-6_mipsel_24kc.ipk
Collected errors:

v2raya启动失败

系统信息:
主机名 iStoreOS
型号 JDCloud AX1800_Pro IPQ6018/AP-CP03-C1 (CpuMark : 20361.886251 Scores)
架构 ARMv8 Processor x 4 (1608MHz, 46.0°C )
目标平台 ipq60xx/generic
固件版本 iStoreOS R23.9.9 / LuCI Master (git-23.227.48172-b686c6a)
内核版本 4.4.60

openwrt版本应该是21.02.1,
v2ray-core 5.13.0-1
v2ray-extra 5.13.0-1
v2raya 2.2.4.6-1

按照文档安装成功后, 在webUI页面启动不成功, 日志如下:

2024/01/20 09:47:26.091 [I] [process.go:101] low memory: 47MiB, set V2RAY_CONF_GEOLOADER=memconservative
2024/01/20 09:47:27.393 [I] [io.go:432] V2Ray 5.13.0 (V2Fly, a community-driven edition of V2Ray.) OpenWrt (go1.21.5 linux/arm64)
2024/01/20 09:47:27.574 [I] [io.go:432] A unified platform for anti-censorship.
2024/01/20 09:48:15.337 [W] [processManager.go:75] DropSpoofing can't be enable: ExecCommands: iptables -w 2 -N DROP_SPOOFING Bad argument `2'
Try `iptables -h' or 'iptables --help' for more information.
: exit status 2
2024/01/20 09:48:15.366 [W] [transparent.go:37] writeTransparentProxyRules: ExecCommands: iptables -w 2 -N DROP_SPOOFING Bad argument `2'
Try `iptables -h' or 'iptables --help' for more information.
: exit status 2
2024/01/20 09:48:15.720 [E] [connection.go:88] failed to start v2ray-core: ExecCommands: iptables -w 2 -N DROP_SPOOFING Bad argument `2'
Try `iptables -h' or 'iptables --help' for more information.
: exit status 2

请问应该怎么解决

Cannot install package luci-app-v2raya

Hi, It seems there is an issue with GUI, I'm getting this error while trying to install luci-app-v2raya.

How can I solve this issue? Are you planning to provide any fixes?

image

更新GFWList时报错 tls: failed to verify certificate: x509

在设置中更新GFWList时提示:
Get "https://raw.githubusercontent.com/v2rayA/dist-v2ray-rules-dat/202404162209/geosite.dat": tls: failed to verify certificate: x509: certificate is valid for OpenWrt, not raw.githubusercontent.com

日志如下:

2024/04/20 09:58:15.915  [A] [main.go:29]  V2Ray binary is /usr/bin/xray
2024/04/20 09:58:15.917  [A] [main.go:29]  V2Ray asset directory is /run/user/0/v2raya
2024/04/20 09:58:15.917  [A] [main.go:29]  v2rayA working directory is /
2024/04/20 09:58:15.917  [A] [main.go:29]  v2rayA configuration directory is /etc/v2raya
2024/04/20 09:58:15.917  [A] [main.go:29]  Golang: go1.21.9
2024/04/20 09:58:15.917  [A] [main.go:29]  OS: linux
2024/04/20 09:58:15.917  [A] [main.go:29]  Arch: arm64
2024/04/20 09:58:15.917  [A] [main.go:29]  Lite: false
2024/04/20 09:58:15.917  [A] [main.go:29]  Version: 2.2.5.1
2024/04/20 09:58:15.917  [A] [main.go:29]  Starting...
2024/04/20 09:58:15.918  [I] [main.go:30]  the core was not running the last time v2rayA exited
2024/04/20 09:58:15.955  [A] [index.go:116]  v2rayA is listening at http://127.0.0.1:2017
2024/04/20 09:58:15.955  [A] [index.go:116]  v2rayA is listening at http://192.168.50.2:2017
2024/04/20 09:58:15.955  [A] [index.go:116]  v2rayA is listening at http://[::1]:2017
2024/04/20 09:59:17.715  [I] [gfwlist.go:112]  Downloading https://github.com/v2rayA/dist-v2ray-rules-dat/raw/202404162209/geosite.dat to /usr/share/xray/LoyalsoldierSite.dat.new
2024/04/20 09:59:18.493  [W] [gfwlist.go:155]  UpdateLocalGFWList: Get "https://raw.githubusercontent.com/v2rayA/dist-v2ray-rules-dat/202404162209/geosite.dat": tls: failed to verify certificate: x509: certificate is valid for OpenWrt, not raw.githubusercontent.com
2024/04/20 09:59:18.493  [E] [gfwlist.go:12]  Get "https://raw.githubusercontent.com/v2rayA/dist-v2ray-rules-dat/202404162209/geosite.dat": tls: failed to verify certificate: x509: certificate is valid for OpenWrt, not raw.githubusercontent.com
2024/04/20 09:59:24.628  [I] [gfwlist.go:112]  Downloading https://github.com/v2rayA/dist-v2ray-rules-dat/raw/202404162209/geosite.dat to /usr/share/xray/LoyalsoldierSite.dat.new
2024/04/20 09:59:24.736  [W] [gfwlist.go:155]  UpdateLocalGFWList: Get "https://raw.githubusercontent.com/v2rayA/dist-v2ray-rules-dat/202404162209/geosite.dat": tls: failed to verify certificate: x509: certificate is valid for OpenWrt, not raw.githubusercontent.com
2024/04/20 09:59:24.736  [E] [gfwlist.go:12]  Get "https://raw.githubusercontent.com/v2rayA/dist-v2ray-rules-dat/202404162209/geosite.dat": tls: failed to verify certificate: x509: certificate is valid for OpenWrt, not raw.githubusercontent.com
2024/04/20 10:00:56.253  [I] [gfwlist.go:112]  Downloading https://github.com/v2rayA/dist-v2ray-rules-dat/raw/202404162209/geosite.dat to /usr/share/xray/LoyalsoldierSite.dat.new
2024/04/20 10:00:56.582  [W] [gfwlist.go:155]  UpdateLocalGFWList: Get "https://raw.githubusercontent.com/v2rayA/dist-v2ray-rules-dat/202404162209/geosite.dat": tls: failed to verify certificate: x509: certificate is valid for OpenWrt, not raw.githubusercontent.com
2024/04/20 10:00:56.582  [E] [gfwlist.go:12]  Get "https://raw.githubusercontent.com/v2rayA/dist-v2ray-rules-dat/202404162209/geosite.dat": tls: failed to verify certificate: x509: certificate is valid for OpenWrt, not raw.githubusercontent.com
2024/04/20 10:01:24.109  [I] [process.go:101]  low memory: 1703MiB, set V2RAY_CONF_GEOLOADER=memconservative
2024/04/20 10:01:24.153  [I] [io.go:432]  Xray 1.8.8 (Xray, Penetrates Everything.) OpenWrt (go1.21.7 linux/arm64)
2024/04/20 10:01:24.153  [I] [io.go:432]  A unified platform for anti-censorship.
2024/04/20 10:01:24.159  [I] [io.go:432]  [Info] infra/conf/serial: Reading config: /etc/v2raya/config.json
2024/04/20 10:01:24.179  [I] [io.go:432]  [Warning] core: Xray 1.8.8 started

是否需要关闭 dnsmasq ?

当打开【防止DNS污染】选项的任意一个时,日志中都会报出警告:

2023/11/16 06:16:49.812 [W] [processManager.go:75] only listen at 127.2.0.17: dns port 53 is occupied by dnsmasq(7136)

需要我将 dnsmasq 关闭吗?如果关闭了,会不会正常的域名都无法解析了呢?

建议启动脚本添加 limit nofile 配置

本人的openwrt (tproxy透明代理,转发dns)默认nofile soft limit为1024,BT下载一开,v2ray就报错“too many open files”,不重启v2ray的话要等个3-5分钟才能正常上网,在/etc/init.d/v2raya 中添加procd_set_param limits nofile="100000 100000" 即可

go: github.com/beevik/[email protected] timeout

Done in 47.11s.
~/openwrt21/feeds/world/v2raya
Finding targets
go: github.com/beevik/[email protected]: Get "https://proxy.golang.org/github.com/beevik/ntp/@v/v0.3.0.mod": dial tcp 172.217.160.113:443: i/o timeout
go: downloading github.com/gin-gonic/gin v1.7.1
go: downloading github.com/json-iterator/go v1.1.11
go: downloading github.com/tidwall/gjson v1.10.2
go: downloading github.com/beevik/ntp v0.3.0
go: downloading github.com/stevenroose/gonfig v0.1.5
go: downloading github.com/v2rayA/go-uci v0.0.0-20210907104827-4cf744297b41
go: downloading golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d
go: downloading github.com/devfeel/mapper v0.7.5
go: downloading github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
go: downloading github.com/shirou/gopsutil/v3 v3.21.11
go: downloading github.com/v2rayA/RoutingA v1.0.0
go: downloading github.com/muhammadmuzzammil1998/jsonc v0.0.0-20201229145248-615b0916ca38
go: downloading github.com/go-gitea/bolt v0.0.0-20170420010917-ccd680d8c1a0
go: downloading github.com/tidwall/sjson v1.2.3
go: downloading golang.org/x/sys v0.0.0-20211013075003-97ac67df715c
go: downloading github.com/mzz2017/go-engine v0.0.0-20200509094339-b56921189229
go: downloading github.com/v2rayA/shadowsocksR v1.0.3
go: downloading github.com/shadowsocks/go-shadowsocks2 v0.1.5-0.20210421162817-acdbac05f5a5
go: downloading github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1
go: downloading github.com/matoous/go-nanoid v1.5.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/v2rayA/beego/v2 v2.0.4
go: downloading github.com/gin-contrib/cors v1.3.1
go: downloading github.com/gin-contrib/gzip v0.0.3
go: github.com/beevik/[email protected]: Get "https://proxy.golang.org/github.com/beevik/ntp/@v/v0.3.0.mod": dial tcp 172.217.160.113:443: i/o timeout

Building targets
go: github.com/beevik/[email protected]: Get "https://proxy.golang.org/github.com/beevik/ntp/@v/v0.3.0.mod": dial tcp 142.251.43.17:443: i/o timeout
go: github.com/beevik/[email protected]: Get "https://proxy.golang.org/github.com/beevik/ntp/@v/v0.3.0.mod": dial tcp 142.251.43.17:443: i/o timeout

Makefile:105: recipe for target '/home/water/openwrt21/build_dir/target-x86_64_musl/v2rayA-1.5.5/service/.built' failed
make[3]: *** [/home/water/openwrt21/build_dir/target-x86_64_musl/v2rayA-1.5.5/service/.built] Error 1
make[3]: Leaving directory '/home/water/openwrt21/feeds/world/v2raya'
time: package/feeds/world/v2raya/compile#30.27#2.39#2836.38
ERROR: package/feeds/world/v2raya failed to build.
package/Makefile:114: recipe for target 'package/feeds/world/v2raya/compile' failed
make[2]: *** [package/feeds/world/v2raya/compile] Error 1
make[2]: Leaving directory '/home/water/openwrt21'
package/Makefile:110: recipe for target '/home/water/openwrt21/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/water/openwrt21/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/water/openwrt21'
/home/water/openwrt21/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2

openwrt 22.03.2 中 opkg install v2raya 后提示缺少 geoip 和 geosite 建议默认替换 v2ray-core

最近发现 openwrt 官网从 22.03.2 同时收录了 v2raya / v2ray-core / v2ray-geoip / v2ray-geosite / xray-core
https://downloads.openwrt.org/releases/22.03.2/packages/mipsel_24kc/packages/

且 22.03.0 移除了 21.02.5 收录的 xray-geodata 仅保留了 xray-core
https://downloads.openwrt.org/releases/21.02.5/packages/mipsel_24kc/packages/

在 openwrt 22.03.2 中 opkg install v2raya 时默认不会安装 v2ray-core 只安装 xray-core
但由于 xray-geodata 被移除,运行 /etc/init.d/v2raya start 后提示缺少 geoip 和 geosite
需要再次 opkg install v2ray-geoip v2ray-geosite 后才能启动 v2raya 服务

考虑到现阶段 arm / mips 设备 flash 都不大,大多为 128MB
当 opkg install 时是否应该默认不再安装 xray-core
而是选择安装 v2ray-core / v2ray-geoip / v2ray-geosite 等相关依赖

OpwnWrt运行V2rayA后,造成小米智能门锁M20 Pro无法联网

路由器:Netgear R7800
OpenWrt版本:23.05.2
V2rayA版本:2.2.5-1
问题描述:v2rayA运行时,小米智能门锁M20 Pro无法联网。先停止v2rayA后可以联网,再启动v2rayA后,智能锁断网。

路由器日志和v2rayA日志均没有特殊信息显示。

怀疑与小米门锁自身的网络安全控制有关,想咨询如何能让小米智能锁跳过v2rayA的代理逻辑,直接正常访问网络。

局域网特定设备重复显示网络断开、连接

请问openwrt上开启v2raya后,家里的设备其它都正常,只是酷开电视隔一两分钟就显示网络已断开、网络已连接。

20240113100740
20240113100730

设置如下
20240113100527

已在routinga里用source将电视的ip设为直连了

请问下是么原因?

关闭v2raya就不会出现这个问题。

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.