apernet / OpenGFW

OpenGFW is a flexible, easy-to-use, open source implementation of GFW (Great Firewall of China) on Linux
https://gfw.dev/
Mozilla Public License 2.0
9.31k stars 703 forks source link

whitelist #113

Closed mooyun closed 4 months ago

mooyun commented 4 months ago

Will it be developed to add whitelisting mode at a later stage?

tobyxdd commented 4 months ago

There is no need for a "whitelist mode". You can already do that with the right rules.

tls != nil && string(tls?.req?.sni) != "good.com"