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

如何让IPv4和IPv6分开解锁? #79

Open
Mr-Kwok opened this issue Jul 5, 2023 · 2 comments
Open

如何让IPv4和IPv6分开解锁? #79

Mr-Kwok opened this issue Jul 5, 2023 · 2 comments

Comments

@Mr-Kwok
Copy link

Mr-Kwok commented Jul 5, 2023

请问如何让IPv4和IPv6分开解锁?
我看到sniproxy配置文件中只有mode ipv4_first/mode ipv6_first/mode ipv4_only_mode ipv6_only这四个模式。
现在的情况是我的VPS上的IPv4可以解锁Netiflix,IPv6可以解锁HotStar,虽然V2ray内置DNS分流设置中设置了Netflix走IPv4,HotStar走IPv6。但是如果我在sniproxy设置mode ipv4_first还是只能解锁Netflix,HotStar无法解锁,如果设置为mode ipv6_first那么可以解锁HotStar,Netflix就解锁不了。
有没有什么配置方法可以让IPv4和IPv6各走各的解锁?

@myxuchangbin
Copy link
Owner

https://raw.githubusercontent.com/dlundquist/sniproxy/master/man/sniproxy.conf.5
可以研究下这里的配置,目前看到reuseport端口重用功能

@Mr-Kwok
Copy link
Author

Mr-Kwok commented Jul 5, 2023

能不能增加一种v4和v6权限平等的模式?可以让V2ray在DNS分流中配置IPv6地址就走解锁机的IPv6地址解析,配置v4地址就走解锁机上的v4地址解析?

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

No branches or pull requests

2 participants