当前位置:网站首页>云原生-FRP内网穿透(详解)使用云服务器将内网集群服务暴露至公网(二)
云原生-FRP内网穿透(详解)使用云服务器将内网集群服务暴露至公网(二)
2022-08-10 23:58:00 【平塘码道】
前排提示:多看文档少吃亏!本文包含 frp docker 镜像创建步骤 !
FRP 官方文档地址:FRP官网
为什么要使用frp,场景说明
场景:家中电脑或者公司电脑上跑起了一个Web服务,那么这时如何通过公网IP或者公网的域名访问到这个Web服务呢?
常用解决方案:向网络运营商购买公网IP地址绑定到端口上。弊端:运营商联系不到!比如你在公司或办公地点并不固定的时候!
因此本文的解决方案:frp 内网穿透!使用云服务器,由云服务商提供固定的公网IP。
话不多说直接开搞!
frp 简介
frp 是一个专注于内网穿透的高性能的反向代理应用,支持 TCP、UDP、HTTP、HTTPS 等多种协议。可以将内网服务以安全、便捷的方式通过具有公网 IP 节点的中转暴露到公网。
frp 采用 Golang 编写,支持跨平台,仅需下载对应平台的二进制文件即可执行,没有额外依赖。
为什么使用 frp?
通过在具有公网 IP 的节点上部署 frp 服务端,可以轻松地将内网服务穿透到公网,同时提供诸多专业的功能特性,这包括:
- 客户端服务端通信支持 TCP、KCP 以及 Websocket 等多种协议。
- 采用 TCP 连接流式复用,在单个连接间承载更多请求&
边栏推荐
- promise详解
- [数据可视化] 图表设计原则
- Multilingual Translation - Multilingual Translation Software Free
- 镜头之滤光片---关于日夜两用双通滤光片
- 如何做专利挖掘,关键是寻找专利点,其实并不太难
- Analysis of LENS CRA and SENSOR CRA Matching Problems
- Summary of Confused Knowledge Points for "High Items" in the Soft Examination in the Second Half of 2022 (2)
- 盘点美军的无人机家底
- “蔚来杯“2022牛客暑期多校训练营4 ADHK题解
- IEEE的论文哪里可以下载?
猜你喜欢
【redis】发布和订阅消息
How engineers treat open source
I caught a 10-year-old Ali test developer, and after talking about it, I made a lot of money...
leetcode 前K个高频单词
YOLOv5的Tricks | 【Trick13】YOLOv5的detect.py脚本的解析与简化
promise详解
Based on the SSM to reach the phone sales mall system
Software Testing Certificate (1) - Software Evaluator
9. Rest style request processing
[Excel knowledge and skills] Convert text numbers to numeric format
随机推荐
How to recover deleted files from the recycle bin, two methods of recovering files from the recycle bin
YOLOv5的Tricks | 【Trick13】YOLOv5的detect.py脚本的解析与简化
NOR FLASH闪存芯片ID应用之软件保护场景
Summary of Confused Knowledge Points for "High Items" in the Soft Examination in the Second Half of 2022 (2)
YOLOv5的Tricks | 【Trick10】从PyTorch Hub加载YOLOv5
服务器小常识
2. Dependency management and automatic configuration
有哪些可以投稿软件工程/系统软件/程序设计语言类外文期刊、会议?
翻译软件哪个准确度高【免费】
How to quickly grasp industry opportunities and introduce new ones more efficiently is an important proposition
Mysql. Slow Sql
What is the ASIO4ALL
There is no recycle bin for deleted files on the computer desktop, what should I do if the deleted files on the desktop cannot be found in the recycle bin?
[Excel knowledge and skills] Convert numeric format numbers to text format
[Excel知识技能] 将文本型数字转换为数值格式
C language% (%d,%c...)
"NIO Cup" 2022 Nioke Summer Multi-School Training Camp 3 DF Problem Solving
好用的翻译插件-一键自动翻译插件软件
SAS数据处理技术(一)
李彦宏拆墙交朋友,大厂“塑料友情”能否帮百度啃下硬骨头?