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

[BUG] <surge的wireguard格式无法添加> #748

Open
2 tasks done
kmrule opened this issue Apr 26, 2024 · 0 comments
Open
2 tasks done

[BUG] <surge的wireguard格式无法添加> #748

kmrule opened this issue Apr 26, 2024 · 0 comments

Comments

@kmrule
Copy link

kmrule commented Apr 26, 2024

确认版本最新

  • 我已经确认在最新Action编译的版本中复现

检索issue

  • 我已经确认之前没有issue涉及此BUG

subconverter版本

v0.9.0-6974910

转换过程

surge转surge

转换设置

default_url 引用了本地文件surge.conf,内容为下
A = http, 192.168.31.10, 7890, tls=false
WARP = wireguard, section-name=Cloudflare

在 all_base.tpl 模版配置surge的部分里添加了以下字段
[WireGuard HomeServer]
private-key = sDEZLACT3zgNCS0CyClgcBC2eYROqYrwLT4wdtAJj3s=
self-ip = 10.0.2.2
self-ip-v6 = fd00:1111::11
dns-server = 8.8.8.8, 2606:4700:4700::1001
prefer-ipv6 = false
mtu = 1280
peer = (public-key = fWO8XS9/nwUQcqnkfBpKeqIqbzclQ6EKP20Pgvzwclg=, allowed-ips = 0.0.0.0/0, endpoint = 192.168.20.6:51820)

复现步骤

转换为Surge配置时proxy字段下没有生成wireguard的节点信息

期望结果

转换为Surge配置时proxy字段下生成wireguard的节点信息
[Proxy]
DIRECT = direct
A = http, 192.168.31.10, 7890, tls=false
WARP = wireguard, section-name=HomeServer
🎯 全球直连 = direct

[WireGuard HomeServer]
private-key = sDEZLACT3zgNCS0CyClgcBC2eYROqYrwLT4wdtAJj3s=
self-ip = 10.0.2.2
self-ip-v6 = fd00:1111::11
dns-server = 8.8.8.8, 2606:4700:4700::1001
prefer-ipv6 = false
mtu = 1280
peer = (public-key = fWO8XS9/nwUQcqnkfBpKeqIqbzclQ6EKP20Pgvzwclg=, allowed-ips = 0.0.0.0/0, endpoint = 192.168.20.6:51820)

实际结果

转换为Surge配置时[Proxy]下没有生成wireguard的节点信息
[Proxy]
DIRECT = direct
A = http, 192.168.31.10, 7890, tls=false
🎯 全球直连 = direct

[WireGuard HomeServer]
private-key = sDEZLACT3zgNCS0CyClgcBC2eYROqYrwLT4wdtAJj3s=
self-ip = 10.0.2.2
self-ip-v6 = fd00:1111::11
dns-server = 8.8.8.8, 2606:4700:4700::1001
prefer-ipv6 = false
mtu = 1280
peer = (public-key = fWO8XS9/nwUQcqnkfBpKeqIqbzclQ6EKP20Pgvzwclg=, allowed-ips = 0.0.0.0/0, endpoint = 192.168.20.6:51820)

错误信息

No response

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

1 participant