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
84.53k stars 13.17k forks source link

能否实现一条命令生成https的端口转发链接 #4334

Closed xhzkp closed 1 month ago

xhzkp commented 2 months ago

Describe the feature request

https://github.com/fatedier/frp/issues/4325 我上面贴子的功能需求最终用 serveo.net 实现了, 但可能是因为这个网站在国外的原因, 即便像下面命令,加了ServerAliveInterval=60参数也不能长时间稳定使用, 另外自定义二级域名或使用自己的域名也需要一些复杂的设置 ssh -o ServerAliveInterval=60 -R 80:localhost:4458 serveo.net 上面命令生成的链接类似如下, 直接就支持了https, 而且几乎就是瞬间生成的, 也不用装客户端, 只要一个ssh内置的或第三方的都行: https://a32735b3a631882e6926fc766bbe73d8.serveo.net

serveo的操作方式的确太简单了, 直接就生成了 HTTPS的端口转发链接, 那有没有可能, 也用类似的方式, 在要公开某个服务端口的电脑的ssh中, 也执行一个操作FRPS服务端的命令, 然后也直接生成HTTPS的端口转发链接呢?

下面的链接是部署自己的seveo 服务器 https://github.com/taichunmin/docker-serveo-server

Describe alternatives you've considered

No response

Affected area

github-actions[bot] commented 1 month ago

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.