> For AI agents: the complete documentation index is available at https://www.tteam.icu/llms.txt, the full documentation bundle is available at https://www.tteam.icu/llms-full.txt.

# FRP内网穿透配置指南

## 服务端安装

一键安装脚本GitHub地址: [https://github.com/MvsCode/frps-onekey](https://github.com/MvsCode/frps-onekey)

```bash
wget https://code.aliyun.com/MvsCode/frps-onekey/raw/master/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install
```

## 本地客户端配置

创建 `frpc.ini` 配置文件:

```ini
[common]
server_addr = 服务器IP
server_port = 服务器端口
token = 访问令牌

[name]
type = tcp
local_ip = 本地IP
local_port = 本地端口
remote_port = 外网访问端口
```

## 启动客户端

### Windows系统

```bash
frpc.exe -c ./frpc.ini
```

### Docker运行

```bash
docker run -d --network host --name frpc --restart=always -v /data/docker/frpc/frpc.ini:/frp/frpc.ini stilleshan/frpc
```
