AdguardTeam / AdguardTeam/AdGuardHome

Support pf tables for ipset-like functionality on macOS/FreeBSD

未關閉
#2,193 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
feature request
主要語言
TypeScript
星號
36.9k
分支
2.5k
PR 合併指標
30 天內沒有已合併 PR

描述

### Problem Description
It would be desirable to be able to run AGH on macOS/FreeBSD and have name resolutions populate `pf` tables for domain-based routing. Specifically, macOS laptop users would benefit from a combined DNS policy and domain-based routing solution while mobile and connecting to different networks without a VPN. FreeBSD users using pfSense, FreeNAS, or the stock distro could also benefit.

### Proposed Solution
Direct connection to `/dev/pf` with ioctls e.g. . I haven't investigated what the situation is on FreeBSD but I reckon it's similar.

### Alternatives Considered
1. Wrap the `pfctl` command line tool. This is probably slow and may be difficult to manage.

### Additional Information
I think the FreeBSD use case is much more compelling than the macOS use case. Perhaps @tejaskokje would be interested?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。