I have added these lines to torrc file (as describled on Tor's site):

ORPort 443
Exitpolicy reject *:*
Nickname ididntedittheconfig
ContactInfo human@...

But after that i cannot start Tor anymore... the only way to start it again is remove the above lines from the torrc file.

  • ExitPolicy reject *:* You have mistyped?
    – Alexey Vesnin
    Commented Apr 10, 2016 at 22:39
  • As @RichardHorrocks wrote --verify-config is quite helpful. Could you provide us with the output of this option? It might give a hint what exactly went wrong here.
    – Jens Kubieziel
    Commented Apr 11, 2016 at 10:54
  • Ah. So before the edit by @JensKubieziel, I hadn't noticed that the : (colon) had been italicized in the original text of the question, meaning that the * characters - which had been included in his config - had been interpreted as mark-up by SE. When I ran the test noted in my answer, I missed out the * characters. I'll edit my answer once the OP has responded further. Commented Apr 11, 2016 at 11:40
  • @JensKubieziel everything he posted is fine except ExitPolicy syntax - so WTF an answer deletion was that? And - converting my answer with astersisks before and after ":" (colon) - you've removed it and made it read wrong. WTF, man?
    – Alexey Vesnin
    Commented Apr 11, 2016 at 12:49
  • @AlexeyVesnin You made the same mistake as the OP. If you put code into backticks it will show the asterisks, with asterisks only it will be treated as italic text.
    – Jens Kubieziel
    Commented Apr 11, 2016 at 13:26

1 Answer 1


You can verify the config that Tor is using by passing it the --verify-config flag on the command line:

tor --verify-config

This should help give you some idea as to which line is wrong.

Substituting your lines into my config file and running the above command shows that Alexey's answer is correct:

Apr 11 09:39:13.779 [warn] Couldn't parse line ":". Dropping
Apr 11 09:39:13.779 [warn] Malformed policy 'reject :'.
Apr 11 09:39:13.779 [warn] Failed to parse/validate config: Error in ExitPolicy entry.
  • Dea Richard, how do i pass the verify config flag? On which command line? Please note that i use windows...
    – user92752
    Commented Apr 11, 2016 at 22:53
  • Okay, on Windows you'll need to open the command line by running cmd in the Run box. (Is that what it's called?) Then you'll need to find the directory where tor.exe is stored, and start it with the flag: C:\<path_to_exe>\tor.exe --verify-config. Commented Apr 12, 2016 at 16:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .