ExitRelay 0 and/or ExitPolicy reject *:*
to prevent being an exit.
I don't know that you can prevent yourself from getting the Guard flag and being a guard.
https://www.torproject.org/docs/tor-manual.html.en https://www.torproject.org/docs/tor-relay-debian.html.en
Matt
On 9/16/16 10:22, Jim Electro House wrote:
Hi to all! I'm running a non-exit relay and I'd like to configure it to run *only* as a middle relay. Do you know which conf should I add on my torrc file?
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays