Files
nexus/wiki/concepts/FRP.md
2026-04-17 08:38:12 +08:00

42 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: FRP
type: concept
tags: [frp, 内网穿透, 穿透]
date: 2025-04-16
---
## Aliases
- Fast Reverse Proxy
- frp
## Definition
FRPFast Reverse Proxy是一款高性能的反向代理工具用于内网穿透。它允许用户将内网服务通过公网服务器暴露给外部访问。
## Key Characteristics
- 开源GitHubfatedier/frp
- 支持多种协议TCP、UDP、HTTP、HTTPS
- 配置简单
- 支持多种认证方式token、oidc
- 客户端/服务端架构
## Use Cases
- 将内网 HTTP 服务暴露到公网
- 远程访问内网 SSH
- 端口映射
- 负载均衡
## Architecture
- **frps**FRP 服务端,运行在有公网 IP 的 VPS 上
- **frpc**FRP 客户端,运行在内网机器上
- 客户端连接服务端,建立长连接
- 服务端接收外部请求,转发给客户端
## Versions
- 0.65.0(当前版本)
- 0.65.0 for x86_64linux_amd64
- 0.65.0 for ARM64darwin_arm64
## Connections
- [[FRP]] ← implements ← [[内网穿透]]
- [[FRPServer]] ← runs_on ← [[VPS2]]
- [[FRP客户端]] ← runs_on ← [[Mac Mini]]