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

关于自定义核心 #113

Closed
ghost opened this issue Oct 30, 2022 · 2 comments
Closed

关于自定义核心 #113

ghost opened this issue Oct 30, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 30, 2022

描述问题

预期行为:
使用trojan-go核心

实际行为:
trojan-go的核心不支持.tmp文件?

如何复现
配置:

{
    "run_type": "client",
    "local_addr": "127.0.0.1",
    "local_port": %socks_port%,
    "remote_addr": "server.com",
    "remote_port": %mapping_port%,
    "password": [
        "111"
    ],
    "ssl": {
        "sni": "server.com",
        "fingerprint": "firefox"
    },
    "mux": {
        "enabled": true,
        "concurrency": 8,
        "idle_timeout": 60
      },
    "websocket": {
        "enabled": true,
        "path": "/111",
        "host": "server.com"
    }
}

提供有帮助的截图,录像,文字说明,订阅链接等。

日志
[FATAL] 1145/11/14 19:19:81 github.com/p4gefau1t/trojan-go/proxy.detectAndReadConfig:option.go:34 unsupported config format: /Users/admin/Library/Preferences/nekoray/config/temp/custom_cfg_0OXBng4TiK.tmp. use .yaml or .json instead.

如果有日志,请上传。请在文档内查看导出日志的详细步骤。

另外,请问一下自定义配置中什么命令代表服务器地址?我看服务器地址填写在外部,可并没有发现服务器。

@arm64v8a
Copy link
Contributor

trojan-go的核心不支持.tmp文件

感谢反馈,会修复。

另外,请问一下自定义配置中什么命令代表服务器地址?我看服务器地址填写在外部,可并没有发现服务器。

"remote_addr": "127.0.0.1",

@arm64v8a
Copy link
Contributor

arm64v8a commented Nov 1, 2022

2.2

@arm64v8a arm64v8a closed this as completed Nov 1, 2022
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