Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enforce proxylist rules in cn_direct mode #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ttimasdf
Copy link

caution: this a WIP patch and still need discussion.

Currently, the proxylist.txt rules are only applied when transparent proxy mode is set to cn_proxy or gfwlist_proxy, which is unintutive for average users. I discover this issue only after I checked firewall rules and found no reference to ipset v2ray_dst_proxy_v4. This patch add a feature to force apply the rules inside proxylist.txt. I don't know whether it break any others' use cases but it seems configurable and not changing any existing behaviour.

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.

1 participant