2022-08-20 16:59:49 +00:00
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-08-31 05:21:29 +00:00
|
|
|
"type": "tor",
|
|
|
|
"tag": "tor-out",
|
|
|
|
|
|
|
|
"executable_path": "/usr/bin/tor",
|
|
|
|
"extra_args": [],
|
|
|
|
"data_directory": "$HOME/.cache/tor",
|
|
|
|
"torrc": {
|
|
|
|
"ClientOnly": 1
|
|
|
|
},
|
|
|
|
|
|
|
|
... // Dial Fields
|
2022-08-20 16:59:49 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
!!! info ""
|
|
|
|
|
2023-12-03 06:53:22 +00:00
|
|
|
Embedded Tor is not included by default, see [Installation](/installation/build-from-source/#build-tags).
|
2022-08-20 16:59:49 +00:00
|
|
|
|
2022-08-31 05:21:29 +00:00
|
|
|
### Fields
|
2022-08-20 16:59:49 +00:00
|
|
|
|
|
|
|
#### executable_path
|
|
|
|
|
|
|
|
The path to the Tor executable.
|
|
|
|
|
|
|
|
Embedded Tor will be ignored if set.
|
|
|
|
|
|
|
|
#### extra_args
|
|
|
|
|
|
|
|
List of extra arguments passed to the Tor instance when started.
|
|
|
|
|
|
|
|
#### data_directory
|
|
|
|
|
|
|
|
==Recommended==
|
|
|
|
|
|
|
|
The data directory of Tor.
|
|
|
|
|
|
|
|
Each start will be very slow if not specified.
|
|
|
|
|
|
|
|
#### torrc
|
|
|
|
|
|
|
|
Map of torrc options.
|
|
|
|
|
2022-08-31 05:21:29 +00:00
|
|
|
See [tor(1)](https://linux.die.net/man/1/tor) for details.
|
2022-08-20 16:59:49 +00:00
|
|
|
|
|
|
|
### Dial Fields
|
|
|
|
|
2023-12-14 14:23:52 +00:00
|
|
|
See [Dial Fields](/configuration/shared/dial/) for details.
|