First step: Prepare your Tor relay to handle a large number of connections. There are a number of optimisations you can do...