Self-Host Guide
Ye guide aapko ek real, working remote-support platform deploy karne me help karega — relay server + branded desktop clients (Windows/Mac/Linux). Estimated time: 1–2 din. Recurring cost: ~$5/month (VPS).
Samjho kya banega
3 pieces hain jo milke real remote support banate hain:
hbbs + hbbr.⚠ License note: RustDesk AGPL-3.0 hai. Aapko apna fork bhi public rakhna padega. Closed-source chahiye to rustdesk.com se commercial license kharidni hogi.
$5/month, 5 minute
Recommended providers:
OS: Ubuntu 22.04 LTS. Minimum: 2 vCPU, 2 GB RAM, 40 GB SSD. Open ports in firewall: 21115/tcp, 21116/tcp+udp, 21117/tcp, 21118/tcp, 21119/tcp.
SSH karke andar jao:
ssh root@YOUR_VPS_IPEk command me ready
Docker install karo (agar nahi hai):
curl -fsSL https://get.docker.com | sh
systemctl enable --now dockerPersistent data folder banao aur relay binaries (hbbs + hbbr) chalao. Ye RustDesk team ke official server images hain (AGPL):
mkdir -p /opt/sstech-nexeus/data
cd /opt/sstech-nexeus
# hbbs = ID/Rendezvous server
docker run -d --name nexeus-hbbs --restart unless-stopped \
--net=host \
-v /opt/sstech-nexeus/data:/root \
rustdesk/rustdesk-server:latest \
hbbs -r YOUR_VPS_IP:21117
# hbbr = Relay server
docker run -d --name nexeus-hbbr --restart unless-stopped \
--net=host \
-v /opt/sstech-nexeus/data:/root \
rustdesk/rustdesk-server:latest \
hbbrReplace YOUR_VPS_IP with the actual public IP. Verify:
docker ps
# Dono containers "Up" dikhne chahiye
ls /opt/sstech-nexeus/data/
# id_ed25519 + id_ed25519.pub files generate hui hongiPublic key copy karo — clients ko isi key ke saath sign karna hoga taaki sirf aapke server se connect ho:
cat /opt/sstech-nexeus/data/id_ed25519.pubGitHub pe apna repo
GitHub pe jao → github.com/rustdesk/rustdesk → Fork button → apne account / org me fork karo. Naam rakho: sstech-nexeus-client.
Local pe clone:
git clone https://github.com/YOUR_GITHUB/sstech-nexeus-client.git
cd sstech-nexeus-client⚠ License compliance: LICENCE file ko delete mat karna. AGPL-3.0 notice intact rakhna. Aapke fork ka source bhi public hona chahiye.
Logo, naam, colors
RustDesk me branding kuch jagah change karni hoti hai. Ye exact files hain:
A) App name & product ID
File: Cargo.toml (root) — name field aur src/lang/en.rs me strings.
File: flutter/lib/common.dart — search "RustDesk", replace "SSTECH NEXEUS".
B) Icons & logo
Replace these with your SSTECH logo (PNG/ICO):
res/icon.png, res/icon.ico, res/mac-icon.icnsflutter/assets/logo.svgflutter/web/icons/Icon-*.pngC) Built-in server pre-configuration
Ye step important hai — clients ko auto-detect karna chahiye aapka relay (user ko manually IP enter na karna pade).
File: libs/hbb_common/src/config.rs
// Find these constants and replace:
pub const RENDEZVOUS_SERVERS: &[&str] = &["YOUR_VPS_IP"];
pub const RS_PUB_KEY: &str = "PASTE_id_ed25519.pub_CONTENTS_HERE";
pub const APP_NAME: &str = "SSTECH NEXEUS";D) Theme colors
File: flutter/lib/common.dart → search MyTheme → primary color ko apne SSTECH blue (#1E3A8A) me set karo.
Commit & push:
git add .
git commit -m "Rebrand to SSTECH NEXEUS + configure relay"
git push origin masterWindows / Mac / Linux
Sabse easy raasta: GitHub Actions use karo. RustDesk repo me already .github/workflows/flutter-build.yml hai jo Windows, macOS, aur Linux teeno ke installers banata hai.
mastersstech-nexeus-x86_64.exe (Windows)sstech-nexeus.dmg (macOS)sstech-nexeus_amd64.deb + .rpm (Linux)Local build chahiye to official build docs dekho — Rust + Flutter + vcpkg setup chahiye.
Download page wire-up
3 options hain installers host karne ke liye:
Jab URLs ready ho jaye, mujhe bata dijiye — main is project ke /download page pe Windows/Mac/Linux buttons ko aapke real installer URLs se wire kar dunga.
End-to-end working check
✓ Agar ye kaam karta hai — aapka real, branded, self-hosted remote support platform live hai.