Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Self-hosted web panel for Hysteria 2 & Xray VLESS proxy servers. Features cascade network topology (Forward/Reverse Chain), SSH auto-setup, server groups, load balancing, ACL traffic filtering, API with scopes, webhooks, S3 backups, MCP integration, and subscriptions for Clash/Sing-box/Hiddify.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Manage files & storage.
Read-only MCP server for filesystem access (fork of @modelcontextprotocol/server-filesystem)
Same catalog task: Manage files & storage.
A local MCP server stub built with the [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk).
Same catalog task: Manage files & storage.
MCP server for loading and extracting text from PDF files with chunked pagination and interactive viewer
Fetched from the repository for this visit.
⚡ Fast. Simple. Long-lasting.
C³ CELERITY by Click Connect — modern web panel for managing Hysteria 2 and Xray VLESS proxy servers with centralized authentication, one-click node setup, and flexible user-to-server group mapping.
Built for performance: Lightweight architecture designed for speed at any scale.
Dashboard — real-time server monitoring and statistics
Updating an existing installation? See Safe Production Updates.
1. Install Docker (if not installed):
curl -fsSL https://get.docker.com | sh
2. Deploy panel (Docker Hub - recommended):
mkdir hysteria-panel && cd hysteria-panel
# Download required files
curl -O https://raw.githubusercontent.com/ClickDevTech/hysteria-panel/main/docker-compose.hub.yml
curl -O https://raw.githubusercontent.com/ClickDevTech/hysteria-panel/main/docker.env.example
# Create Greenlock SSL config (required for HTTPS)
mkdir -p greenlock.d
curl -o greenlock.d/config.json https://raw.githubusercontent.com/ClickDevTech/hysteria-panel/main/greenlock.d/config.json
cp docker.env.example .env
nano .env # Set your domain, email, and secrets
docker compose -f docker-compose.hub.yml up -d
Alternative: Build from source (for development or customization)
git clone https://github.com/ClickDevTech/hysteria-panel.git
cd hysteria-panel
cp docker.env.example .env
nano .env # Set your domain, email, and secrets
docker compose up -d
3. Open https://your-domain/panel
Planning to manage the panel from AI assistants? See MCP Setup Guide.
Local development (HTTP only, no domain/SSL):
Want to try the panel on your laptop without a public domain or certificate? Use the local compose file — it sets USE_CADDY=true (plain HTTP, no Greenlock/ACME) and publishes port 3000 directly, with dev defaults so it boots without a .env:
git clone https://github.com/ClickDevTech/hysteria-panel.git
cd hysteria-panel
docker compose -f docker-compose.local.yml up -d
# Open http://localhost:3000/panel
Local mode has no TLS and is not for production. Subscription/share links assume HTTPS, so use it only for UI/API testing.
Required .env variables:
PANEL_DOMAIN=panel.example.com
ACME_EMAIL=admin@example.com
ENCRYPTION_KEY=your32characterkey # openssl rand -hex 16
SESSION_SECRET=yoursessionsecret # openssl rand -hex 32
MONGO_PASSWORD=yourmongopassword # openssl rand -hex 16
Use docker-compose.dokploy.yml when deploying through Dokploy with Traefik.
docker-compose.dokploy.yml.docker.env.example and set at least:
MONGO_PASSWORDPANEL_DOMAINACME_EMAILENCRYPTION_KEYSESSION_SECRETDOKPLOY_PANEL_HOST (domain used in Traefik Host(...) rule)DOKPLOY_TRAEFIK_SERVICE_PORT (Traefik target/backend port, default 3000)build: . and start the stack.This mode is best when you test branch changes before publishing a release image.
If you want stable deploys from Docker Hub tags (without building), replace backend image source in Dokploy compose with:
backend:
image: clickdevtech/hysteria-panel:latest
# or pin a release tag, e.g. clickdevtech/hysteria-panel:v1.2.3
restart: always
depends_on:
mongo:
condition: service_healthy
redis:
condition: service_healthy
expose:
- "${DOKPLOY_TRAEFIK_SERVICE_PORT:-3000}"
labels:
- "traefik.enable=true"
- "traefik.http.routers.celerity.rule=Host(`${DOKPLOY_PANEL_HOST}`)"
- "traefik.http.routers.celerity.entrypoints=websecure"
- "traefik.http.routers.celerity.tls=true"
- "traefik.http.services.celerity.loadbalancer.server.port=${DOKPLOY_TRAEFIK_SERVICE_PORT:-3000}"
env_file:
- .env
Use latest for fast updates, or pin an explicit tag for predictable production rollouts.
Status: beta — fully functional, but manual verification after deploy is recommended.
Cascade topology allows building server chains where clients connect to one node while traffic exits through another. This is useful in scenarios where the entry point must reside in a specific network or jurisdiction — for example, when connections must originate from local cloud provider IP ranges.
Many corporate and carrier networks apply IP-range filtering. Traffic to well-known local hosting providers may pass unrestricted, while connections to foreign IPs are blocked or throttled. Cascade topology solves this: clients connect to a server in a "trusted" IP range, and traffic is transparently proxied to an external server.
The panel generates Xray-core configurations using the following mechanisms:
| Mechanism | Purpose |
|---|---|
| VLESS Reverse Proxy | Bridge/portal: the portal's VLESS client carries reverse.tag, the bridge's VLESS outbound carries settings.reverse — allows a server behind NAT to initiate a connection to a public node and receive traffic through it |
| Outbound Chaining | Sequential proxying through multiple outbounds via proxySettings.tag |
| REALITY | TLS handshake camouflage to look like a connection to a legitimate site; no domain or certificate required |
| VLESS Encryption | Protects VLESS links with security none; keys are derived per link by the panel |
| Transport Layer Proxy | transportLayer: true mode for correct REALITY application in hop chains |
Reverse Proxy — Xray VLESS Reverse Proxy (always VLESS, VMess is not available). The Bridge server (typically abroad) initiates a persistent connection to the Portal server. Clients connect to Portal, traffic exits through Bridge.
Client ──▶ Portal (entry) ◀── tunnel ── Bridge (exit) ──▶ Internet
(bridge initiates connection)
Forward Chain — direct outbound chain. Portal establishes connections through relay nodes to the exit Bridge.
Client ──▶ Portal ──▶ Relay (opt.) ──▶ Bridge (exit) ──▶ Internet
(chained outbounds)
Tunnel-REALITY is configured independently from the client-facing REALITY on the Portal node. This enables:
| Security | What the panel deploys |
|---|---|
| None | VLESS links get VLESS Encryption (Xray refuses plain VLESS to a public address since 26.10.21); forward VMess links use VMess auto |
| TLS | The listening node serves the panel certificate; the dialing node verifies it against PANEL_DOMAIN. The panel certificate must be readable by the panel; TLS links are redeployed when it rotates |
| REALITY | Tunnel REALITY, see above |
Both ends of a link need at least Xray 25.9.11 for reverse links, 25.9.5 for forward VLESS links with security none, and 26.6.1 for mKCP. The panel refuses to deploy a link on an older core and refuses an Xray version change (single or bulk) below what the node's links need.
Links deployed by an older panel version (legacy reverse section, plain VLESS tunnels) are redeployed on both ends automatically the first time one of their nodes is synced. A link whose redeploy fails is shown as an error on the Network Map; deploy it manually after fixing the cause.
Each link can connect its two nodes over IPv4 (the default) or over IPv6. IPv6 helps when IPv4 between two hosting providers is filtered, slow or unstable while IPv6 works fine. Only the tunnel between the nodes changes: clients connect to the Portal as before, and the panel keeps managing the nodes over SSH on IPv4. The panel itself does not need IPv6. Every link in a chain has its own setting, so IPv4 and IPv6 hops can be mixed freely.
Which node needs what:
| Mode | Listening node: needs its IPv6 address in the panel | Dialing node: needs working IPv6 |
|---|---|---|
| Reverse | Portal | Bridge |
| Forward | Bridge (or the Relay of this hop) | Portal (or the previous Relay) |
How to enable:
Before deploying, the panel checks over SSH that the listening node really has this IPv6 address and that the dialing node has an IPv6 route. If something is missing, nothing is deployed and the error tells what to fix. Health checks work the same way as on IPv4: for reverse links the panel counts tunnel connections on the Portal, and for forward links the Portal itself dials the Bridge's IPv6 address and port.
Good to know:
ss -6tn state established '( sport = :10086 )' on the listening node (use your tunnelPort).tunnelPort| Constraint | Reason |
|---|---|
| REALITY + WebSocket | WebSocket doesn't support uTLS fingerprint required by REALITY |
| Forward Chain without public IP | Each hop must accept incoming connections |
| Mixed modes in one chain | Reverse and Forward use different Xray mechanisms and cannot be combined |
| VMess on reverse links | VLESS Reverse Proxy has no VMess counterpart |
| Same port on relay for two hops | A relay that is both bridge and portal requires different ports for incoming and outgoing tunnels |
| mKCP over IPv6 | Not supported yet: mKCP links run over IPv4 |
┌─────────────────┐
│ CLIENTS │
│ Clash, Sing-box │
│ Shadowrocket │
└────────┬────────┘
│
hysteria2:// or vless://
│
┌────────────────────────┼────────────────────────┐
▼ ▼ ▼
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Hysteria Node │ │ Xray Node │ │ Hysteria Node │
│ :443 + hop │ │ VLESS Reality │ │ :443 + hop │
└────────┬────────┘ └────────┬────────┘ └────────┬────────┘
│ │ │
│ POST /api/auth │ CC Agent API │
│ GET /online │ │
└────────────────────────┼────────────────────────┘
▼
┌────────────────────────┐
│ HYSTERIA PANEL │
│ │
│ • Web UI (/panel) │
│ • HTTP Auth API │
│ • Subscriptions │
│ • SSH Terminal │
│ • Stats Collector │
└───────────┬────────────┘
│
▼
┌────────────────────────┐
│ MongoDB │
└────────────────────────┘
Hysteria:
userId:passwordPOST /api/auth to panel{ "ok": true/false }Xray:
Instead of rigid "plans", use flexible groups:
Fast UDP protocol based on QUIC with port hopping and obfuscation support.
Advantages:
Settings:
salamander or gecko) with passwordAdvanced Hysteria settings in panel:
hopInterval)proxy and stringup / down) and ignoreClientBandwidthspeedTest, disableUDP, udpIdleTimeoutsniff) and QUIC parameters (quic)resolver)inline or file) + GeoIP/GeoSite pathsModern protocol with Reality support and various transports.
Advantages:
Transports:
| Transport | Description | Client Support |
|---|---|---|
| TCP | Direct connection, max speed | All clients |
| WebSocket | Works through CDN and proxies | All clients |
| gRPC | Multiplexing, good for CDN | All clients |
| XHTTP | New splithttp transport | Limited* |
*XHTTP is not supported by all clients. sing-box forks that implement it get the full framing; Mihomo's xhttp-opts carries path, mode and host only, so an inbound that negotiates framing is omitted from the Clash subscription instead of being published as a proxy that fails on every request.
Security:
| Mode | Description |
|---|---|
| Reality | Disguise as popular site, no domain needed |
| TLS | Classic TLS with certificate |
| None | No encryption (not recommended) |
The panel can provision standalone Xray nodes on FreeBSD 14/amd64 over SSH. Use a root account with a POSIX login shell (e.g. /bin/sh). The initial setup uses the FreeBSD xray-core package and manages Xray and the agent with rc.d. The panel image includes the matching agent. Source installations can set CC_AGENT_FREEBSD_URL to an HTTPS URL for their own FreeBSD/amd64 agent.
Allow the client port in the host firewall and restrict the agent port (default TCP 62080) to the panel. The packaged Xray service runs as v2ray. For a privileged listener such as TCP 443, grant that account the required bind permission using the host's port policy, or select an unprivileged port. FreeBSD port access control
Use the panel's Xray version action for subsequent upgrades or rollbacks. A verified official release locks the xray-core package to keep a later package upgrade from replacing it. Caddy front and cascade bridge/relay services currently require Linux.
Add node in panel:
Click "⚙️ Auto Setup"
Panel will automatically:
| Field | Description | Example |
|---|---|---|
| Dest | Disguise destination (domain:port) | www.google.com:443 |
| SNI | Server Name Indication | www.google.com |
| Private Key | x25519 private key | Auto-generated |
| Public Key | Public key (for clients) | Auto-generated |
| Short IDs | Session identifiers | Auto-generated |
CC Agent is a lightweight HTTP service on the node for managing Xray users without restart.
Features:
Agent is installed automatically during Xray node auto-setup.
| Field | Purpose | Example |
|---|---|---|
| Domain | For ACME/Let's Encrypt certificates | de1.example.com → 1.2.3.4 |
| SNI | For masquerading (domain fronting) | www.google.com |
Scenarios:
Hysteria supports obfuscation to disguise traffic:
gecko requires Hysteria 2.9.x)Clients will automatically receive the selected obfs type and password in subscription.
You can run panel and node on the same VPS (panel TCP, node UDP on 443).
Option 1: Use panel domain (recommended)
Option 2: No domain (self-signed)
All /api/* endpoints (except /api/auth and /api/files) require authentication.
Create a key: Settings → Security → API Keys → Create Key
Usage:
# Option 1 — header
X-API-Key: ck_your_key_here
# Option 2 — Bearer token
Authorization: Bearer ck_your_key_here
| Scope | Access |
|---|---|
users:read | Read users |
users:write | Create / update / delete users |
nodes:read | Read nodes |
nodes:write | Create / update / delete / sync nodes |
stats:read | Read stats and groups |
sync:write | Trigger sync, kick users |
Each key has a configurable rate limit (default: 60 req/min).
Exceeded requests return 429 with X-RateLimit-Limit / X-RateLimit-Remaining headers.
/api/authValidates user on Hysteria node connection.
// Request
{ "addr": "1.2.3.4:12345", "auth": "userId:password" }
// Response (success)
{ "ok": true, "id": "userId" }
// Response (error)
{ "ok": false }
/api/files/:tokenUniversal subscription endpoint. Auto-detects format by User-Agent.
| User-Agent | Format |
|---|---|
shadowrocket | Base64 URI list |
clash, stash, surge | Clash YAML |
hiddify, sing-box, karing | Sing-box JSON |
| Browser | HTML page with QR code |
| Other | Plain URI list |
Query params: ?format=clash, ?format=singbox, ?format=uri
/api/files/info/:tokenSubscription info (status, traffic, expiry).
Required scope: users:read (GET) / users:write (POST, PUT, DELETE)
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/users | List users (pagination, filtering, sorting) |
| GET | /api/users/:userId | Get user |
| POST | /api/users | Create user |
| PUT | /api/users/:userId | Update user |
| DELETE | /api/users/:userId | Delete user |
| POST | /api/users/bulk-delete | Delete selected users (best-effort) |
| POST | /api/users/:userId/enable | Enable user |
| POST | /api/users/:userId/disable | Disable user |
| POST | /api/users/:userId/groups | Add user to groups |
| DELETE | /api/users/:userId/groups/:groupId | Remove user from group |
| POST | /api/users/sync-from-main | Sync from external DB |
Required scope: nodes:read (GET) / nodes:write (POST, PUT, DELETE)
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/nodes | List nodes |
| GET | /api/nodes/:id | Get node |
| POST | /api/nodes | Create node |
| PUT | /api/nodes/:id | Update node |
| DELETE | /api/nodes/:id | Delete node |
| GET | /api/nodes/:id/config | Get node config (YAML/JSON) |
| GET | /api/nodes/:id/status | Get node status |
| POST | /api/nodes/:id/reset-status | Reset status to online |
| GET | /api/nodes/:id/users | Get users on node |
| POST | /api/nodes/:id/sync | Sync specific node |
| POST | /api/nodes/:id/update-config | Push config via SSH |
| POST | /api/nodes/:id/setup | Auto-setup node via SSH |
| POST | /api/nodes/:id/setup-port-hopping | Setup port hopping |
| POST | /api/nodes/:id/groups | Add node to groups |
| DELETE | /api/nodes/:id/groups/:groupId | Remove from group |
| GET | /api/nodes/:id/agent-info | Get CC Agent info (Xray) |
| Method | Endpoint | Scope | Description |
|---|---|---|---|
| GET | /api/stats | stats:read | Panel statistics |
| GET | /api/groups | stats:read | List server groups |
| POST | /api/sync | sync:write | Sync all nodes |
| POST | /api/kick/:userId | sync:write | Kick user from all nodes |
Send real-time event notifications to any HTTP endpoint.
Configure: Settings → Security → Webhooks
POST https://your-endpoint.com/webhook
Content-Type: application/json
X-Webhook-Event: user.created
X-Webhook-Timestamp: 1700000000
X-Webhook-Signature: sha256=<hmac>
User-Agent: C3-Celerity-Webhook/1.0
{
"event": "user.created",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": { ... }
}
const crypto = require('crypto');
const expected = 'sha256=' + crypto
.createHmac('sha256', YOUR_SECRET)
.update(`${timestamp}.${rawBody}`)
.digest('hex');
// compare with X-Webhook-Signature header
| Event | Trigger |
|---|---|
user.created | User created |
user.updated | User updated |
user.deleted | User deleted |
user.enabled | User enabled |
user.disabled | User disabled |
user.traffic_exceeded | User traffic limit reached |
user.expired | User subscription expired |
node.online | Node came online |
node.offline | Node went offline |
node.error | Node error |
host.disk_low | Panel host free disk dropped below the warning threshold |
host.disk_critical | Panel host free disk dropped below the critical threshold |
host.disk_recovered | Panel host free disk recovered above the warning threshold |
sync.completed | Sync cycle finished |
probe.node_unreachable | A probe cannot reach a node inbound from its vantage point |
probe.target_unreachable | A checklist resource became unreachable through a node |
node.reality_dest_dead | The Reality dest of a standalone or Portal node is down (confirmed from the node when it has SSH access) and was not replaced automatically. cause gives the reason; with cause: no_candidate, candidates lists the checked reserve and scan addresses with the reason each one was rejected |
node.reality_dest_rotated | A node's Reality dest/SNI was replaced automatically: with the first working address from the node's reserve list or, if there is none, with a host from its /24 |
probe.offline | A probe stopped reporting |
Disk alert thresholds are configured under Settings → Security → Webhooks
(Warning: free space below % and Critical: free space below GB). Alerts fire
once per threshold crossing with hysteresis to avoid spam, and a recovery event
is sent once free space climbs back above the warning level.
A probe is a separate Go binary installed on your own server. It receives a hidden subscription, runs a real sing-box core and connects to your nodes the same way a customer does, which shows whether a node is reachable from that particular network.
Enable it under Settings → Probes, then add a probe and run the generated
install command on the host you want to check from. Every result is stored per
vantage point and never overrides node.status, since a failure can also come
from the probe's own uplink.
Each failure code points at a specific cause: net_unreachable (port filtered
on the path), handshake_failed (dead REALITY destination or DPI),
auth_rejected (user not pushed to the running core), tunnel_no_data (broken
outbound or ACL), degraded, and core_down for a failure of the probe's own
core.
📖 Full guide: English · Русский
MongoDB and the panel stop working when the host runs out of disk, so keep an eye on free space (the dashboard shows a Disk chart and webhooks can alert you — see above). The most common cause of a full disk is Docker accumulating unused images, containers and logs over time.
Cap container log size (prevents logs from filling the disk). Add to each
service in your docker-compose.yml:
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
Periodically reclaim space used by dangling/unused Docker data:
# Safe: remove only dangling images and build cache
docker image prune -f
docker builder prune -f
# Aggressive: also removes ALL unused images (next deploy re-pulls them)
docker system prune -a -f
A weekly cron job running docker image prune -f is usually enough to keep
disk usage in check.
| Field | Type | Description |
|---|---|---|
userId | String | Unique ID |
username | String | Display name |
subscriptionToken | String | URL token for subscription |
xrayUuid | String | UUID for Xray VLESS (auto-generated) |
enabled | Boolean | User active status |
groups | [ObjectId] | Server groups |
nodes | [ObjectId] | Direct node assignments |
traffic | Object | { tx, rx, lastUpdate } — used traffic |
trafficLimit | Number | Traffic limit in bytes (0 = unlimited) |
maxDevices | Number | Device limit (0 = group limit, -1 = unlimited) |
expireAt | Date | Expiration date |
| Field | Type | Description |
|---|---|---|
type | String | hysteria or xray |
name | String | Display name |
flag | String | Country flag (emoji) |
ip | String | IP address |
ipv6 | String | Public IPv6, used only by cascade links over IPv6 |
domain | String | Domain for SNI/ACME |
sni | String | Custom SNI for masquerading |
port | Number | Main port (443) |
portRange | String | Port hopping range |
portConfigs | Array | Multi-port: [{ name, port, portRange, enabled }] |
obfs | Object | Obfuscation: { type: 'salamander' | 'gecko', password } |
statsPort | Number | Hysteria stats port (9999) |
statsSecret | String | Stats API secret |
groups | [ObjectId] | Server groups |
outbounds | Array | Proxies for ACL: [{ name, type, addr }] |
aclRules | [String] | ACL rules |
maxOnlineUsers | Number | Max online for load balancing |
rankingCoefficient | Number | Sorting coefficient (1.0) |
status | String | online/offline/error/syncing |
traffic | Object | { tx, rx, lastUpdate } — node traffic |
xray | Object | Xray settings (see below) |
| Field | Type | Description |
|---|---|---|
transport | String | tcp, ws, grpc, xhttp |
security | String | reality, tls, none |
flow | String | xtls-rprx-vision (for tcp) |
fingerprint | String | chrome, firefox, safari, etc. |
alpn | [String] | ALPN protocols (h3, h2, http/1.1) |
realityDest | String | Disguise destination |
realitySni | [String] | Server names |
realityPrivateKey | String | x25519 private key |
realityPublicKey | String | Public key |
realityShortIds | [String] | Short IDs |
realitySpiderX | String | Spider X path — start URL for the REALITY spider on probe (empty by default; per-node value recommended) |
wsPath | String | WebSocket path |
wsHost | String | WebSocket host header |
grpcServiceName | String | gRPC service name |
xhttpPath | String | XHTTP path |
xhttpHost | String | XHTTP host header |
xhttpMode | String | auto, packet-up, stream-up |
xhttpXPaddingBytes | String | XHTTP padding length, "min-max" or a single number (empty = core default 100-1000). Published to clients in the subscription; the inbound accepts the union with the default range so clients that ignore it keep working |
xhttpScMaxEachPostBytes | String | packet-up upload split threshold in bytes (empty = 1000000). The inbound accepts at least the default, so a smaller value applies only to clients that read it |
xhttpNoGrpcHeader | Boolean | Omit the gRPC content-type on stream-up/stream-one (client-side only) |
xhttpXmuxMaxConcurrency | String | XMUX streams per connection, e.g. "16-32" (client-side only) |
xhttpXmuxHMaxRequestTimes | String | XMUX requests per connection, e.g. "600-900" (client-side only) |
xhttpXmuxHMaxReusableSecs | String | XMUX connection lifetime in seconds, e.g. "1800-3000" (client-side only) |
xhttpUplinkHTTPMethod | String | GET or POST for the upload; GET requires packet-up and is what a CDN that blocks POST needs |
xhttpUplinkDataPlacement | String | body or header — where the client puts uploaded data |
xhttpUplinkDataKey | String | Header name when uplinkDataPlacement: header, e.g. X-Data |
xhttpUplinkChunkSize | String | Upload chunk size, "min-max" or a single number |
xhttpScMinPostsIntervalMs | String | Minimum interval between client posts, in ms |
xhttpServerMaxHeaderBytes | Number | Header limit on the inbound; does not change the CDN edge limit |
xhttpXPaddingObfsMode | Boolean | Disguise the padding as an ordinary parameter instead of x_padding |
xhttpXPaddingKey | String | Parameter/header name carrying the padding, e.g. utm_source |
xhttpXPaddingPlacement | String | query or header |
xhttpXPaddingMethod | String | tokenish — the padding value format |
xhttpSessionPlacement | String | query, header or path — where the session id travels |
xhttpSessionKey | String | Session parameter/header name, e.g. sid |
xhttpSeqPlacement | String | query, header or path — where the packet number travels |
xhttpSeqKey | String | Packet-number parameter/header name |
apiPort | Number | Xray gRPC API port (61000) |
inboundTag | String | Inbound tag (vless-in) |
agentPort | Number | CC Agent port (62080) |
agentToken | String | Agent token |
agentTls | Boolean | TLS for CC Agent |
| Field | Type | Description |
|---|---|---|
name | String | Group name |
description | String | Description |
color | String | UI color (#hex) |
maxDevices | Number | Device limit for group |
subscriptionTitle | String | Title in subscription profile |
Control traffic routing on each Hysteria node. Access: Panel → Node → Traffic Filtering.
| Action | Description |
|---|---|
reject(...) | Block connection |
direct(...) | Allow through server |
reject(suffix:doubleclick.net) # Block ads
reject(suffix:googlesyndication.com)
reject(geoip:cn) # Block Chinese IPs
reject(geoip:private) # Block private IPs
direct(all) # Allow everything else
my-proxy, SOCKS5, 1.2.3.4:1080)my-proxy(geoip:ru)Configure in Settings:
Algorithm:
rankingCoefficientPriority:
maxDevices > 0)-1 = unlimitedDevice Grace Period — delay (in seconds) before counting a disconnected device, to avoid false triggers during reconnections.
Customize the HTML subscription page in Settings → Subscription:
| Field | Description |
|---|---|
Logo URL | Logo URL for page header |
Page Title | Page title |
Support URL | Support link (button at bottom) |
Web Page URL | Profile URL (profile-web-page-url header) |
The subscription page automatically shows:
Configure in Settings → Backups:
Dashboard button — file auto-downloads.
Upload .tar.gz archive via interface.
Backups can be automatically uploaded to S3-compatible storage (AWS S3, MinIO, Backblaze B2, Cloudflare R2, etc.).
Configure: Settings → Backups → S3
| Field | Description |
|---|---|
Endpoint | Storage URL (for MinIO, etc.). Leave empty for AWS S3 |
Region | Region (e.g., us-east-1) |
Bucket | Bucket name |
Prefix | Prefix/folder for backups |
Access Key ID | Access key |
Secret Access Key | Secret key |
Keep Last | How many backups to keep in S3 |
Configuration examples:
# AWS S3
Endpoint: (empty)
Region: eu-central-1
Bucket: my-backups
# MinIO
Endpoint: https://minio.example.com
Region: us-east-1
Bucket: backups
# Cloudflare R2
Endpoint: https://<account-id>.r2.cloudflarestorage.com
Region: auto
Bucket: my-backups
version: '3.8'
services:
mongo:
image: mongo:7
restart: always
volumes:
- mongo_data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER:-hysteria}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
backend:
image: clickdevtech/hysteria-panel:latest
restart: always
depends_on:
- mongo
ports:
- "80:80"
- "443:443"
volumes:
- ./logs:/app/logs
- ./greenlock.d:/app/greenlock.d
- ./backups:/app/backups
env_file:
- .env
volumes:
mongo_data:
| Variable | Required | Description |
|---|---|---|
PANEL_DOMAIN | ✅ | Panel domain |
DOKPLOY_PANEL_HOST | ❌ | Traefik host for Dokploy (Host(...) rule) |
DOKPLOY_TRAEFIK_SERVICE_PORT | ❌ | Traefik/backend service port in Dokploy (default: 3000) |
ACME_EMAIL | ✅ | Let's Encrypt email |
ENCRYPTION_KEY | ✅ | SSH encryption key (32 chars) |
SESSION_SECRET | ✅ | Session secret |
MONGO_PASSWORD | ✅ | MongoDB password (for Docker) |
MONGO_USER | ❌ | MongoDB user (default: hysteria) |
MONGO_URI | ❌ | MongoDB connection URI (for non-Docker) |
REDIS_URL | ❌ | Redis URL for cache (default: in-memory) |
USE_CADDY | ❌ | Serve plain HTTP on PORT behind a reverse proxy instead of Greenlock HTTPS. Used by docker-compose.yml/docker-compose.dokploy.yml. Unset = standalone HTTPS via Greenlock (needs a real domain + public ports 80/443) |
PORT | ❌ | Backend HTTP port when USE_CADDY=true (default: 3000) |
PANEL_IP_WHITELIST | ❌ | IP whitelist for panel |
SYNC_INTERVAL | ❌ | Sync interval in minutes (default: 2) |
API_DOCS_ENABLED | ❌ | Enable interactive API docs at /api/docs |
LOG_LEVEL | ❌ | Logging level (default: info) |
Pull requests welcome!
MIT
Loading reviews...
GitHub freshness not yet checked. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.