I tried to run tor in command line by running

service tor start

After seeing this message

 * Starting tor daemon...                                                [ OK ] 

I tried to start "obfsproxy managed" but this error occurs:

pyptlib.config.EnvError: neither TOR_PT_{SERVER,CLIENT}_TRANSPORTS set

I used


to set the variable but after that other errors occur.

Should I set all these variables manually? Isn't there any mechanism to set them automatically?


obfsproxy should be setup inside of torrc if you wish to use it with tor, it shouldn't be executed seperately. The managed flag indicates that the opening process will be "managing" it, in this case the opening process is your shell and it's not providing the required configuration parameters.

The process for adding obfs3 bridges is outlined in this answer: How to add obfs3 bridges in torrc?

  • thanks. so what happens if i do not set this flag?
    – Shi.Bi
    Jun 18 '16 at 6:37
  • i wanna run obfsproxy for developing issues. should i follow the same instruction?
    – Shi.Bi
    Jun 18 '16 at 6:38
  • If you want to play around and experiment with Pluggable Transports then this is probably the document for you: gitweb.torproject.org/torspec.git/tree/pt-spec.txt
    – cacahuatl
    Jun 18 '16 at 22:29
  • yes thats it. thankyou :)
    – Shi.Bi
    Jun 21 '16 at 5:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.