3 opkg feed of v2rayA for OpenWrt users.
5 [简体中文](README.zh-cn.md)
9 1. Add v2rayA usign key
11 > Make sure package `wget-ssl` is installed on your device
14 wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03
20 echo "src/gz v2raya https://osdn.net/projects/v2raya/storage/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf"
23 # echo "src/gz v2raya https://ftp.jaist.ac.jp/pub/sourceforge.jp/storage/g/v/v2/v2raya/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf"
25 # echo "src/gz v2raya https://mirrors.gigenet.com/OSDN/storage/g/v/v2/v2raya/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf"
34 4. Install v2rayA and its dependencies
39 # Check your firewall implementation
40 # Install the following packages for the nftables-based firewall4 (command -v fw4)
41 # Generally speaking, install them on OpenWrt 22.03 and later
42 opkg install kmod-nft-tproxy
43 # Install the following packages for the iptables-based firewall3 (command -v fw3)
44 # Generally speaking, install them on OpenWrt 21.02 and earlier
45 opkg install iptables-mod-conntrack-extra \
51 # Choose a core you'd like to use, v2ray or Xray
52 # If you have both installed, the latter is preferred by default
54 # Note from maintainer: due to broken tproxy support in v2ray, recommend using Xray instead
55 opkg install xray-core
56 # opkg install v2ray-core
59 # opkg install v2fly-geoip v2fly-geosite
64 - Method 1 - Configure via LuCI interface (for __OpenWrt 21.02 and higher__ version only)
69 opkg install luci-app-v2raya
72 2. Visit `http://<your_router_ip>/cgi-bin/luci/admin/services/v2raya` and complete setup.
74 - Method 2 - Configure via cli
79 # For advanced usage, please see /etc/config/v2raya
80 uci set v2raya.config.enabled='1'
87 /etc/init.d/v2raya start
90 3. Visit v2rayA webUI and enjoy
92 `http://<your_router_ip>:2017`