opkg feed of v2rayA for OpenWrt users.
-
Add v2rayA usign key
Make sure package
wget-ssl
is installed on your devicewget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03
-
Import v2rayA feed
echo "src/gz v2raya https://osdn.net/projects/v2raya/storage/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf" # Japan mirror # 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" # US mirror # 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"
-
Update feeds
opkg update
-
Install v2rayA and its dependencies
# To use v2rayA with Xray-core, please run: opkg install v2raya # To use v2rayA with v2ray-core, please run: opkg install v2raya2 # Note: You cannot have both of them installed at the same time. # Due to broken tproxy support in v2ray-core, recommend using Xray-core for now. # Optional # opkg install v2fly-geoip v2fly-geosite
-
Method 1 - Configure via LuCI interface (for OpenWrt 21.02 and higher version only)
-
Install LuCI app
opkg install luci-app-v2raya
-
Visit
http://<your_router_ip>/cgi-bin/luci/admin/services/v2raya
and complete setup.
-
-
Method 2 - Configure via cli
-
Setup v2rayA
# For advanced usage, please see /etc/config/v2raya uci set v2raya.config.enabled='1' uci commit v2raya
-
Start v2rayA
/etc/init.d/v2raya start
-
Visit v2rayA webUI and enjoy
http://<your_router_ip>:2017
-