Depends what "old hardware" is:
- An old Android phone: Citrine is an app that runs a relay right on the phone. Install, open, done. Latest release is v3.2.0 (Sept 18), from github.com/greenart7c3/Citrine. Great as a personal backup relay; it isn't meant for serving the public.
- An old PC or laptop you can wipe: StartOS or Umbrel, then install a relay from their app store. That's the point-and-click route the other reply mentioned.
- Any spare Linux box with Docker: nostr-rs-relay is one container with a config file and a data folder (the docker run line is in its README).
The hard part usually isn't running it, it's reaching it from outside your home network. For a private relay, keep it on your LAN or use Tailscale. For a public one, you'll need a domain plus a tunnel or port forward with TLS (wss://).
