← Back to home

Self-Host Guide

Deploy your own SSTECH NEXEUS infrastructure

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).

0. Architecture overview

Samjho kya banega

3 pieces hain jo milke real remote support banate hain:

  • Relay / Rendezvous server — ek VPS pe chalega. Ye 2 clients ko introduce karta hai aur agar direct connection nahi ban paaye to traffic relay karta hai. Binaries: hbbs + hbbr.
  • Desktop client (SSTECH NEXEUS) — Windows / macOS / Linux pe install hota hai. Screen capture, mouse/keyboard control, file transfer. RustDesk source se branding modify karke build.
  • Aapki website — yahi project. Users yahan se installer download karte hain.

⚠ 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.

1. VPS le lo (relay server ke liye)

$5/month, 5 minute

Recommended providers:

  • Hetzner CX22 — €4.5/month (best value)
  • DigitalOcean Basic — $6/month
  • Contabo VPS S — $5/month

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:

local terminal
ssh root@YOUR_VPS_IP

2. Relay server deploy karo (Docker se)

Ek command me ready

Docker install karo (agar nahi hai):

VPS shell
curl -fsSL https://get.docker.com | sh
systemctl enable --now docker

Persistent data folder banao aur relay binaries (hbbs + hbbr) chalao. Ye RustDesk team ke official server images hain (AGPL):

VPS shell
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 \
  hbbr

Replace 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 hongi

Public 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.pub

3. RustDesk client fork karo

GitHub 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.

4. SSTECH NEXEUS branding apply karo

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.icns
  • flutter/assets/logo.svg
  • flutter/web/icons/Icon-*.png

C) 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 master

5. Installers build karo

Windows / 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.

  1. Apne fork repo me jao → Actions tab → "I understand my workflows, enable them"
  2. "Flutter build" workflow → Run workflow → branch master
  3. ~40 minute wait karo (cross-platform build slow hai)
  4. Workflow complete hone par Artifacts me milegi:
    • sstech-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.

6. Installers ko website pe host karo

Download page wire-up

3 options hain installers host karne ke liye:

  • GitHub Releases (free, recommended) — apne fork repo me Release banao, files attach karo. Direct download links mil jayenge.
  • Cloudflare R2 — $0 egress, fast.
  • Apna VPS — same machine pe nginx se serve karo.

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.

7. Test karo

End-to-end working check

  1. 2 alag computers pe SSTECH NEXEUS installer install karo
  2. App khole — top pe ek 9-digit ID dikhega + ek password
  3. Computer A pe Computer B ka ID enter karo → Connect → B pe password prompt → password enter → screen connect ho jayegi
  4. Network tab me dekho — connection aapke VPS IP se ja rahi honi chahiye (relay verify)

✓ Agar ye kaam karta hai — aapka real, branded, self-hosted remote support platform live hai.