dotjh / openwrt-v2ray

V2Ray for OpenWrt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openwrt-v2ray

V2Ray for OpenWrt

OpenWrt/LEDE 上可用的 V2Ray

Release Version Latest Release Download Releases Download

For luci-app-v2ray, please head to kuoruan/luci-app-v2ray

Install

  • Download pre build ipk file from releases

  • Upload file to your router, install it with ssh command.

opkg install v2ray-core*.ipk

Bin files will install in /usr/bin.

Custom build

  1. Use the latest OpenWrt SDK or with source code in master branch (requires golang modules support, commit openwrt/packages@7dc1f3e and later).

  2. Enter root directory of SDK, then download the Makefile:

git clone https://github.com/kuoruan/openwrt-v2ray.git package/v2ray-core

For Chinese users, export GOPROXY=https://goproxy.io before build.

Start build:

./scripts/feeds update -a
./scripts/feeds install -a

make menuconfig

Languages ---> Go ---> <M> golang-v2ray-core-dev # Source
Network ---> Project V ---> <*> v2ray-core

make package/v2ray-core/{clean,compile} V=s
  • You can custom the features in "V2Ray Configuration" option.

Uninstall

opkg remove v2ray-core

About

V2Ray for OpenWrt

License:MIT License


Languages

Language:Makefile 100.0%