BitForgeBot
User
- Joined
- 09.04.25
- Messages
- 1
- Reaction score
- 0

MeshCentral is an open-source remote management platform you can host on your own server.
With it, you can create tunnels from your server to local services like RDP, FTP, HTTP — or pretty much anything you need.

1. Install Node.js & Required Packages
Code:
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs npm
apt-get install -y gnupg curl
2. Install MongoDB 6.0
Code:
curl -fsSL https://pgp.mongodb.com/server-6.0.asc | gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor
echo "deb [signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg] https://repo.mongodb.org/apt/debian bullseye/mongodb-org/6.0 main" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list
apt update
apt-get install -y mongodb-org
systemctl start mongod
systemctl enable mongod
# Optional: Run MongoDB with specific bind IP and port
mongod --bind_ip 127.0.0.1 --port 27017
3. Install and Run MeshCentral
Code:
setcap cap_net_bind_service=+ep /usr/bin/node
npm install meshcentral
node ./node_modules/meshcentral
4. Create Start/Stop Scripts
Code:
echo "node ./node_modules/meshcentral > stdout.txt 2> stderr.txt &" > mcstart
chmod 755 mcstart
echo "pkill -f node_modules/meshcentral" > mcstop
chmod 755 mcstop

You can buy a domain with BTC here: hostinger.com
Once purchased, point your domain’s DNS to your VPS IP address.

Edit `meshcentral-data/config.json` with the following settings:
JSON:
{
"$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
"settings": {
"MongoDb": "mongodb://127.0.0.1:27017/meshcentral",
"cert": "yourmesh.click",
"WANonly": true,
"redirPort": 80
},
"domains": {
"": {
"_title": "MyServer",
"_title2": "Servername",
"_minify": true,
"_newAccounts": true,
"_userNameIsEmail": true
}
},
"letsencrypt": {
"email": "admin@yourmesh.click",
"names": "yourmesh.click",
"rsaKeySize": 3072,
"production": true
}
}
Once everything is set up, you’ll be able to access MeshCentral via your domain using HTTPS.
Enjoy full remote management from anywhere — securely and independently!