1

I'm interested in hosting a Hidden service on a KVM host that I control. I'd like the first hop from the hidden service to also go through a relay running on the same KVM host. What settings do I need to make this happen?

usefule information for others also found here

user12828
  • 13
  • 3

2 Answers2

0

In the torrc file of your relay, you need to set EntryNodes fingerprint and StrictNodes 1 This will tell Tor to only use the set entry node to build circuits.

SuperSluether
  • 1,239
  • 8
  • 21
0

You can also do that by directing your HS router to use your relay as a bridge.
First add these lines to torrc of your relay to set it up as a bridge:

ORPort <some port>
BridgeRelay 1
Exitpolicy reject *:*

Then configure the router that hosts your HS to use your bridge:

UseBridges 1
Bridge <bridge line of your relay>

There is no guarantee that rendezvous circuits will always go through the bridges with UseBridges on. Tor may behave unexpectedly. Furthermore, an adversary could correlate your HS without effort since there are almost no hidden services behind a bridge.

nobody
  • 725
  • 4
  • 15