We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
最新
转化为clash
,
对于[2606:4700::]:2053这样的ip,比如 trojan://aaa@[2606:4700::]:2053?security=tls&sni=aa.aa&fp=randomized&type=ws&host=aa.aa&path=%2F%3Fed%3D2560#xxx 会转化为 proxies:
对于server是ipv6的,能正确转换为clash所使用的格式
转换后的ipv6没有将中括号去除
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
确认版本最新
检索issue
subconverter版本
最新
转换过程
转化为clash
转换设置
,
复现步骤
对于[2606:4700::]:2053这样的ip,比如
trojan://aaa@[2606:4700::]:2053?security=tls&sni=aa.aa&fp=randomized&type=ws&host=aa.aa&path=%2F%3Fed%3D2560#xxx
会转化为
proxies:
server: "[xxx]"
port: 2053
type: trojan
password: xxx
sni: xxx
skip-cert-verify: true
network: ws
ws-opts:
path: "/?ed=2560"
headers:
Host: xxx
这会导致无法使用,只有去除中括号,并且地址用引号包裹才可以
也就是
server: "xxx"
在ip是2606:4700:::2053的情况下,其实能够正确转换为
server: "2606:4700::", port: 2053
不过像
2606:4700:2606:4700:2606:4700:2606:4700:2053
则会转换为
server: 2606:4700:2606:4700:2606:4700:2606:4700, port: 2053
ipv6必须以server: "xxx"才能在clash中使用
ipv6正常情况下都是[xxx]:xxx的格式
因此订阅转换在转换ipv6地址为clash配置的时候,应该将中括号内作为server的值,并用引号包裹,将 ]: 后面的作为端口号
期望结果
对于server是ipv6的,能正确转换为clash所使用的格式
实际结果
转换后的ipv6没有将中括号去除
错误信息
No response
The text was updated successfully, but these errors were encountered: