Omniracle

Cloudflare如何设置代理通道

要在Cloudflare中设置代理通道,您可以使用Cloudflare Tunnel。以下是设置步骤:

  1. 安装Cloudflared

    • 对于Ubuntu/CentOS amd64架构,运行以下命令:
      curl -L 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64' -o /usr/bin/cloudflared && chmod +x /usr/bin/cloudflared
    • 对于arm64架构,运行以下命令:
      curl -L 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64' -o /usr/bin/cloudflared && chmod +x /usr/bin/cloudflared
  2. 配置Tunnel

    • 生成Tunnel凭证,通常会写入/root/.cloudflared/12345-123-123-123-12345.json
    • 使用以下命令运行Tunnel:
      cloudflared --loglevel debug --transport-loglevel warn --config ~/.cloudflared/config.yml tunnel run <隧道UUID>
  3. 检查Tunnel状态

    • 确保Tunnel处于活动状态,您可以通过日志或命令行查看其状态。
  4. 配置DNS

    • 将您的域名解析到Cloudflare提供的DNS记录上,通常是A记录CNAME
  5. 安全设置

    • 在Cloudflare中启用“Always Online”功能,以确保无论何时用户都能访问到应用。

通过这些步骤,您可以成功在Cloudflare中设置代理通道,并将本地服务发布到公网。请确保在配置过程中遵循安全最佳实践,以保护您的服务和数据。

- RESOURCES -

使用cloudflare转发ssh端口 - kelley_go - 博客园

# Cloudflare Tunnel cloudflare 提供的免费加密通道,通过 cloudflare 的 cnd 访问部署在内网的服务,比如 web,ssh,smb,tcp 等。 其工作方式类似于 frp,可以将本地服务发布到公网。只不过 frp 所需的服务器 IP 在 Cloudflare......

www.cnblogs.com

使用Cloudflare Tunnel实现内网穿透,把服务器架在家里

使用Cloudflare Tunnel实现内网穿透,把服务器架在家里

......

bra.live

Cloudflare Agent —— 无缝大规模部署

Cloudflare Agent —— 无缝大规模部署

Today we are excited to announce our zero trust agent now has feature parity across all major platforms. ......

blog.cloudflare.com

什么是 Cloudflare One?

什么是 Cloudflare One?

Today, we’re excited to share Cloudflare One™, our vision to tackle the intractable job of corporate security and networking. Run your network on Cloudflare and keep it secure.......

blog.cloudflare.com

服务器使用 Cloudflare CDN 的最佳实践 · Dejavu's Blog

UFW 防火墙仅允许 Cloudflare 访问,使用源服务器证书配置 HTTPS 访问及获取访客真实 IP 地址......

blog.dejavu.moe

MORE RESULTS
2024 年如何绕过 Cloudflare 进行网页抓取 - Proxyway

2024 年如何绕过 Cloudflare 进行网页抓取 - Proxyway

在抓取受 Cloudflare 保护的网站时,绕过这些限制至关重要。了解绕过 Cloudflare 的所有最佳方法。......

proxyway.com

Cloudflare CORS Anywhere:搭建跨域代理服务简易指南-CSDN博客

文章浏览阅读734次,点赞28次,收藏20次。Cloudflare CORS Anywhere:搭建跨域代理服务简易指南 cloudflare-cors-anywhereCORS "anywhere" proxy in a Cloudflare worker. DEMO at: https://test.cors.workers.dev/项目地址:https://gitcode.com/gh_mirrors/cl/cloudflare-co..._cors-anywhere 安装......

blog.csdn.net

How Do I Document Agreements With Creditors?

How Do I Document Agreements With Credit...

To document agreements with creditors effectively, it is essential to follow a structured approach that ensures all legal and financial aspects are covered. Here are the key steps and components to co...

How To Turn Off Meta Ai Instagram Search Bar

How To Turn Off Meta Ai Instagram Search...

To address your question about turning off the Meta AI Instagram search bar, it's important to note that while you cannot completely disable Meta AI, there are ways to minimize its presence and influe...

What Is The Relationship Between Emotional Intelligence And Resilience?

What Is The Relationship Between Emotion...

The relationship between emotional intelligence (EQ) and resilience is deeply interconnected, as both are crucial for effectively navigating life's challenges and adversities. Emotional intelligence, ...

What Is The Most Effective Tool For Checking Keyword Density On A Website Or Blog Article?

What Is The Most Effective Tool For Chec...

To determine the most effective tool for checking keyword density on a website or blog article, it's important to consider the features and capabilities of various tools available in the market. Here ...

What Types Of Media Should Wealthy Individuals Consume Instead Of Television?

What Types Of Media Should Wealthy Indiv...

To answer the main question, "What types of media should wealthy individuals consume instead of television?", we can break down the content provided into relevant categories that promote personal grow...

How To Take Ai Off Google Search

How To Take Ai Off Google Search

To remove AI-generated content from Google search results, you can use several methods, although there is no official way to completely disable AI Overviews. Here are some strategies you can employ:1....