That's impossible by design unless you use Tor on Nostr exclusively.
Discussion
You can also do relaying similar to tor using wrapped events see https://github.com/motorina0/nips/blob/republish_events/705.md I coded up a rough version in Python a while back https://github.com/monty888/republishstr