generate_server_config
Generate Xray server configurations for VLESS, VMess, Trojan, and Shadowsocks protocols with customizable transport and security options.
Instructions
Generate Xray server configuration. Supports VLESS, VMess, Trojan, and Shadowsocks protocols with various transport and security options.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | Protocol type | |
| port | Yes | Server listening port (1-65535) | |
| transport | No | Transport layer | tcp |
| security | No | Security layer | none |
| tls_cert_file | No | TLS certificate file path (required for TLS) | |
| tls_key_file | No | TLS private key file path (required for TLS) | |
| reality_dest | No | REALITY target destination (e.g., www.microsoft.com:443) | |
| reality_server_names | No | REALITY server names | |
| ws_path | No | WebSocket path | |
| grpc_service_name | No | gRPC service name | |
| xhttp_path | No | XHTTP path | |
| users | No | User list (auto-generated if not provided) | |
| ss_method | No | Shadowsocks encryption method | |
| vless_flow | No | VLESS flow control | |
| log_level | No | Log level | warning |