mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 09:38:47 +08:00
添加cloudflared (#922)
This commit is contained in:
parent
1cccef4f8f
commit
2b18a0e393
9
apps/cloudflared/2024.1.5/data.yml
Normal file
9
apps/cloudflared/2024.1.5/data.yml
Normal file
@ -0,0 +1,9 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
envKey: token
|
||||
labelEn: token
|
||||
labelZh: 令牌
|
||||
random: false
|
||||
required: true
|
||||
type: password
|
6
apps/cloudflared/2024.1.5/docker-compose.yml
Normal file
6
apps/cloudflared/2024.1.5/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
cloudflared:
|
||||
image: cloudflare/cloudflared:2024.1.5
|
||||
command: tunnel --no-autoupdate run --token ${token}
|
20
apps/cloudflared/README.md
Normal file
20
apps/cloudflared/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
Cloudflared 是 Cloudflare 提供的一个工具,用于创建安全的连接,并允许将私有网络和服务暴露到公共互联网。以下是有关如何使用 Cloudflared 的简要说明:
|
||||
|
||||
1. **安装和设置:**
|
||||
- Cloudflared 是一个连接应用程序的工具,可用于将私有服务和网络连接到Cloudflare的网络。你可以在 [Cloudflare的官方文档](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/) 上找到安装和设置的详细步骤。
|
||||
|
||||
2. **运行Cloudflared容器:**
|
||||
- 使用 Docker 运行 Cloudflared 容器的示例命令如下:
|
||||
```
|
||||
docker run cloudflare/cloudflared:latest tunnel --no-autoupdate --hello-world
|
||||
```
|
||||
此示例使用`--hello-world`参数,依赖于trycloudflare.com,不需要Cloudflare帐户。这是为了快速入门而设计的单一命令。
|
||||
|
||||
3. **实际用途:**
|
||||
- 对于实际用途,建议创建一个免费的 Cloudflare 帐户,并在 [Cloudflare控制台](https://dash.teams.cloudflare.com/) 的Access -> Tunnels 部分创建隧道。在那里,你将获得一个用于启动和运行 cloudflared Docker 容器的单行命令,并且需要通过 Cloudflare 帐户进行身份验证。
|
||||
|
||||
4. **用途:**
|
||||
- Cloudflared 可用于将私有HTTP服务暴露到公共DNS主机名,并可以选择通过 Cloudflare Access 进行访问控制。
|
||||
- 还可以使用 Cloudflared 连接私有网络,允许 WARP 注册用户通过 TCP/UDP IP/port 访问,实现 Zero Trust 安全策略,避免使用传统的 VPN 。
|
||||
|
||||
请注意,具体的操作步骤可能因 Cloudflare 的更新而有所变化,建议查阅官方文档以获取最新信息。
|
13
apps/cloudflared/data.yml
Normal file
13
apps/cloudflared/data.yml
Normal file
@ -0,0 +1,13 @@
|
||||
additionalProperties:
|
||||
key: cloudflared
|
||||
name: cloudflared
|
||||
tags:
|
||||
- Tool
|
||||
shortDescZh: Cloudflared 是 Cloudflare 提供的连接工具,通过 Docker 运行可轻松暴露私有服务和网络。
|
||||
shortDescEn: Cloudflared, a tool by Cloudflare, facilitates secure connections. Easily expose private services and networks via Docker.
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/
|
||||
github: https://github.com/cloudflare/cloudflared
|
||||
document: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/
|
BIN
apps/cloudflared/logo.png
Normal file
BIN
apps/cloudflared/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue
Block a user