← 返回命令列表

Linux command

torify 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Route

torify [command]

Toggle

torify [on|off]

Example

torify --shell

Check

torify show

Example

torify -c [config-file] [command]

Example

torify -P [proxy] [command]

说明

torify routes network traffic from applications through the Tor anonymity network. It wraps commands to redirect their network connections through Tor's SOCKS proxy. Note: This command has been deprecated and is now a backwards-compatible wrapper for torsocks. New scripts should use torsocks directly.

参数

--shell
Spawn a new Tor-enabled shell
on|off
Toggle Tor routing in current shell
show
Check if current shell is Tor-enabled
-c _FILE_
Use specified Tor configuration file
-P _PROXY_
Use specified SOCKS proxy

FAQ

What is the torify command used for?

torify routes network traffic from applications through the Tor anonymity network. It wraps commands to redirect their network connections through Tor's SOCKS proxy. Note: This command has been deprecated and is now a backwards-compatible wrapper for torsocks. New scripts should use torsocks directly.

How do I run a basic torify example?

Run `torify [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --shell do in torify?

Spawn a new Tor-enabled shell