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 Factors Influence The Price Of Bitcoin?

What Factors Influence The Price Of Bitc...

The price of Bitcoin is influenced by a multitude of factors, each contributing to its volatility and value in the market. Here are the primary factors that influence Bitcoin's price:1. Supply and Dem...

How To Develop With Ai

How To Develop With Ai

To develop with AI, it's essential to understand the tools, frameworks, and programming languages that are most effective in this field. Here's a structured approach based on the knowledge provided:1....

How Can Businesses Benefit From AI In Content Creation?

How Can Businesses Benefit From AI In Co...

Businesses can significantly benefit from AI in content creation through various means:1. Efficiency and Speed: AI automates routine tasks such as editing, formatting, and generating content, allowing...

How To Turn On Generative Ai In Google Search

How To Turn On Generative Ai In Google S...

To enable generative AI in Google Search, you need to activate the Search Generative Experience (SGE) feature. Here’s a step-by-step guide to help you through the process:1. Use Google Chrome: Ensure ...

What Supporting Documents Should I Attach To My Repayment Proposal?

What Supporting Documents Should I Attac...

To effectively prepare a repayment proposal, it is crucial to include supporting documents that provide a comprehensive view of your financial situation. Based on the knowledge provided, here are the ...

How To Be Rich

How To Be Rich

To become rich, it's essential to adopt certain habits and strategies that have been proven effective by wealthy individuals. Here are some key principles and steps to consider:1. Mindset and Goals: ...