Passionate about Bitcoin and convinced that education is the key, I wish to share with you the little knowledge I have and thus contribute to the adoption of Bitcoin. Otherwise, I'm a big fan of Pink Floyd, I'm learning to code, and I make memes. Looking forward to meeting you at the next meet-up! I am the creator of the training course BTC 205 - Non-KYC Purchase Solution.
Prerequisites: Umbrel installation
Introduction to Nostr
Umbrel applications for Nostr
Nostr Relay - Your private relay on Umbrel
ws://umbrel.local:4848 (or use the Umbrel's local IP).umbrel or an auto-generated name) to access it from anywhere, always on port 4848.noStrudel - Nostr client for explorers
http://umbrel.local or via its .onion/Tailscale, see external access section).- Complete Nostr dashboard with notes timeline, notifications, messaging, profile search
- Relay management and connection status
- Advanced tools for examining events and their JSON content
- Configuration options for timeline filters and PINs
Snort - Modern Nostr customer on Umbrel
- A Posts/Conversations/Global display to navigate between your notes, threaded discussions, or the global feed
- Tabs for Notifications, Messages (DM), Search, Profile, etc.
- A + or Write button to publish a new note
- Management of subscriptions (following) and lists
- Relay management menu to add/remove relays and track their availability
ws://umbrel:4848 or other URL depending on your config) in Snort's list of relays. This way, Snort will publish your notes on your private relay in addition to the public ones.Nostr Wallet Connect - Link your Lightning wallet to Nostr
- Define your maximum budget
- Validate authorizations
- Set an expiry time for the connection
Advanced configuration and security
Secure external access: Tor and Tailscale
- Access via Tor: Umbrel automatically configures a Tor service (.onion) for its Interface web and applications. This means you can access Interface Umbrel (including noStrudel or Snort) from anywhere, using the Tor browser, without exposing your public IP. Tor is used to access your Umbrel services from outside your local network, without exposing your device to the Internet (Setup Tor on your system - Guides - Umbrel Community). To use this option, go to Umbrel settings and retrieve your Umbrel's .onion URL (or scan the QR code provided). On a Tor browser, access this .onion address: you'll get the same Interface as locally. You can then use your Nostr apps just like at home.
- Use the UI Umbrel's .onion address and configure your client to connect via this Interface (impractical for WebSocket),
-
Or expose port 4848 as a separate onion service. This requires fiddling with the Tor config on Umbrel (reserved for advanced users comfortable with SSH). Alternatively, consider a Tor tunnel on another server that redirects to Umbrel: however, for personal use, it's easiest to use Tailscale.
-
Access via Tailscale: Tailscale is a mesh VPN solution that creates a virtual private network between your devices and Umbrel. The advantage: it works as if you were on a LAN, but over the Internet, encrypted and without complex configuration. Tailscale assigns your Umbrel a fixed IP and a private domain name, regardless of its network location (Tailscale | Umbrel App Store). In practice, once you've installed Tailscale on Umbrel (from the Umbrel App Store, category Networking) and on your devices (mobile, PC...), you'll be able to reach Umbrel via an address like
100.x.y.z(Tailscale IP) or a name likeumbrel.tailnet123.ts.net.
ws://umbrel:4848 (thanks to MagicDNS) or directly to the Tailscale IP and port 4848 to use the relay. Clients like Damus or Amethyst will see your Umbrel as if it were on the same local network. Tip: Enable the MagicDNS option in Tailscale to use the hostname umbrel instead of memorizing the IP. This ensures a smooth connection to your relay even when you're on the move (Nostr Relay | Umbrel App Store).Securing your Nostr relay (recommended practices)
-
Private or restricted relay: By default, your Umbrel relay is private (not publicly announced) and, if you only access it via Tailscale or your LAN, it will remain inaccessible to strangers. Keep the link confidential. Do not broadcast it on public Nostr networks unless you want to voluntarily host other users, which is a whole other issue (moderation, bandwidth, etc.). For personal use, we recommend limiting access to yourself and, if necessary, to a few trusted friends and family.
-
Whitelist / Auth: The nostr-rs-relay implementation supports a NIP-42 authentication mechanism as well as whitelists of public keys. By enabling these options, you can restrict your relay so that it only accepts events signed by certain keys (yours), or that clients must authenticate to publish. Setting this up requires editing the relay's
config.tomlconfiguration file in Umbrel (via SSH in the Docker container). It's an advanced manipulation, but for example you can list the ads allowed (pubkey_whitelist). This way, even if someone discovers your relay, they won't be able to publish anything there if they're not on the list. -
Updates and maintenance: Keep your Umbrel and the Nostr Relay app up to date. Updates may include performance improvements (e.g. better spam handling) and security fixes. On Umbrel, check the App Store regularly for updates to Nostr Relay, and apply them as necessary.
-
Monitoring and limits: Keep an eye on how your relay is used. If you open it up to others, keep an eye on the load (CPU/RAM storage) on your Umbrel, as a relay can quickly accumulate a lot of data. nostr-rs-relay offers configurable rate and storage limits (
limitsin the config, e.g. number of events per second, max event size, purging of old events...). For private use, you probably won't need to touch these, but be aware that these parameters exist if you need them (nostr-rs-relay/config.toml at master - scsibug/nostr-rs-relay - GitHub). -
Securing Nostr keys: This point has already been mentioned, but it's crucial: never enter your Nostr private keys in a Interface you don't fully trust. Instead, use browser extensions or external devices (such as Nostr signers on separate phones) to sign sensitive actions. On Umbrel, your web clients like Snort and noStrudel can work without knowing your secret key, via NIP-07. Take advantage of this opportunity to combine comfort and security.
Author
This tutorial has been written by Pierre
You can say thanks by tipping the professor.
Credits
This tutorial has not been proofread yet
The original content has been translated by AI, but human review is necessary to ensure its accuracy.
4 002 sats2 001 sats1 001 satsEvery content on the platform is the result of a collaborative effort: each lesson, translation, and revision is made possible by the work of contributors. For this reason, we are always looking for proofreaders who can review our content in many languages. If you want to participate in the proofreading process, please reach out in our Telegram group and read our tutorial. We remind you that this content is open-source - licensed under CC BY-SA - so it can be freely shared and used, as long as the original source is credited.


