vault backup: 2023-07-11 18:55:56

This commit is contained in:
BlueRose 2023-07-11 18:55:56 +08:00
parent 35562c1c2a
commit 7740f96760

View File

@ -5,3 +5,52 @@ excerpt:
tags:
rating: ⭐
---
# 服务端配置
Docker命令
```bash
docker run --restart=always --network host -d \
-v /etc/frp/frps.ini:/etc/frp/frps.ini \
--name frps snowdreamtech/frps
```
服务器配置:
```ini
[common]
# server_addr为FRPS服务器IP地址
server_addr = bluerose.top
# server_port为服务端监听端口bind_port
server_port = 7890
# 身份验证
token = 12345678
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 2288
# [ssh] 为服务名称下方此处设置为访问frp服务段的2288端口时等同于通过中转服务器访问127.0.0.1的22端口。
# type 为连接的类型此处为tcp
# local_ip 为中转客户端实际访问的IP
# local_port 为目标端口
# remote_port 为远程端口
[ssh]
type = tcp
local_ip = 192.168.1.229
local_port = 80
remote_port = 18022
[unRAID web]
type = tcp
local_ip = 192.168.1.229
local_port = 80
remote_port = 18088
[Truenas web]
type = tcp
local_ip = 192.168.1.235
local_port = 80
remote_port = 18188
```
# 内网Linux客户端
# 内网Win客户端