opkg feed of v2rayA for OpenWrt users
修订版 | 991376a1cf8dc0f14bc5f2c3f0ad6927dd89686a (tree) |
---|---|
时间 | 2022-09-06 23:06:43 |
作者 | Tianling Shen <cnsztl@immo...> |
Commiter | Tianling Shen |
README: add tips for LuCI app
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
@@ -42,20 +42,32 @@ opkg feed of v2rayA for OpenWrt users. | ||
42 | 42 | |
43 | 43 | ## How to use |
44 | 44 | |
45 | -1. Setup v2rayA | |
45 | +- Method 1 - Configure via LuCI interface (for __OpenWrt 21.02 and higher__ version only) | |
46 | 46 | |
47 | - ```sh | |
48 | - # For advanced usage, please see /etc/config/v2raya | |
49 | - uci set v2raya.config.enabled='1' | |
50 | - uci commit v2raya | |
51 | - ``` | |
47 | + 1. Install LuCI app | |
52 | 48 | |
53 | -2. Start v2rayA | |
49 | + ```sh | |
50 | + opkg install luci-app-v2raya | |
51 | + ``` | |
54 | 52 | |
55 | - ```sh | |
56 | - /etc/init.d/v2raya start | |
57 | - ``` | |
53 | + 2. Visit `http://<your_router_ip>/cgi-bin/luci/admin/services/v2raya` and complete setup. | |
54 | + | |
55 | +- Method 2 - Configure via cli | |
56 | + | |
57 | + 1. Setup v2rayA | |
58 | + | |
59 | + ```sh | |
60 | + # For advanced usage, please see /etc/config/v2raya | |
61 | + uci set v2raya.config.enabled='1' | |
62 | + uci commit v2raya | |
63 | + ``` | |
64 | + | |
65 | + 2. Start v2rayA | |
66 | + | |
67 | + ```sh | |
68 | + /etc/init.d/v2raya start | |
69 | + ``` | |
58 | 70 | |
59 | -3. Visit v2rayA webUI and enjoy | |
71 | + 3. Visit v2rayA webUI and enjoy | |
60 | 72 | |
61 | - http://openwrt.lan:2017 | |
73 | + `http://<your_router_ip>:2017` |
@@ -1,6 +1,6 @@ | ||
1 | 1 | # v2raya-openwrt |
2 | 2 | |
3 | -适用于 OpenWrt 用户的 opkg 软件源。 | |
3 | +适用于 OpenWrt 用户的 v2rayA opkg 软件源。 | |
4 | 4 | |
5 | 5 | [English](README.md) |
6 | 6 |
@@ -8,7 +8,7 @@ | ||
8 | 8 | |
9 | 9 | 1. 导入 v2rayA 签名文件 |
10 | 10 | |
11 | - > 请确认软件包 `wget-ssl` 已经安装在您的设备上 | |
11 | + > 请确认软件包 `wget-ssl` 已经正确地安装在您的设备上 | |
12 | 12 | |
13 | 13 | ```sh |
14 | 14 | wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03 |
@@ -42,20 +42,31 @@ | ||
42 | 42 | |
43 | 43 | ## 使用方法 |
44 | 44 | |
45 | -1. 配置 v2rayA | |
45 | +- 方法一:通过 LuCI 界面配置(仅适用于 __OpenWrt 21.02 或更高版本__) | |
46 | 46 | |
47 | - ```sh | |
48 | - # 详细配置请参见 /etc/config/v2raya | |
49 | - uci set v2raya.config.enabled='1' | |
50 | - uci commit v2raya | |
51 | - ``` | |
47 | + 1. 安装 LuCI app | |
48 | + ```sh | |
49 | + opkg install luci-app-v2raya | |
50 | + ``` | |
52 | 51 | |
53 | -2. 启动 v2rayA | |
52 | + 2. 访问 `http://<your_router_ip>/cgi-bin/luci/admin/services/v2raya` 并完成配置。 | |
54 | 53 | |
55 | - ```sh | |
56 | - /etc/init.d/v2raya start | |
57 | - ``` | |
54 | +- 方法二:通过命令行配置 | |
55 | + | |
56 | + 1. 配置 v2rayA | |
57 | + | |
58 | + ```sh | |
59 | + # 详细配置请参见 /etc/config/v2raya | |
60 | + uci set v2raya.config.enabled='1' | |
61 | + uci commit v2raya | |
62 | + ``` | |
63 | + | |
64 | + 2. 启动 v2rayA | |
65 | + | |
66 | + ```sh | |
67 | + /etc/init.d/v2raya start | |
68 | + ``` | |
58 | 69 | |
59 | -3. 访问 v2rayA webUI 面板并完成设置 | |
70 | + 3. 访问 v2rayA webUI 面板并完成设置 | |
60 | 71 | |
61 | - http://openwrt.lan:2017 | |
72 | + `http://<your_router_ip>:2017` |