52 lines
1.1 KiB
Markdown
52 lines
1.1 KiB
Markdown
---
|
||
title: "FRP"
|
||
type: concept
|
||
tags: [frp, 内网穿透, reverse-proxy]
|
||
last_updated: 2026-04-13
|
||
---
|
||
|
||
## Definition
|
||
FRP(Fast 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.0(ARM64)操作笔记]]
|
||
- [[Ubuntu 安装 FRP 0.65.0(x86_64)操作笔记]]
|
||
- [[通过VPS+内网反向代理实现域名访问内网穿透]] |