Is there any chance to host multiple services (like a webserver, XMPP server, ssh server) behind one .onion address? Or do I have to create a single hidden service for each service/server?

1 Answer 1


You can have multiple services on the same .onion address. You can forward each port to a different service.
For example:

HiddenServiceDir /path/to/hs/dir/
HiddenServicePort 80
HiddenServicePort 8000
HiddenServicePort 81

This (in your torrc) would expose 3 services on 1 .onion address. The first 2 live on the same host as the Tor relay. The 3rd lives on another host in the local network.

See also section three of the site Configuring Hidden Services.

  • Thanks for the answer! Are there any security issues by doing this? e.g. timing or load attacks? I will try that out.
    – dodo
    Oct 29, 2014 at 17:01
  • "Are there any security issues by doing this?" <-- Not that I know of, or can imagine.
    – Jobiwan
    Oct 30, 2014 at 12:34
  • Well, one "issue" is that it becomes obvious for third parties that all these services are hosted on the same machine. Sep 8, 2021 at 3:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .