Skip to content

Add new rule type ipset#4040

Open
major1201 wants to merge 34 commits intoSagerNet:testingfrom
major1201:ipset
Open

Add new rule type ipset#4040
major1201 wants to merge 34 commits intoSagerNet:testingfrom
major1201:ipset

Conversation

@major1201
Copy link
Copy Markdown

Added new ipset rule type to support checking a specific ipset contains the destination IP.

Usage:

{
  "route": {
    "rules": [
      {
        "ipset": ["my-corp1", "my-corp2"],
        "outbound": "xxx"
      }
    ]
  }
}

@major1201
Copy link
Copy Markdown
Author

This PR needs to be blocked until the netlink feature is accepted.

After that, I'll update the go.mod to use the latest netlink version.

@nekohasekai nekohasekai force-pushed the testing branch 2 times, most recently from ab0c858 to 9c3c93c Compare April 14, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants