Files
nexus/wiki/concepts/FRP.md
2026-04-14 16:02:50 +08:00

52 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, 内网穿透, reverse-proxy]
last_updated: 2026-04-13
---
## Definition
FRPFast Reverse Proxy是一款高性能内网穿透工具支持TCP/UDP/HTTP/HTTPS协议。
## 组件
| 组件 | 说明 | 运行位置 |
|------|------|----------|
| frps | 服务端 | VPS |
| frpc | 客户端 | 内网机器 |
## 核心配置
### frps.ini (VPS)
```ini
[common]
bind_addr = 0.0.0.0
bind_port = 7000
dashboard_addr = 0.0.0.0
dashboard_port = 7500
token = your_token_here
```
### frpc.toml (内网客户端)
```toml
[common]
server_addr = VPS_IP
server_port = 7000
token = your_token_here
[[proxies]]
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 60022
```
## 版本支持
| 架构 | 版本 | 安装路径 |
|------|------|----------|
| macOS ARM64 | 0.65.0 | /opt/frp/frp_0.65.0_darwin_arm64 |
| Linux amd64 | 0.65.0 | /opt/frp/frp_0.65.0_linux_amd64 |
## 相关文档
- [[Mac Mini 安装 FRP 0.65.0ARM64操作笔记]]
- [[Ubuntu 安装 FRP 0.65.0x86_64操作笔记]]
- [[通过VPS+内网反向代理实现域名访问内网穿透]]