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
@dbumiguel
Copy link

no install dnsmasq-full after remove?

@alitootia
Copy link

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-v2ray:
  •  iptables-mod-tproxy
    
  • opkg_install_cmd: Cannot install package luci-app-v2ray.

@ashkan45
Copy link

I installed this, now it is running, but the output IP does not change. Do I need to change other parts?

@ArsinShaabani
Copy link

hi
after do all of this how can to add config on v2ray app on openwrt software?

@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