新增wiki命令文件

This commit is contained in:
2026-04-14 16:02:50 +08:00
parent 65803c911d
commit c6e3d3c5db
485 changed files with 12578 additions and 396 deletions

52
wiki/concepts/FRP.md Normal file
View File

@@ -0,0 +1,52 @@
---
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+内网反向代理实现域名访问内网穿透]]