From 7a52228ec6e84726399b03c7bb5b9598186fce27 Mon Sep 17 00:00:00 2001 From: Toby Date: Sun, 11 Feb 2024 13:12:49 -0800 Subject: [PATCH] docs: add a section about openwrt (#53) --- README.ja.md | 10 ++++++++++ README.md | 10 ++++++++++ README.zh.md | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/README.ja.md b/README.ja.md index 2e03e02..018332e 100644 --- a/README.ja.md +++ b/README.ja.md @@ -52,6 +52,16 @@ export OPENGFW_LOG_LEVEL=debug ./OpenGFW -c config.yaml rules.yaml ``` +#### OpenWrt + +OpenGFW は OpenWrt 23.05 で動作することがテストされています(他のバージョンも動作するはずですが、検証されていません)。 + +依存関係をインストールしてください: + +```shell +opkg install kmod-nft-queue kmod-nf-conntrack-netlink +``` + ### 設定例 ```yaml diff --git a/README.md b/README.md index 7262463..4e48017 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,16 @@ export OPENGFW_LOG_LEVEL=debug ./OpenGFW -c config.yaml rules.yaml ``` +#### OpenWrt + +OpenGFW has been tested to work on OpenWrt 23.05 (other versions should also work, just not verified). + +Install the dependencies: + +```shell +opkg install kmod-nft-queue kmod-nf-conntrack-netlink +``` + ### Example config ```yaml diff --git a/README.zh.md b/README.zh.md index 3f3778f..a466e33 100644 --- a/README.zh.md +++ b/README.zh.md @@ -53,6 +53,16 @@ export OPENGFW_LOG_LEVEL=debug ./OpenGFW -c config.yaml rules.yaml ``` +#### OpenWrt + +OpenGFW 在 OpenWrt 23.05 上测试可用(其他版本应该也可以,暂时未经验证)。 + +安装依赖: + +```shell +opkg install kmod-nft-queue kmod-nf-conntrack-netlink +``` + ### 样例配置 ```yaml