Where is the torrc file - Building from the source

Hi I am doing some testing by modifying tor source code and I wanted to ask where was the torrc configuration file? I would like to activate the ControlPort

The torrc file is typically located in /etc/tor/torrc on Linux systems if you installed Tor from a package. If you’re building :building_construction: from source, you can create your own torrc file or find it in the directory you specify during the configuration. You can activate the ControlPort by adding the line ControlPort 9051 to your torrc file.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.