Files
ChenKaiLiuG 997d078b64 Add FRP
2026-02-28 04:38:23 +08:00

24 lines
727 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# =====================================================
# FRP Server (frps) 設定
# 部署位置PVE VM具備固定 IP
# =====================================================
bindPort = 7000 # 與 frpc 的 serverPort 對應
# TLS 加密控制通道(強制要求 frpc 必須使用 TLS 連線)
[transport.tls]
force = true # 拒絕所有非 TLS 的 frpc 連線
# 連線驗證(需與 frpc 的 token 相同)
[auth]
method = "token"
token = "your_strong_secret_token" # TODO: 改為強密碼,需與 frpc.toml 一致
# Dashboard可選
# 若要啟用 frps web 管理介面,取消下方註解
# [webServer]
# addr = "0.0.0.0"
# port = 7500
# user = "admin"
# password = "your_dashboard_password"