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

What Is A Good Debt-to-income Ratio?

What Is A Good Debt-to-income Ratio?

A good debt-to-income (DTI) ratio is crucial for financial health and loan approval. The DTI ratio is calculated by dividing your total monthly debt payments by your gross monthly income, expressed as...

How To Build A Website Using Docker

How To Build A Website Using Docker

Building a Website using Docker=====================================Step 1: Create a Dockerfile-----------------------------A Dockerfile is a text file that includes all the commands an application ne...

What Is The Purpose Of A.I.?

What Is The Purpose Of A.I.?

The purpose of Artificial Intelligence (AI) is multifaceted, encompassing a range of objectives that aim to enhance human capabilities and improve efficiency across various domains. At its core, AI se...

Does Trump Really Have An IQ Of 78?

Does Trump Really Have An IQ Of 78?

The claim that Donald Trump has an IQ of 78 is not substantiated by credible evidence. The information provided does not directly address this specific claim, but it does offer insights into the broad...

What Financial Habits Contribute To Wealth Accumulation?

What Financial Habits Contribute To Weal...

To answer the main question, "What financial habits contribute to wealth accumulation?", we can break down the relevant knowledge into key financial habits and strategies that promote wealth building....

What Is Artificial Intelligence?

What Is Artificial Intelligence?

Artificial Intelligence (AI) is a branch of computer science focused on creating systems capable of performing tasks that typically require human intelligence. These tasks include reasoning, learning,...