fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
82.23k stars 12.91k forks source link

[Feature Request] FRPS(v0.58)不支持SSH Tunnel Gateway+STCP visitors吗 #4248

Closed thinkclaves closed 1 month ago

thinkclaves commented 1 month ago

Describe the feature request

由于frpc总是被各类软件查杀,所以想用SSH通过STCP实现安全地暴露内网服务。

stcp 提供放可以使用以下命令成功创建STCP提供方: ssh -R :80:{local_ip:port} v0@{frps address} -p {frps ssh listen port} stcp --remote_port {real remote port} --proxy_name {proxy_name} --token {frp token} --sk {sk}

但是另外一端却貌似只能使用frpc来连接,不能用ssh来连接。

由于frpc总被360查杀,所以我希望stcp两端都通过ssh.exe来连接。

不知可不可行?我哪里操作有误?

Describe alternatives you've considered

No response

Affected area

fatedier commented 1 month ago

目前不支持,不确定是否可以实现。cc @blizard863

thinkclaves commented 1 month ago

@fatedier 您可以评估一下,我觉得可以解决来源于frpc现在被各类杀软带来的影响。

fatedier commented 1 month ago

@thinkclaves 依赖 ssh 的实现只能支持非常有限的功能,如果不能和现有架构完全匹配的话,就不会在这方面过多考虑。否则相当于另外写一个项目了。