github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/outbound/tor.md (about)

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "tor",
     6    "tag": "tor-out",
     7    
     8    "executable_path": "/usr/bin/tor",
     9    "extra_args": [],
    10    "data_directory": "$HOME/.cache/tor",
    11    "torrc": {
    12      "ClientOnly": 1
    13    },
    14  
    15    ... // Dial Fields
    16  }
    17  ```
    18  
    19  !!! info ""
    20  
    21      Embedded tor is not included by default, see [Installation](/#installation).
    22  
    23  ### Fields
    24  
    25  #### executable_path
    26  
    27  The path to the Tor executable.
    28  
    29  Embedded Tor will be ignored if set.
    30  
    31  #### extra_args
    32  
    33  List of extra arguments passed to the Tor instance when started.
    34  
    35  #### data_directory
    36  
    37  ==Recommended==
    38  
    39  The data directory of Tor.
    40  
    41  Each start will be very slow if not specified.
    42  
    43  #### torrc
    44  
    45  Map of torrc options.
    46  
    47  See [tor(1)](https://linux.die.net/man/1/tor) for details.
    48  
    49  ### Dial Fields
    50  
    51  See [Dial Fields](/configuration/shared/dial) for details.