Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amanjuman/cd1d80444d6b9c8a464bf96e2f3ca1b4 to your computer and use it in GitHub Desktop.
Save amanjuman/cd1d80444d6b9c8a464bf96e2f3ca1b4 to your computer and use it in GitHub Desktop.
Install V2Ray Client on OpenWRT and Configure Vmess
### The original Author of this package had enabled CloudFlare JS verification. As a result, this automated script will not work.
### Therefore you have to download each package and install it manually.
## 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 https://openwrt.kuoruan.net/packages/public.key
opkg-key add kuoruan-public.key
## Add Repo to Source List
echo "src/gz kuoruan_packages https://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH)" >> /etc/opkg/customfeeds.conf
echo "src/gz kuoruan_universal https://openwrt.kuoruan.net/packages/releases/all" >> /etc/opkg/customfeeds.conf
## Update opkg
opkg update
## Remove DNSMasq
opkg remove dnsmasq
## Install V2Ray Mini Version
opkg install luci-app-v2ray 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 Manually
opkg install luci-app-v2ray_*.ipk
@steve1977
Copy link

Thanks for your help. I am quite desperate to install v2ray on my openwrt box. I have passwall and ssr+ running, but both don't support my node. The URL in the URL above seems outdated. Any idea how to get v2ray installed?

@amanjuman
Copy link
Author

Thanks for your help. I am quite desperate to install v2ray on my openwrt box. I have passwall and ssr+ running, but both don't support my node. The URL in the URL above seems outdated. Any idea how to get v2ray installed?

The original Repo is working again, The Author fixed the CloudFlare WAF issue.

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