bepass-org / warp-plus

Warp+Psiphon, an anti censorship utility for iran
MIT License
1.33k stars 237 forks source link

feat: :sparkles: Add WithRoutingRuleConfig option to proxy (routing rules: Direct, Proxy, Block) #96

Closed pizokh closed 1 week ago

pizokh commented 1 month ago

This commit introduces the WithRoutingRuleConfig option to the proxy functionality. With this option, users can configure routing rules using IP addresses, CIDR blocks, domains, and regular expressions. Additionally, users can specify whether traffic matching these rules should be directed to a proxy, sent directly, or blocked altogether.