由于本人在自己家搭了个nextcloud,之后想要在外面也能访问自己家的nextcloud,研究了一下反代工具 用了下frp,还行,不过免费又好用的服务器不好找
今天找到了这个不用下载的工具,我还没用,看样子不错,用了再来修改,不知道速度怎么样
看了 要固定域名 不管是他的子域名 还是自己的域名都要每个月3.5美元
免费的 子域名是随机的 我配置443用不了 不知道是不是免费的用不了443 速度没测 网站就是localhost.run
The Basics 基础知识
Put a locally running HTTP, HTTPS or TLS app on the internet#
在internet上放置本地运行的HTTP、HTTPS或TLS应用程序#
localhost.run is a client-less tool to instantly make a locally running application available on an internet accessible URL.
localhost.run是一个无客户机的工具,可以立即使本地运行的应用程序在internet可访问的URL上可用。
All major operating systems already have SSH installed, and localhost.run uses SSH as a client, so no download is necessary to use the service and no account setup is needed for free domains.
所有主要的操作系统都已经安装了SSH,localhost.run使用SSH作为客户端,因此使用该服务不需要下载,免费域也不需要设置帐户。
To connect an internet domain to an application running locally on port 8080 open a command terminal and run:
要将internet域连接到在端口8080上本地运行的应用程序,请打开命令终端并运行:
ssh -R 80:localhost:8080 localhost.run
running on local port 3002 ? use this command:
在本地端口3002上运行?使用此命令:
ssh -R 80:localhost:3002 localhost.run
代码说明:
ssh -R 这里是反代 还有其他参数 正向代理 其他什么的
80 对外的端口
localhost:3002 本地内网ip和端口
localhost.run 这个工具名称
评论