netset: add nftables set support
Build / Build (push) Has been cancelled

This commit is contained in:
nadoo committed 2026-07-15 23:41:21 +08:00
1 parent 6a7fc56a5e
commit 43552b60c9
17 files changed
+504 -126

No files matched your search

+8 -4
View File
@@ -20,15 +20,19 @@ checkinterval=30
# DNS SERVER for domains in this rule file
dnsserver=208.67.222.222:53
# IPSET MANAGEMENT
# ----------------
# Create and mange ipset on linux based on destinations in rule files
# NETFILTER SET MANAGEMENT
# ------------------------
# Create and manage ipset or nftables sets on linux based on destinations in rule files
# - add ip/cidrs in rule files on startup
# - add resolved ips for domains in rule files by dns forwarding server
# - add resolved ips for domains in rule files by dns forwarding server
# Usually used in transparent proxy mode on linux
# Note: this will create 2 ipsets, glider for ipv4 and glider6 for ipv6
ipset=glider
# nftset uses [[FAMILY/]TABLE/]NAME. FAMILY defaults to inet and TABLE to glider.
# The nftables table must already exist. This creates glider and glider6.
# nftset=glider
# DESTINATIONS
# ------------
# ALL destinations matches the following rules will be forward using forwarders specified above