LND needs a Bitcoin Core backend with ZMQ, a short lnd.conf and a wallet you create once. The commands below come from the Lightning Labs documentation.
Last updated: · 8 min read
Quick answer
How to set up LND on a VPS?
To set up LND on a VPS, run a synced Bitcoin Core with ZMQ enabled, download and verify the lnd release, write lnd.conf with bitcoin.node=bitcoind, start lnd and create the wallet with lncli create. LND needs about 2 GB of RAM. Blockgilt sizes Leaf for it: 2 vCPU, 4 GB RAM, 80 GB NVMe, 4 TB traffic, $3.50 a month.
In brief
LND needs a synced Bitcoin Core backend with zmqpubrawblock and zmqpubrawtx on separate addresses.
LND uses about 2 GB of RAM; a pruned backend is allowed.
Verify the manifest with gpg and the archive with its SHA-256 before installing.
lnd.conf sets bitcoin.node=bitcoind and listens on port 9735.
lncli create prints a 24-word seed once; channel.backup protects channels.
Leaf costs $3.50 a month; Gilt costs $12.61.
What does LND need on a VPS?
LND requirements from the Lightning Labs documentation, with the Blockgilt plan that runs it
Item
Figure
RAM for LND
about 2 GB
Bitcoin backend, pruned
7 GB minimum disk; Leaf has 80 GB NVMe
Bitcoin backend, full
0.9 TB with an index; Bullion has 1.5 TB NVMe
Lightning port
9735 (open inbound)
Leaf
2 vCPU, 4 GB RAM, 80 GB NVMe, 4 TB traffic, $3.50 a month on 12 months
Gilt
4 vCPU, 8 GB RAM, 250 GB NVMe, 8 TB traffic, $12.61 a month on 12 months
Prices checked on
What are the steps to set up LND on a VPS?
Run a synced Bitcoin Core
Install and sync bitcoind first, pruned or full. Wait for verificationprogress to approach 1 before you start LND.
Enable RPC and ZMQ in bitcoin.conf
Set server=1, an RPC user and password, and two ZMQ endpoints: zmqpubrawblock and zmqpubrawtx. Each must use its own address. Restart bitcoind.
Download the LND release
Take the linux-amd64 archive, the manifest and a signature from the GitHub release page of lightningnetwork/lnd.
Verify the manifest and the archive
Import the signing key, verify the manifest signature with gpg, then compare the archive SHA-256 with the manifest.
Install lnd and lncli
Extract the archive and copy the two binaries to /usr/local/bin.
Write lnd.conf
Create ~/.lnd/lnd.conf with the Bitcoin section pointing at bitcoind, the same RPC login and the same ZMQ addresses.
Start lnd and create the wallet
Run lnd, then lncli create. It asks for a wallet password and prints a 24-word seed. Write the seed on paper and keep it off the server.
Fund, open channels and back up
Send coins to an address from the wallet, open channels, and copy channel.backup to another machine each time a channel opens or closes.
Which Blockgilt plan fits?
Leaf runs LND with a pruned node; Gilt leaves room for BTCPay Server beside it.
Leaf
2 vCPU · 4 GB RAM · 80 GB NVMe
$7
$21 for 3 months
$7 / month
$21 for 3 months
$5.60 / month
$33.60 for 6 months
$3.50 / month
$42 for 1 year
6 months$33.60(−20%) · 1 year$42(−50%)
2 vCPU, 4 GB RAM, 80 GB NVMe
Trading bots, a pruned Bitcoin node with Lightning
4 TB traffic at 1 Gbit/s, 1 IPv4 + IPv6 /64
$3.50 a month on the 12-month term ($42.00 a year)
HostBrr Value 8GB: $4.67 a month for 2 vCPU / 8 GB / 80 GB NVMe (10 November 2026)
In every plan: NVMe sized for the chain · Inbound P2P ports open · Nodes welcome, mining banned · IPv4 + IPv6 /64 · Root over SSH · No KYC
Which VPS plan runs LND?
Leaf runs LND with a pruned Bitcoin Core, and Gilt does the same with room for BTCPay Server on top.
LND itself is light: the Lightning Labs documentation allows a pruned bitcoind backend and warns that aggressive pruning can cost performance because LND has to fetch some blocks elsewhere. The 4 GB of RAM on Leaf covers LND (2 GB) and a pruned bitcoind with a modest cache. According to Blockgilt’s sizing of 10 November 2026, a pruned backend at the 550 MiB floor plus 15 GB of chainstate uses well under a fifth of Leaf’s 80 GB NVMe. If you route heavily or want a full backend, move to Bullion. The network has 13,777 nodes and 22,680 channels holding 2,530.94 BTC at 21 October 2026, according to mempool.space. See VPS for Lightning node for the sizing in detail, LND vs Core Lightning if you have not chosen an implementation, and how to run a pruned Bitcoin node for the backend.
How do you configure bitcoind for LND?
Configure bitcoind with server=1 and two separate ZMQ endpoints, zmqpubrawblock and zmqpubrawtx, bound to localhost.
The LND installation guide says each ZMQ option must use its own address so notifications arrive reliably, and that rpcserialversion must be 1 or unused. The addresses you put in bitcoin.conf must match the ones LND uses. Keep RPC and ZMQ on 127.0.0.1: nothing outside the VPS needs them.
Download the linux-amd64 archive plus the manifest and a signature, verify the manifest with gpg, then check the archive hash against the manifest.
LND releases are signed by several maintainers; the release page lists the key of each. The procedure in the release notes is: import a key, run gpg --verify with the signature and the manifest, recompute the archive hash with shasum -a 256 and make sure it matches the manifest entry exactly. The block below uses the release at the time of writing; replace the version with the latest on the release page.
lnd.conf needs the mainnet switch, the bitcoind backend, the RPC login and the two ZMQ addresses.
The file lives in ~/.lnd/lnd.conf on Linux. Options sit under the [Application Options], [Bitcoin] and [Bitcoind] headings. listen defaults to port 9735, and externalip advertises your address to the network. Inbound P2P ports stay open, so a node can accept peers: 8333 for Bitcoin, 9735 for Lightning, 18080 for Monero, and any port you open in your own firewall. The RPC listener rpclisten defaults to localhost on 10009, which is where it should stay.
Write the 24-word seed on paper and back up channel.backup, because the seed alone does not recover channel funds.
lncli create asks for a wallet password and an optional seed passphrase, then prints the seed once. After each restart you run lncli unlock. The static channel backup file is ~/.lnd/data/chain/bitcoin/mainnet/channel.backup; it is updated when a channel opens or closes, and lncli exportchanbackup --all --output_file=channel.backup writes a copy. Restoring needs the seed, and it asks your peers to force close, so treat it as a last resort. No plan includes backups. Keep your wallet seeds, Lightning channel backups and bot configs somewhere other than the VPS. Blockgilt never holds your coins, seeds or exchange API keys: the node and the wallet on your VPS are yours to run, and nobody on the team will ask for a seed phrase or a private key. The full routine is in how to back up a Lightning node.
Frequently asked questions
How much RAM does LND need?
About 2 GB, plus what bitcoind uses on the same server. A 4 GB plan covers both with a pruned backend.
Can LND run on a pruned node?
Yes. LND allows a pruned backend, with the caveat that aggressive pruning can cost performance.
Which port does LND use?
Port 9735 for peers. The RPC port 10009 stays on localhost.
What happens if I lose the server?
You restore from the seed and channel.backup, and peers force close the channels. Keep both off the VPS.
Does Blockgilt run my node for me?
No. You run LND yourself. Blockgilt never holds your coins, seeds or exchange API keys: the node and the wallet on your VPS are yours to run, and nobody on the team will ask for a seed phrase or a private key.
Verdict
Blockgilt Leaf is the better choice if LND runs next to a pruned Bitcoin Core: 2 GB of RAM fits in 4 GB, for $3.50 a month on 12 months.
Gilt is the better choice if BTCPay Server shares the node, at $12.61 a month.