Enable
Enable Ghost Mode¶
Enables Ghost Mode to tunnel WireGuard traffic through HTTPS/WebSocket, making it appear as normal web traffic.
Parameters:
| Parameter | Required | Description |
|---|---|---|
domain |
Yes | Domain with A record pointing to server (supports sslip.io/nip.io) |
Response Model: EnableGhostResult
| Field | Type | Description |
|---|---|---|
status |
string | Ghost Mode status (active) |
server_ip |
string | Server's public IP address |
domain |
string | Domain used for tunneling |
secret |
string | Unique token for WebSocket authentication |
protocol |
string | Tunnel protocol (wss) |
port |
integer | HTTPS port (443) |
activated_at |
datetime | Activation timestamp |
connection_command |
string | Complete wstunnel command for clients |
Notes
secretis a unique token generated for secure WebSocket tunnelingconnection_commandshows the complete wstunnel command that clients need to run
Example Response
{
"success": true,
"data": {
"status": "active",
"server_ip": "157.230.114.231",
"domain": "157-230-114-231.sslip.io",
"secret": "Ui1RVMCxicaByr7C5XrgqS5yCilLmkCAXMcF8oZP4ZcVkQAvZhRCht3hsHeJENac",
"protocol": "wss",
"port": 443,
"activated_at": "2025-09-09T01:41:24.079841",
"connection_command": "wstunnel client --http-upgrade-path-prefix \"Ui1RVMCxicaByr7C5XrgqS5yCilLmkCAXMcF8oZP4ZcVkQAvZhRCht3hsHeJENac\" -L udp://127.0.0.1:51820:127.0.0.1:51820 wss://157-230-114-231.sslip.io:443"
}
}