Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuoruan/openwrt-v2ray
V2Ray for OpenWrt
https://github.com/kuoruan/openwrt-v2ray
openwrt v2ray
Last synced: 24 days ago
JSON representation
V2Ray for OpenWrt
- Host: GitHub
- URL: https://github.com/kuoruan/openwrt-v2ray
- Owner: kuoruan
- License: mit
- Created: 2019-02-12T03:58:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T02:25:26.000Z (about 1 month ago)
- Last Synced: 2024-10-01T01:41:14.277Z (about 1 month ago)
- Topics: openwrt, v2ray
- Language: Makefile
- Homepage:
- Size: 198 KB
- Stars: 2,205
- Watchers: 49
- Forks: 463
- Open Issues: 65
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **418**星
README
# openwrt-v2ray
V2Ray for OpenWrt
OpenWrt/LEDE 上可用的 V2Ray
[![Release Version](https://img.shields.io/github/release/kuoruan/openwrt-v2ray.svg)](https://github.com/kuoruan/openwrt-v2ray/releases/latest) [![Latest Release Download](https://img.shields.io/github/downloads/kuoruan/openwrt-v2ray/latest/total.svg)](https://github.com/kuoruan/openwrt-v2ray/releases/latest) [![Releases Download](https://img.shields.io/github/downloads/kuoruan/openwrt-v2ray/total.svg)](https://github.com/kuoruan/openwrt-v2ray/releases)
For luci-app-v2ray, please head to [kuoruan/luci-app-v2ray](https://github.com/kuoruan/luci-app-v2ray)
## Install via OPKG
1. Add new opkg key:
```sh
wget -O kuoruan-public.key http://openwrt.kuoruan.net/packages/public.key
opkg-key add kuoruan-public.key
```2. Add opkg repository:
```sh
echo "src/gz kuoruan_packages http://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH)" \
>> /etc/opkg/customfeeds.conf
```> Replace `http://` with `https://` if you like.
3. Install package:
```sh
opkg update
opkg install v2ray-core
```For minimal package:
```sh
opkg update
opkg install v2ray-core-mini
```4. Upgrade package:
```sh
opkg update
opkg upgrade v2ray-core
```## Manual Install
- Download pre build ipk file from [releases](https://github.com/kuoruan/openwrt-v2ray/releases)
- Upload file to your router, install it with ssh command.
```sh
opkg install v2ray-core*.ipk
```Depends:
* ca-certificates
Bin files will install in `/usr/bin`.
## Custom build
1. Use the latest [OpenWrt SDK](https://downloads.openwrt.org/snapshots/) or with source code in master branch (requires golang modules support, commit [openwrt/packages@7dc1f3e](https://github.com/openwrt/packages/commit/7dc1f3e0293588ebc544e8eee104043dd0dacaf5) and later).
2. Enter root directory of SDK, then download the Makefile:
```sh
git clone https://github.com/kuoruan/openwrt-v2ray.git package/v2ray-core
```> For Chinese users, `export GOPROXY=https://goproxy.io` before build.
Start build:
```sh
./scripts/feeds update -a
./scripts/feeds install -amake menuconfig
Network ---> Project V ---> <*> v2ray-core
Network ---> Project V ---> v2ray-core-mini
make package/v2ray-core/{clean,compile} V=s
```- You can custom the features in `V2Ray Mini Configuration` option.
3. UPX Compress
If you want to build with UPX compress, the UPX package is required.
```sh
git clone -b master --depth 1 https://github.com/kuoruan/openwrt-upx.git package/openwrt-upx
```## Uninstall
```sh
opkg remove v2ray-core # v2ray-core-mini
```