1. FRP 简介
* 官网:gofrp.org/
* Github:github.com/fat...
2. 服务端
2.1. 下载解压
```bash
下载
wget github.com/fat...
解压
sudo tar -zxvf frp_0.34.3_linux_amd64.tar.gz
cd frp_0.34.3_linux_amd64
```
2.2. 配置
```bash
[common]
bind_port = 7000 # 客户端通信端口
vhost_http_port = 54321 # HTTP端口
vhost_https_port = 54322 # HTTPS端口
token = 123456 #自定义秘钥
```
2.3. 启动
```bash
临时
./frps -c ./frps.ini
后台
nohup ./frps -c ./frps.ini &
```
nohup简介:ccstudio.com.c...
3. 客户端
3.1 LEDE
LEDE介绍
* • 手把手教你在Vmware Esxi 6.7虚...
* www.bilibili.c...
演示配置
3.2 Windows/Linux/Mac
3.2.1. 配置
```bash
[common]
server_addr = service.ccstudio.org #公网服务器ip
server_port = 7000 #服务端绑定端口
token = 123456 #与服务端秘钥一致
[web]
type = http
local_ip = 127.0.0.1
local_port = 80
remote_port = 54321
custom_domains = test.ccstudio.org
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 54328
```
3.2.2. 启动
```bash
./frpc -c ./frpc.ini
nohup ./frpc -c ./frpc.ini &
```
4. Dashboard & AdminUI
```bash
Dashboard
[common]
dashboard_port = 7002
dashboard_user = Colin
dashboard_pwd = 123456
AdminUI
[common]
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin
```
Негізгі бет FRP内网穿透小白教程,手把手教你搞定局域网穿透
Пікірлер: 35