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

https remote 支持 #489

Open
AliceSync opened this issue Feb 19, 2023 · 0 comments
Open

https remote 支持 #489

AliceSync opened this issue Feb 19, 2023 · 0 comments

Comments

@AliceSync
Copy link

AliceSync commented Feb 19, 2023

今天尝试了一下“trojan-go”,发现了一点问题

  • "remote"在正常访问下无法代理443端口

我知道手册说在本地开启80端口使用“remote”代理过去,但是这里会造成它在部署的时候变得繁琐,举例:

  • 安装nginx服务

  • 开启80端口(当然也可以不开外网)

  • 开启nginx内的代理

  • 代理其它网站的https

  • 启动软件

  • 完整过程:一个正常客户端的请求 - trojan-go处理 - nginx处理 - 被伪装的目标https服务器处理

而理想又简单的方案来伪装应该是:

  • 启动软件

  • 完整过程:一个正常客户端的请求 - trojan-go处理 - 被伪装的目标https服务器处理

解析https请求转发并且返回正确的数据并不难,为什么不集成呢?这样一个简单的转发不是更好吗,甚至可以把被转发的目标服务器的响应数据全部模拟返回,以至于省略本地完整模拟需要的步骤。

希望可以获得改进,这对只部署基础服务的服务器来说很有帮助!

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