Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save p0rsche/7a99fc8049f1eb10317d6e59d4918610 to your computer and use it in GitHub Desktop.
Save p0rsche/7a99fc8049f1eb10317d6e59d4918610 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
## Download Luci App V2Ray
wget -O luci-app-v2ray_2.0.0-1_all.ipk https://github.com/kuoruan/luci-app-v2ray/releases/download/v2.0.0-1/luci-app-v2ray_2.0.0-1_all.ipk
## Remove DNSMasq
opkg remove dnsmasq
## Install Luci App V2Ray Manually
opkg install luci-app-v2ray_*.ipk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment