Set up a modern mesh VPN using Netmaker on your RamNode VPS. Create secure peer-to-peer connections with WireGuard technology and web-based management.
Netmaker is a powerful, modern VPN solution that creates secure mesh networks using WireGuard technology. Unlike traditional VPN setups, Netmaker automatically manages peer-to-peer connections, making it ideal for connecting multiple devices, offices, or cloud resources.
Before beginning the Netmaker installation, ensure you have the following requirements:
First, connect to your RamNode VPS via SSH and update the system packages:
sudo apt update && sudo apt upgrade -yInstall essential packages required for the installation:
sudo apt install -y curl wget git ufwConfigure the firewall to allow required ports:
sudo ufw allow ssh sudo ufw allow 80/tcp sudo ufw allow 443/tcp sudo ufw allow 51821/udp sudo ufw allow 8081/tcp sudo ufw --force enableNetmaker requires Docker and Docker Compose. Install the official Docker packages:
sudo apt-get remove docker docker-engine docker.io containerd runccurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpgecho "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/nullsudo apt update sudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose-pluginsudo usermod -aG docker $USER newgrp dockerdocker --version docker compose versionDownload and run the official Netmaker installation script:
wget -O /tmp/nm-quick.sh https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/nm-quick.sh && chmod +x /tmp/nm-quick.shRun the installation script. You'll be prompted for configuration options:
sudo /tmp/nm-quick.shInstallation Notes
Verify the installation by checking container status:
docker psIf you're using a domain name, configure DNS records to point to your VPS:
Replace yourdomain.com with your actual domain and YOUR_VPS_IP with your RamNode VPS IP address.
Access the Netmaker web interface and create your first network:
Open your browser and navigate to:
Use the admin credentials that were displayed during installation. If you missed them, you can retrieve them:
sudo docker logs netmaker 2>&1 | grep "Admin Password"Add devices to your Netmaker network:
Verify that your Netmaker network is working correctly:
sudo netclient listFrom one client device, ping another device using its Netmaker IP:
ping 10.101.0.2In the web UI, navigate to "Networks" → Your Network → "Graph" to visualize the network topology and connection status.
Connection Successful!
If you can ping between devices, your Netmaker mesh VPN is working correctly.
Common issues and their solutions:
For additional support, check the official Netmaker documentation at docs.netmaker.org or join their community Discord server.
Backup your Netmaker configuration regularly:
cd ~/netmaker docker compose exec netmaker tar czf /backup/netmaker-backup-$(date +%Y%m%d).tar.gz /etc/netmaker