Ethan-J’s
往期整理
  •   历史归档
  •   文章分类
  •   文章标签
English
Ethan
Article
10
Category
5
Tags
3
往期整理
历史归档
文章分类
文章标签
English
技术分享
Cloudflared 实现内网穿透
Post on: 2024-9-26
Last edited: 2024-9-26
Views
工具
type
status
date
slug
summary
tags
category
icon
password
前提条件:
  • 有自己的域名,并且通过 cloudflare 解析

cloudflare 网页上

Zero Trust -> Network -> Tunnel
  1. Create a tunnel
  1. 取个名字
  1. 复制 token

服务器端

安装 cloudflared

  1. 对于 openwrt 设备,下载
  1. vi /etc/init.d/cloudflared
  1. 开启 cloudflared 服务

客户端

安装 cloudflared

对于 MacOS

登录 cloudflared

在弹出的页面上授权

cloudflared access

vi ~/.ssh/config

  • Author:Ethan
  • URL:https://zheyu.ink/article/cloudflared-tunnel
  • Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
空口抓包
Redmi AX6 OpenWRT 刷机
vnt & vnts 实现内网穿透
vnt & vnts 实现内网穿透系统日志接入
Loading...
Catalog
0%
cloudflare 网页上服务器端安装 cloudflared客户端安装 cloudflared登录 cloudflaredcloudflared accessvi ~/.ssh/config
Ethan
Ethan
一个博客
Article
10
Category
5
Tags
3
Latest posts
ai-hedge-fund 各 Agent 处理逻辑
ai-hedge-fund 各 Agent 处理逻辑
2025-3-24
NS-3 仿真
NS-3 仿真
2025-2-6
付鹏《2024 年终回顾和 2025 年展望 —— 对冲风险 VS 软着陆》
付鹏《2024 年终回顾和 2025 年展望 —— 对冲风险 VS 软着陆》
2024-12-2
RAG
RAG
2024-9-26
系统日志接入
系统日志接入
2024-9-26
Redmi AX6 OpenWRT 刷机
Redmi AX6 OpenWRT 刷机
2024-9-26
Announcement
 
 
Catalog
0%
cloudflare 网页上服务器端安装 cloudflared客户端安装 cloudflared登录 cloudflaredcloudflared accessvi ~/.ssh/config
2024-2025 Ethan.

Ethan-J’s | 一个博客

Powered by NotionNext 4.7.2.