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

请增加IPv6 本地监听地址的可选配置 #2407

Closed
Yifei0727 opened this issue Jun 14, 2019 · 2 comments
Closed

请增加IPv6 本地监听地址的可选配置 #2407

Yifei0727 opened this issue Jun 14, 2019 · 2 comments

Comments

@Yifei0727
Copy link
Contributor

Shadowsocks version / 影梭版本

4.1.6

Environment(Operating system, .NET Framework, etc) / 使用环境(操作系统,.NET Framework等)

1809 17763.437 64bit

Steps you have tried / 操作步骤

请增加本地配置
localHost 让我能指定地址 例如 [::1]

What did you expect to see? / 期望的结果

C:\Users\XXX>netstat -nao|find "1080"
  TCP    [::1]:1080         0.0.0.0:0              LISTENING       1868
  UDP    [::1]:1080         *:*                                    1868
C:\Users\Rui>telnet [::1] 1080
连接成功

What did you see instead? / 实际结果

C:\Users\XXX>netstat -nao|find "1080"
  TCP    127.0.0.1:1080         0.0.0.0:0              LISTENING       1868
  UDP    127.0.0.1:1080         *:*                                    1868
C:\Users\XXX>telnet [::1] 1080
正在连接[::1]...无法打开到主机的连接。 在端口 1080: 连接失败

Config and error log in detail (with all sensitive info masked) / 配置文件和日志文件(请隐去敏感信息)

@Yifei0727
Copy link
Contributor Author

如果可以,后续在UI 界面增加一个 复选框用于影响配置 是否启用IPv6

  1. 未勾选 默认,仅使用IPv4
  2. 半勾选 仅使用IPv6
  3. 全勾选 采用双栈(IPv4&IPv6) 【未实现】

@celeron533
Copy link
Contributor

Mark IPv6 as experimental function. Currently, only allow "advanced" users to modify the config file directly.

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