Monero node on VPS: P2Pool, mining pool, privacy

calendar_month May 08, 2026 schedule 8 min read visibility 9 views
person
Valebyte Team
Monero node on VPS: P2Pool, mining pool, privacy
To run a Monero node VPS with P2Pool support and full blockchain synchronization (120-130 GB), a server with at least 4 GB RAM, 2 vCPUs, and a 200 GB NVMe drive is required. This ensures stable node operation, high transaction privacy, and the ability to mine without the fees of centralized pools.

Why do you need your own Monero node VPS and what are the benefits?

Running an xmr node on a remote server is a fundamental step toward ensuring financial sovereignty and privacy. Unlike using public nodes, your own node guarantees that your IP addresses and transaction metadata are not logged by third parties. When you connect your wallet (GUI, CLI, Feather) to someone else's node, the owner of that node can see your IP and correlate it with transactions, which undermines the very idea of Monero.

A private node on a VPS allows you to:

  • Verify transactions independently without trusting external APIs.
  • Use p2pool monero for decentralized mining with payouts every few hours.
  • Provide access to your wallet from anywhere in the world via a secure RPC channel.
  • Support the Monero network by increasing the number of blockchain distribution points.

Compared to other blockchains, Monero's requirements are significantly lower. For example, a Bitcoin full node on VPS requires more disk space, while an Ethereum full node on VPS consumes a colossal amount of RAM and CPU resources. Monero remains one of the most accessible coins for self-hosting solutions.

Privacy via Tor and I2P

Using a monero node vps allows you to hide the fact that you are running a node from your ISP. By configuring transaction broadcasting through the Tor network, you eliminate the possibility of traffic analysis. This is critical in jurisdictions with strict cryptocurrency regulations. A private node becomes your personal gateway to an anonymous financial system.

Technical requirements and configuration choice for an XMR node

For the stable operation of a monero mining vps and node, the disk subsystem is critically important. Standard HDDs cannot handle synchronization due to low IOPS. The Monero blockchain actively uses random reads and writes, so an NVMe disk is a mandatory requirement. If you use a standard SSD, synchronization can drag on for weeks, whereas on NVMe, it takes between 12 and 24 hours.

Feature Minimum (Pruned node) Recommended (Full node) Maximum (Node + P2Pool)
Processor (vCPU) 1 Core (2.5+ GHz) 2 Cores 4-8 Cores (with AES-NI support)
RAM 2 GB 4 GB 8 GB+
Disk Type SSD / NVMe NVMe NVMe (High IOPS)
Disk Capacity 60 GB 200 GB 300 GB
Bandwidth 100 Mbps 1 Gbps 1 Gbps (unmetered)

It is important to consider that your own Monero node consumes a significant amount of traffic — from 500 GB to 2 TB per month, depending on the number of incoming connections. When choosing a VPS at Valebyte, ensure that the traffic limits match your plans for supporting the network. To save space, you can use "pruning" mode, which removes 7/8 of the blockchain data without affecting security or mining capabilities, reducing the volume to ~40-50 GB.

Why are AES-NI instructions important?

The RandomX algorithm used in Monero is optimized for general-purpose processors. For a monero mining vps to work efficiently, the processor must support AES-NI instructions. On Valebyte virtual servers, these instructions are passed through to the guest OS, allowing for hashrates comparable to bare-metal solutions. Without hardware AES acceleration, mining performance and block verification speed will drop by 5-10 times.

Looking for a reliable server for your projects?

VPS from $10/mo and dedicated servers from $9/mo with NVMe, DDoS protection, and 24/7 support.

View offers →

Step-by-step Monero node installation on Ubuntu 22.04/24.04

For installation, we will use the official binary files. This is safer than using third-party repositories. First, prepare the system and create a separate user for security.

sudo apt update && sudo apt upgrade -y
sudo apt install wget curl ufw tar -y
sudo useradd -m monero
sudo -u monero mkdir ~/bin ~/data

Download the latest version of Monero CLI:

