hs-exit-min 470 B

1234567891011
  1. # By default, Authorities are not configured as exits
  2. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  3. ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
  4. Client = Node(tag="c", client=1, torrc="client.tmpl")
  5. HS = Node(tag="h", hs=1, torrc="hs.tmpl")
  6. # We need 5 authorities/relays/exits to ensure we can build HS connections
  7. NODES = Authority.getN(2) + ExitRelay.getN(3) + \
  8. Client.getN(1) + HS.getN(1)
  9. ConfigureNodes(NODES)