Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save frzvfdr/982a3b21adfc7c927f35e2ce9f3b33f6 to your computer and use it in GitHub Desktop.
Save frzvfdr/982a3b21adfc7c927f35e2ce9f3b33f6 to your computer and use it in GitHub Desktop.
Install V2Ray Client on OpenWRT and Configure Vmess
## Change Directory
cd /tmp/
## Update opkg
opkg update
## If wget not installed already
opkg install wget ca-certificates ca-bundle
## Download and Add Repo Key
wget -O kuoruan-public.key http://openwrt.kuoruan.net/packages/public.key
opkg-key add kuoruan-public.key
## Add Repo to Source List
echo "src/gz kuoruan_packages http://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH)" \
>> /etc/opkg/customfeeds.conf
## Update opkg
opkg update
## Remove DNSMasq
opkg remove dnsmasq
## Install V2Ray Mini Version
opkg install v2ray-core-mini
## Download Luci App V2Ray
wget -O luci-app-v2ray_1.5.6_all.ipk https://github.com/kuoruan/luci-app-v2ray/releases/download/v1.5.6-1/luci-app-v2ray_1.5.6_all.ipk
## Install Luci App V2Ray
opkg install luci-app-v2ray_*.ipk
## Added By Frzvfdr ##
## For Fixing the luci.cbi not found you have to install luci-compat first
## For last OpenWrt release version 21.02
opkg install luci-compat
@ArsinShaabani
Copy link

and how fix

V2Ray file :
Invalid V2Ray file

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment