Automated Setup for dVPN Node
Step 1: Follow all these commands
To make the setup process simple, Qubetics provides an automated script that installs and configures a dVPN node with minimal manual steps. The script handles dependencies, firewall rules, and WireGuard setup for you.
It is a Linux script that provides a very easy way to spawn a Qubetics dVPN node via the command line.
Note: The remote_url parameter should always point to the node’s public IPv4 address instead of a domain name. Using a domain (for example https://dvpinn.pw:18133) can cause issues because the dVPN network relies on the actual IP address to determine the node’s geographic location, verify registration, and enable peer-to-peer connectivity. When a domain is used, the system cannot accurately fetch or verify the real IP, which affects node visibility and routing performance. Additionally, DNS resolution adds an extra dependency layer that can fail or delay connections if the domain is misconfigured, cached incorrectly, or points to a different IP. Since peers in the Qubetics network connect directly via IP for handshake and routing, using a domain name may lead to failed connections. Therefore, it is always recommended to bind the remote_url directly with the public IPv4 address (for example, https://:18133) to ensure accurate registration, stable peer connectivity, and reliable network discovery.
Prerequisites
A Linux VPS (Ubuntu 22.04/24.04 recommended) OR a Linux Ubuntu machine running on a residential ISP.
Minimum specs:
2vCPU
2 GB RAM
10 GB Disk
Stable Internet Connection
Operating System: Linux (preferably Ubuntu)
Root or sudo privileges.
Setup Steps
If you are running on a Cloud Server (AWS, Google Cloud, Azure, etc.) Most cloud providers give you an Ubuntu instance where you already have root access. In this case, you can directly clone the repository and follow the steps mentioned in the README.
If you are running on your own machine with a Residential ISP (home internet) or inside VMware/VirtualBox
You might not be logged in as root by default. First, switch to root using the command below:
sudo suAfter that, clone the repository and continue with the steps from the README.
Clone the repository
git clone https://github.com/Qubetics/testnet-dvpn-node-script.git
cd testnet-dvpn-node-script
.
├── .gitignore
├── README.md
├── install-go.sh
├── setup_wireguard.sh
└── start-node.sh
install-go.sh Install Go toolchain
setup_wireguard.sh Setup WireGuard VPN interface
start-node.sh Main node manager & service control scriptFollow the Readme file https://github.com/Qubetics/testnet-dvpn-node-script/blob/main/README.md
Node operators should run in sequence:
1) git clone https://github.com/Qubetics/testnet-dvpn-node-script.git
2) cd testnet-dvpn-node-script/
3) ./install-go.sh
4) source ~/.bashrc
5) source ~/.profile
6) go version
7) sudo ./setup_wireguard.sh
8) ./start-node.sh init
9) ./start-node.sh start
10) ./start-node.sh status
For check logs use journalctl command
journalctl -u dvpn-node.service-fHere is an example we tested on one of the cloud servers. 1) Open a root terminal.

2) Clone the repo: git clone https://github.com/Qubetics/testnet-dvpn-node-script.git .

3) Go to the cd testnet-dvpn-node-script directory.

4) First we run ./install-go.sh to install Go.
5) After installing Go, run source ~/.bashrc and source ~/.profile.
6) Then run sudo ./setup_wireguard.sh to install WireGuard.
7) Help command showing which commands are available inside the file.

8) After installing WireGuard, we ran ./start-node.sh init.


9) After the command completes successfully, copy the displayed key, as it is associated with your node.
10) After adding TICS, run ./start-node.sh start. Once it starts successfully, wait for 30 seconds to allow the node to initialize, and then save the node address. This node address will be used later.


11) To check the node status, run ./start-node.sh status.

12) To print the logs, run journalctl -u dvpn-node.service -f

Step 2: After running the above commands, register your node.
https://testnet-dvpn-user.qubetics.work/register
Follow these Registration Process Steps to register your node
Last updated