OffshoreVps
Tutorials7 Okt. 20266 min readBy the OffshoreVps team

How to Run a Monero Node on a VPS

Run monerod on a VPS for private wallet access: requirements, verifying the download, pruned mode, restricted RPC and firewall ports.

A Monero node lets your wallet talk to the network without trusting a third-party server. Using a remote node run by someone else reveals your IP address and your wallet activity to its operator, so many people run their own. A VPS keeps it online all the time.

Terminal window on a VPS showing the commands used for running a Monero node, starting with “tar xjf monero-linux-x64-vVERSION.tar.bz2”
The kind of commands you will run on your server in this guide.

What you need

  • Disk. The Monero blockchain is a few hundred gigabytes and grows over time. Check the current size on getmonero.org before you pick a plan.
  • RAM. 4 GB is a comfortable minimum. More helps during the first sync.
  • Bandwidth. The first sync downloads the whole chain, then traffic settles down. Choose a plan with generous transfer.

Our VPS plans with NVMe storage are a good fit.

Step 1: prepare the server

Update the system and secure it first. Our guide to securing a new VPS covers SSH keys, a firewall and automatic updates. Create a dedicated user for Monero.

Step 2: download and verify

Download the official command-line tools from getmonero.org and verify the hash and signature published on the download page before you run anything.

tar xjf monero-linux-x64-vVERSION.tar.bz2
sudo mv monero-x86_64-linux-gnu-vVERSION /opt/monero
The steps of this guide in order: 1. What you need; 2. prepare the server; 3. download and verify; 4. start the daemon; 5. use it with your wallet; 6. Firewall notes
The steps in this guide, in order.

Step 3: start the daemon

/opt/monero/monerod --detach --prune-blockchain \
  --data-dir /home/monero/.bitmonero

The --prune-blockchain option keeps about a third of the data and cuts the disk requirement a lot. Leave it out for a full node. Watch progress with /opt/monero/monerod status or in the log.

Step 4: use it with your wallet

To use the node from a wallet on another device, run the daemon with restricted RPC and point the wallet at your server's address and port 18081. Keep the full RPC private: do not expose it openly. For remote use, prefer the restricted RPC option and a firewall rule that only allows your own IP.

Firewall notes

  • Port 18080 is the peer-to-peer port. Opening it helps the network.
  • Port 18081 is the RPC port. Restrict it to your own address.

Frequently asked questions

How much disk does a Monero node need?

A full Monero node needs well over 200 GB today and the blockchain keeps growing. Pruned mode uses about a third of that.

Why run your own Monero node?

It lets you verify the chain yourself and stops a remote node from learning which transactions your wallet looks up.