First Commmit
This commit is contained in:
51
docs/configuration/outbound/tor.zh.md
Normal file
51
docs/configuration/outbound/tor.zh.md
Normal file
@@ -0,0 +1,51 @@
|
||||
### 结构
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "tor",
|
||||
"tag": "tor-out",
|
||||
|
||||
"executable_path": "/usr/bin/tor",
|
||||
"extra_args": [],
|
||||
"data_directory": "$HOME/.cache/tor",
|
||||
"torrc": {
|
||||
"ClientOnly": 1
|
||||
},
|
||||
|
||||
... // 拨号字段
|
||||
}
|
||||
```
|
||||
|
||||
!!! info ""
|
||||
|
||||
默认安装不包含嵌入式 Tor, 参阅 [安装](/zh/installation/build-from-source/#构建标记)。
|
||||
|
||||
### 字段
|
||||
|
||||
#### executable_path
|
||||
|
||||
Tor 可执行文件路径
|
||||
|
||||
如果设置,将覆盖嵌入式 Tor。
|
||||
|
||||
#### extra_args
|
||||
|
||||
启动 Tor 时传递的附加参数列表。
|
||||
|
||||
#### data_directory
|
||||
|
||||
==推荐==
|
||||
|
||||
Tor 的数据目录。
|
||||
|
||||
如未设置,每次启动都需要长时间。
|
||||
|
||||
#### torrc
|
||||
|
||||
torrc 参数表。
|
||||
|
||||
参阅 [tor(1)](https://linux.die.net/man/1/tor)。
|
||||
|
||||
### 拨号字段
|
||||
|
||||
参阅 [拨号字段](/zh/configuration/shared/dial/)。
|
||||
Reference in New Issue
Block a user