qWDTT ships with a bundledDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/SpaceNeuroX/proxy-turn-vk-android/llms.txt
Use this file to discover all available pages before exploring further.
deploy.sh installer that sets up wdtt-server on any supported Linux VPS. The Deploy tab in the app uploads the script and the server binary over SSH and runs them automatically — no terminal required. You can also run the script manually if you prefer direct shell access.
Prerequisites
Supported Linux VPS
A VPS with a public IP address running one of:
- Debian 11+
- Ubuntu 20.04+
- CentOS / RHEL / AlmaLinux / Rocky Linux
- Fedora
- Arch Linux / Manjaro / EndeavourOS
systemctl).Root or sudo SSH access
SSH access with the root account or a user that has
sudo privileges. Both password and private key (OpenSSH / PEM) authentication are supported.Open UDP ports in your firewall / security group
Allow inbound UDP traffic on:
- 56000 — DTLS listener (client connections)
- 56001 — WireGuard internal port
iptables / nftables rules for these ports, but cloud provider security groups (AWS, Hetzner, etc.) must be opened manually before deploying.Telegram bot (optional)
A Telegram bot token from @BotFather and your numeric Telegram user ID if you want remote password management via the bot. This is optional — the server works without it.
Deploy from the app
Fill in SSH connection details
| Field | Description | Default |
|---|---|---|
| IP / Domain | Public IP address or hostname of your VPS | — |
| Login | SSH username | root |
| SSH port | SSH port (set in the Secrets dialog) | 22 |
| Password | SSH password — or switch to SSH key mode and pick a private key file | — |
Set VPN secrets
Tap Secrets and fill in:
Toggle Manual port control to override the default DTLS port (56000) and WireGuard port (56001) if needed.
| Field | Description |
|---|---|
| VPN password | Main tunnel password (required). This becomes main_password in passwords.json. Choose something strong. |
| Admin ID | Your Telegram user ID for bot access (optional) |
| Bot token | Token from @BotFather (optional) |
| SSH port | SSH port used during deployment |
Configure DNS (optional)
DNS1 and DNS2 are passed to WireGuard clients as their DNS servers. Defaults are
1.1.1.1 and 1.0.0.1.Tap Deploy
Tap Install. The app connects over SSH, uploads
deploy.sh and the wdtt-server binary to /tmp/, runs the installer as root, and streams progress. When finished, the progress bar reaches 100% and a success banner appears.You can also uninstall the server at any time by tapping Remove and confirming with “да”.Manual install
You can rundeploy.sh directly on the VPS. Configure it via environment variables before running:
| Variable | Default | Description |
|---|---|---|
WDTT_MAIN_PASSWORD | — | Main VPN password (passed to wdtt-server via WDTT_ARGS) |
WDTT_BOT_TOKEN | — | Telegram bot token |
WDTT_ADMIN_ID | — | Telegram admin user ID |
WDTT_DTLS_PORT | 56000 | DTLS listen port |
WDTT_WG_PORT | 56001 | WireGuard internal port |
WDTT_SSH_PORT | 22 | SSH port (added to firewall allow-list) |
WDTT_ARGS | — | Extra command-line arguments forwarded verbatim to wdtt-server |
install (default), uninstall, or status.
What the script does
deploy.sh (v3.2) performs the following steps in order:
Detects OS and package manager
Reads
/etc/os-release and selects apt, dnf, yum, or pacman accordingly.Installs prerequisites
Installs
ca-certificates, iproute2, iptables, nftables, procps, and psmisc using the detected package manager.Enables IP forwarding
Writes
net.ipv4.ip_forward = 1 to /etc/sysctl.d/99-wdtt.conf and applies it immediately.Configures NAT and firewall rules
- Opens UDP
56000(DTLS) and56001(WireGuard) iniptables/nftables - Adds
MASQUERADEPOSTROUTING rule for10.66.0.0/16on the detected WAN interface - Adds FORWARD rules for the
wdtt0interface - Applies TCP MSS clamping for the
10.66.0.0/16subnet to fix MTU issues
Installs the wdtt-server binary
Moves
/tmp/wdtt-server to /usr/local/bin/wdtt-server with chmod 755. Creates /etc/wdtt/ if it does not exist.Creates systemd service
Writes
/etc/systemd/system/wdtt.service, runs systemctl daemon-reload, enables, and starts the wdtt service. The service restarts automatically on failure (Restart=always, RestartSec=5).Port reference
| Port | Protocol | Purpose |
|---|---|---|
| 56000 | UDP | DTLS — client connections from Android |
| 56000 | TCP | HTTP Control API (/api/profile/status, /api/profile/unbind) |
| 56001 | UDP | WireGuard (internal, server-side only) |
| 9000 | UDP | Default local Android listen port (not on the server) |
The WireGuard interface created by
wdtt-server is named wdtt0, not wg0. This is intentional — it avoids any conflict with an existing WireGuard VPN you may already have running on the same server.