Skip to content

Commit

Permalink
docs: add a section about openwrt (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyxdd authored Feb 11, 2024
1 parent 6d33a0d commit 7a52228
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a52228

Please sign in to comment.