EQVPS

Run your own Nostr relay on a VPS (strfry, your rules)

Sep 2, 2026 · 2 min read · EQVPS Team

Nostr's whole point is that no single company owns your social graph — your identity is a keypair, and your notes live on relays anyone can run. Running your own relay on a VPS gives your events an always-on home you control: your own policies, a durable copy of everything you publish, and one more node making the network harder to censor. Fittingly, you can pay for it in crypto with no KYC.

What a Nostr relay needs

Set up strfry (Ubuntu 24.04)

# dedicated-IP plan, root shell
apt update && apt install -y git build-essential libssl-dev zlib1g-dev liblmdb-dev \
  libflatbuffers-dev libsecp256k1-dev libzstd-dev

git clone https://github.com/hoytech/strfry && cd strfry
git submodule update --init
make setup-golpe && make -j$(nproc)

# minimal config
mkdir -p /var/lib/strfry
cp strfry.conf /etc/strfry.conf
sed -i 's#db = "./strfry-db/"#db = "/var/lib/strfry/"#' /etc/strfry.conf

# run it (bind to localhost; a reverse proxy terminates TLS on 443)
./strfry --config /etc/strfry.conf relay

Put Caddy in front for automatic HTTPS + WSS on your domain:

apt install -y caddy
cat > /etc/caddy/Caddyfile <<'EOF'
relay.yourdomain.com {
  reverse_proxy 127.0.0.1:7777
}
EOF
systemctl restart caddy
ufw allow 80/tcp && ufw allow 443/tcp

Point your Nostr client at wss://relay.yourdomain.com and you're publishing to a relay you own.

Make it yours (policies)

strfry supports a write-policy plugin so you decide who can publish:

Read access can stay open so your notes propagate, while writes stay locked down.

Why EQVPS for a Nostr relay

Run a Monero node on a VPS → · Anonymous VPS hosting explained →

FAQ

Why run my own Nostr relay?

A personal relay is an always-on home for your own events: you publish there, keep a durable copy, and don't depend on someone else's relay staying up or keeping you. You can set your own write policies (e.g. only your pubkey writes), and you add capacity and resilience to a decentralized, censorship-resistant network.

Which relay software and plan?

strfry is a fast, popular C++ relay that's light on resources. Nano-IP or Small-IP works for a personal or small-community relay; a busy public relay with lots of retention wants more RAM and disk. You need a dedicated-IP plan so clients can reach your relay inbound over wss:// on 443.

Do I need a dedicated IP and a domain?

Yes. Nostr clients connect to wss://relay.yourdomain.com, which needs a domain, valid HTTPS/WSS and inbound 443 — so a dedicated-IPv4 plan. Our NAT plans don't accept inbound web traffic. A reverse proxy (Caddy) gives you automatic TLS.

Can I make it private / paid?

Yes. strfry supports write policies via a plugin: allow only your own pubkey(s), a whitelist, or a paid-admission scheme. A personal relay that only you can write to — but anyone can read from — is a common, robust setup.

Do you ask for ID or a card?

No. Register with an email, pay in USDC or USDT. No documents, no card, no KYC.

← Back to blogSee plans & pricing →

Comments

No comments yet. Be the first.

Leave a comment

Comments are moderated before they appear.