From 256b11d0048e3c255c4f98adeb77efa9ce21f248 Mon Sep 17 00:00:00 2001 From: Maxim Kurbatov Date: Tue, 12 Nov 2024 00:41:55 +0500 Subject: [PATCH] Update README --- Makefile | 2 +- README.en.md | 18 +++++++++++++----- README.md | 18 +++++++++++++----- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index fe7b539..7f680a7 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_VERSION:=1.0.0 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_FULLVERSION:=$(PKG_VERSION)-$(PKG_RELEASE) BINARY_NAME=keenetic-pbr diff --git a/README.en.md b/README.en.md index 247cc57..50de7e7 100644 --- a/README.en.md +++ b/README.en.md @@ -1,7 +1,9 @@ # Keenetic PBR ![workflow status](https://img.shields.io/github/actions/workflow/status/maksimkurb/keenetic-pbr/.github%2Fworkflows%2Fbuild-ci.yml?branch=main) -![release](https://img.shields.io/github/v/release/maksimkurb/keenetic-pbr) +![release](https://img.shields.io/github/v/release/maksimkurb/keenetic-pbr?sort=date) + +#### [> README на русском <](./README.md) Keenetic PBR is a utility for policy-based routing on Keenetic routers, enabling you to direct traffic according to specific routing policies based on domain lists and IP sets. @@ -95,14 +97,20 @@ summarize = true # Lists to be imported to ipset/dnsmasq [[ipset.list]] # List 1 name + name = "local" + # List of hosts + hosts = ["ifconfig.co", "myip2.ru", "1.2.3.4", "141.201.11.0/24"] + + [[ipset.list]] + # List 2 name name = "list-name" - # List 1 URL + # List 2 URL (file should contain domains, IPs and CIDRs, one per line) url = "https://some-url/list1.lst" - + [[ipset.list]] - # List 2 name + # List 3 name name = "re-filter-ipsum" - # List 2 URL + # List 3 URL (file should contain domains, IPs and CIDRs, one per line) url = "https://some-url/list2.lst" # You can add as many ipsets as you want: diff --git a/README.md b/README.md index 106bdd2..24dfe8f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # Keenetic PBR ![workflow status](https://img.shields.io/github/actions/workflow/status/maksimkurb/keenetic-pbr/.github%2Fworkflows%2Fbuild-ci.yml?branch=main) -![release](https://img.shields.io/github/v/release/maksimkurb/keenetic-pbr) +![release](https://img.shields.io/github/v/release/maksimkurb/keenetic-pbr?sort=date) + +#### [> README in English <](./README.en.md) Keenetic PBR — это утилита для маршрутизации на основе политики для маршрутизаторов Keenetic, позволяющая направлять трафик в соответствии с определенными маршрутными политиками на основе списков доменов и IP-адресов. @@ -91,18 +93,24 @@ summarize = true # Приоритет для ip rule priority = 1001 - + # Списки для импорта в ipset/dnsmasq [[ipset.list]] # Имя списка 1 + name = "local" + # Список хостов списка 1 + hosts = ["ifconfig.co", "myip2.ru", "1.2.3.4", "141.201.11.0/24"] + + [[ipset.list]] + # Имя списка 2 name = "list-name" - # URL списка 1 + # URL списка 2 (файл должен содержать домены, IP адреса и CIDR, по одному на каждой строчке) url = "https://some-url/list1.lst" [[ipset.list]] - # Имя списка 2 + # Имя списка 3 name = "re-filter-ipsum" - # URL списка 2 + # URL списка 3 (файл должен содержать домены, IP адреса и CIDR, по одному на каждой строчке) url = "https://some-url/list2.lst" # Вы можете добавлять столько ipset, сколько хотите: