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 Does Llama 3.1 Handle Coding Tasks Compared To GPT-4?

How Does Llama 3.1 Handle Coding Tasks C...

Llama 3.1 and GPT-4 are both advanced AI language models with distinct strengths and weaknesses, particularly in the context of coding tasks.Llama 3.1:- Developed by Meta, Llama 3.1 is an open-source ...

Who Is Steven Jobs

Who Is Steven Jobs

Steven Paul Jobs, commonly known as Steve Jobs, was a prominent American businessman, inventor, and investor, best known as the co-founder of Apple Inc. Born on February 24, 1955, in San Francisco, Jo...

Is Knowledge Of C   Necessary For A PhD In Machine Learning Or AI?

Is Knowledge Of C Necessary For A PhD ...

To determine whether knowledge of C is necessary for a PhD in Machine Learning or AI, we need to consider the programming languages and skills typically required in these fields.1. Core Programming La...

What Does It Mean To Live Below Your Means?

What Does It Mean To Live Below Your Mea...

Living below your means is a financial strategy that involves spending less than you earn. This approach is fundamental for achieving financial security and independence. It allows individuals to save...

Find Me A Video On Instagram

Find Me A Video On Instagram

To find a video on Instagram, you can follow these steps based on the type of search you want to perform: 1. Using the Explore Page- Navigate: Tap the search icon (magnifying glass) at the bottom of t...

What Role Does Emotional Intelligence Play In Assessing Intelligence?

What Role Does Emotional Intelligence Pl...

Emotional intelligence (EI or EQ) plays a significant role in assessing intelligence by complementing cognitive intelligence (IQ) and providing a more holistic understanding of an individual's capabil...