AdguardTeam / AdguardTeam/AdGuardHome

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

Aperta
#2,193 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.