cd /tmp
wget https://downloads.getmonero.org/cli/linux64
tar -xjvf linux64
sudo mv monero-x86_64-linux-gnu-v*/* /home/monero/bin/
rm -rf monero-x86_64-linux-gnu-v* linux64

Now create the bitmonero.conf configuration file. This will allow you to configure the monero node vps to run in the background with optimal parameters:

data-dir=/home/monero/data
log-file=/home/monero/data/bitmonero.log
log-level=0
rpc-bind-ip=0.0.0.0
rpc-bind-port=18081
confirm-external-bind=1
restricted-rpc=1
public-node=1
db-sync-mode=fast:async:250000000bytes
out-peers=64
in-peers=32
# Optional to save space:
# prune-blockchain=1

The restricted-rpc=1 parameter is critical: it allows external wallets to connect to your node but prevents them from executing administrative commands (e.g., shutting down the node). This makes your xmr node publicly accessible but secure.

To start automatically, create a systemd service:

sudo nano /etc/systemd/system/monerod.service

[Unit]
Description=Monero Full Node
After=network.target

[Service]
User=monero
Group=monero
Type=simple
ExecStart=/home/monero/bin/monerod --config-file /home/monero/data/bitmonero.conf --non-interactive
Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target

Setting up P2Pool Monero for decentralized mining

P2Pool monero is the best way to mine today. It combines the advantages of solo mining (no pool fees, full control over rewards) and pool mining (regular payouts). Unlike regular pools, P2Pool does not hold your funds. The block reward is distributed by the blockchain protocol directly to your wallet.

To run P2Pool on a monero mining vps, you need to run additional software that interacts with your node. There are two P2Pool branches:

  1. Main: For miners with a high hashrate (from 10-20 kH/s).
  2. Mini: For home miners and small VPS (from 100 H/s to 10 kH/s).

Installing P2Pool via Docker (recommended method):

sudo apt install docker.io docker-compose -y
git clone --recursive https://github.com/SChernykh/p2pool
cd p2pool/docker-compose
# Edit the .env file, specifying your wallet address
docker-compose up -d

After starting, P2Pool will create a local Stratum port (usually 3333). You can point a miner (e.g., XMRig) running on the same or another server to it. This turns your monero node vps into a full-fledged cryptocurrency mining hub. If you are interested in larger-scale projects, check out the material on Solana validator: hardware requirements and real earnings, but remember that the entry barrier there is significantly higher.

Privacy and Security: Using Tor for the wallet

To make your own Monero node as anonymous as possible, it should be configured to work through Tor. This will hide the server's IP address from peers on the network. Install Tor and set up a Hidden Service for RPC port 18081.

sudo apt install tor -y
sudo nano /etc/tor/torrc

# Add to the end:
HiddenServiceDir /var/lib/tor/monero_node/
HiddenServicePort 18081 127.0.0.1:18081

Restart Tor and find your .onion address:

sudo systemctl restart tor
sudo cat /var/lib/tor/monero_node/hostname

Now you can specify this .onion address in your Feather or Monero GUI wallet. All traffic will be encrypted and passed through the Tor network, ensuring the highest level of privacy. For storing your seed phrase and wallet passwords, we recommend using Self-hosted Bitwarden / Vaultwarden so that your keys are always at hand and secure.

Wallet backup and node security

Remember that the node and the wallet are different things. A monero node vps usually does not store the private keys of a wallet with a balance. The node only stores a copy of the blockchain. However, if you use monero-wallet-rpc for automated payouts, you must follow security rules:

  • Use complex passwords for wallet files.
  • Regularly back up the .keys file and write down the 25-word mnemonic seed on paper.
  • Configure UFW (Firewall), allowing only necessary ports: 18080 (p2p) and 18081 (rpc).
  • Disable password login via SSH; use SSH keys only.

Performance optimization for monero mining vps

To squeeze the maximum hashrate out of a monero mining vps, you need to configure Huge Pages. This allows the processor to work more efficiently with memory when calculating the RandomX algorithm.

sudo sysctl -w vm.nr_hugepages=1168
# To persist after reboot:
echo "vm.nr_hugepages=1168" | sudo tee -a /etc/sysctl.conf

You can check if the settings have been applied with the command grep Huge /proc/meminfo. If you see that HugePages_Free is greater than zero, it means XMRig will be able to use them to speed up mining by 10-15%.

It is also worth limiting the number of mining threads so that free resources remain for the xmr node itself. If you have 4 vCPUs, allocate 3 for mining and 1 for system processes and blockchain maintenance. This will prevent the server from "hanging" during the synchronization of new blocks.

Monitoring node status and logs

To check the synchronization status, use the status command inside monerod or via CLI:

/home/monero/bin/monerod --config-file /home/monero/data/bitmonero.conf status

You will see the current block height and the number of connected peers. If the number of incoming connections (in-peers) is zero, check your Firewall settings and ensure that port 18080 is open to the outside world. The more incoming connections you have, the more useful your node is to the Monero ecosystem.

For visual monitoring of server resources, it is convenient to use htop or btop. They will show the load on each processor core and RAM consumption. If you notice an abnormal growth in RAM consumption, it might be worth reducing the db-sync-mode parameter in the configuration or limiting the number of peers.

Conclusions

To run a reliable Monero node on a VPS, it is optimal to choose plans with 4 GB RAM and an NVMe disk of at least 200 GB, which will allow you to combine node functions and decentralized mining via P2Pool. Using Tor for RPC connections and correctly configuring Huge Pages will ensure the maximum level of privacy and performance for your own XMR node.

Ready to choose a server?

VPS and dedicated servers in 72+ countries with instant activation and full root access.

Start now →

Share this post:

support_agent
Valebyte Support
Usually replies within minutes
Hi there!
Send us a message and we'll reply as soon as possible.