feat: frps-manager v1.0 - frp 0.70.1 multi-tenant web management system
- Multi-tenant client/proxy management with Flask+SQLite - Frps server control (start/restart/token rotation) - Generate frpc.ini with shared server token + admin API - Dashboard API integration (live client/proxy status) - RBAC: admin/tenant_admin/user roles - Audit logging for all operations - Systemd service files included - Requires legacy INI format (frp 0.70 TOML auth broken)
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# Generated by frps-manager for client: {{ client.name }}
|
||||
# Copy to your frpc host (e.g. /etc/frpc.toml), then:
|
||||
# systemctl enable --now frpc # if you used the example systemd unit
|
||||
# # OR directly:
|
||||
# frpc -c /etc/frpc.toml
|
||||
#
|
||||
# IMPORTANT:
|
||||
# * serverAddr / serverPort / auth.token come from your admin — do not change
|
||||
# unless the admin told you to.
|
||||
# * All clients use the SAME shared token; frpc identifies itself via `user`.
|
||||
# * Append your own [[proxies]] blocks below this line to expose local services.
|
||||
|
||||
serverAddr = "{{ server_addr }}"
|
||||
serverPort = {{ bind_port }}
|
||||
|
||||
[auth]
|
||||
method = "token"
|
||||
token = "{{ server_token }}"
|
||||
|
||||
# Optional transport defaults (uncomment if you want them)
|
||||
# transport.useEncryption = true
|
||||
# transport.useCompression = true
|
||||
|
||||
[webServer]
|
||||
addr = "127.0.0.1"
|
||||
port = 7400
|
||||
user = "admin"
|
||||
password = "admin"
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Add your proxies below. Examples:
|
||||
#
|
||||
# [[proxies]]
|
||||
# name = "ssh"
|
||||
# type = "tcp"
|
||||
# localIP = "127.0.0.1"
|
||||
# localPort = 22
|
||||
# remotePort = 6000
|
||||
#
|
||||
# [[proxies]]
|
||||
# name = "web"
|
||||
# type = "http"
|
||||
# localIP = "127.0.0.1"
|
||||
# localPort = 8080
|
||||
# customDomains = ["your.domain.example.com"]
|
||||
# ---------------------------------------------------------------
|
||||
Reference in New Issue
Block a user