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

有界面,看起来不错,不知道怎么用 #64

Open
qian-jiahong opened this issue Nov 18, 2022 · 1 comment
Open

有界面,看起来不错,不知道怎么用 #64

qian-jiahong opened this issue Nov 18, 2022 · 1 comment

Comments

@qian-jiahong
Copy link

例如,穿透配置页面。“监听配置”、“映射配置”是代表什么?我不是小白,但我不知道怎么设置。

建议:
如果制作向导式的界面太麻烦,可以在配置页面,增加描述,可以写一些示例在旁边。
应该以用户的角度去设计界面,想像一下用户是怎么操作的。

@qian-jiahong
Copy link
Author

自己尝试弄通了。

公网主机

监听配置是连接桥

proxy bridge -p ":8001" -C /etc/proxy/proxy.crt -K /etc/proxy/proxy.key --daemon --forever
监听端口: 8001
底层传输类型: TLS

映射配置就是服务

proxy server -r ":8000@:80" -P "66.66.66.66:8001" -C /etc/proxy/proxy.crt -K /etc/proxy/proxy.key --daemon --forever
服务端口: 8000
协议类型: tcp
HTTP_HOST: 66.66.66.66:8001
映射端口(被访问端主机的端口):80

被访问端主机

然后在被访问端主机安装 GoProxy执行
proxy client --p2p -T tls -P "66.66.66.66:8001" -C /etc/proxy/proxy.crt -K /etc/proxy/proxy.key --log proxy.log

访问

浏览器打开:
66.66.66.66:8000

可以正常访问 http、https 的端口,但 vsftpd 能访问端口,但无法列出目录。

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