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

New feature: ACL in config #59

Open
robot-dot-win opened this issue Jul 11, 2024 · 0 comments
Open

New feature: ACL in config #59

robot-dot-win opened this issue Jul 11, 2024 · 0 comments

Comments

@robot-dot-win
Copy link

Although users can shape network flow via iptables/nftables on Unix-like systems, they need much to learn, especially for normal users; and, this functionality is hardly available on Windows. If hev-socks5-server had ACL in config, it would become a fully functional socks5 server for all platforms(comipled for Windows). The ACL might be like: https://github.com/shadowsocks/shadowsocks-rust?tab=readme-ov-file#acl

That is:

Modes:
[bypass_all] - ACL runs in BlackList mode. Bypasses all addresses that didn't match any rules.
[proxy_all] - ACL runs in WhiteList mode. Proxies all addresses that didn't match any rules.
Rules:
[bypass_list] - Rules for connecting directly
[proxy_list] - Rules for connecting through proxies

And, it would be perfect if the ACLs also support port limit besides IP limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants