OSDN Git Service

README: update install instruction
authorTianling Shen <cnsztl@immortalwrt.org>
Mon, 20 Mar 2023 12:16:41 +0000 (20:16 +0800)
committerTianling Shen <cnsztl@immortalwrt.org>
Mon, 20 Mar 2023 12:16:41 +0000 (20:16 +0800)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
README.md
README.zh-cn.md

index 06b37be..6f0d0c0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -36,8 +36,20 @@ opkg feed of v2rayA for OpenWrt users.
    ```sh
    opkg install v2raya
 
+   # Check your firewall implementation
+   # Install the following packages for the nftables-based firewall4 (command -v fw4)
+   # Generally speaking, install them on OpenWrt 22.03 and later
+   opkg install kmod-nft-tproxy
+   # Install the following packages for the iptables-based firewall3 (command -v fw3)
+   # Generally speaking, install them on OpenWrt 21.02 and earlier
+   opkg install iptables-mod-conntrack-extra \
+     iptables-mod-extra \
+     iptables-mod-filter \
+     iptables-mod-tproxy \
+     kmod-ipt-nat6
+
    # Choose a core you'd like to use, v2ray or Xray
-   # If you have both installed, the former is preferred by default
+   # If you have both installed, the latter is preferred by default
    #
    # Note from maintainer: due to broken tproxy support in v2ray, recommend using Xray instead
    opkg install xray-core
index 71a97f6..51d0a98 100644 (file)
    ```sh
    opkg install v2raya
 
+   # 检查你的防火墙实现
+   # 为基于 nftables 的 firewall4 (command -v fw4) 安装下列软件包
+   # 一般来说,在 OpenWrt 22.03 或更新版本中安装它们
+   opkg install kmod-nft-tproxy
+   # 为基于 iptables 的 firewall3 (command -v fw3) 安装下列软件包
+   # 一般来说,在 OpenWrt 21.02 或更早版本中安装它们
+   opkg install iptables-mod-conntrack-extra \
+     iptables-mod-extra \
+     iptables-mod-filter \
+     iptables-mod-tproxy \
+     kmod-ipt-nat6
+
    # 选择一个你喜欢的内核,v2ray 或 Xray
-   # å¦\82æ\9e\9c两个å\86\85核被å\90\8cæ\97¶å®\89è£\85ï¼\8cé»\98认使ç\94¨å\89\8d
+   # å¦\82æ\9e\9c两个å\86\85核被å\90\8cæ\97¶å®\89è£\85ï¼\8cé»\98认使ç\94¨å\90\8e
    #
    # 维护者注:由于目前 v2ray 的透明代理支持欠佳,因此更推荐使用 Xray
    opkg install xray-core