basic 418 B

12345678910
  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. # We need 8 authorities/relays/exits to ensure at least 2 get the guard flag
  6. # in 0.2.6
  7. NODES = Authority.getN(3) + ExitRelay.getN(5) + Client.getN(2)
  8. ConfigureNodes(NODES)