tor, torify: add pages (#12810)

pull/28/head
eshedruf 2024-05-21 15:18:30 +03:00 committed by GitHub
parent 5208143cdc
commit df15d6636a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 68 additions and 0 deletions

36
pages/linux/tor.md Normal file
View File

@ -0,0 +1,36 @@
# tor
> Enable anonymous communication through the Tor network.
> More information: <https://manned.org/man/tor>.
- Connect to the Tor network:
`tor`
- Start a Tor relay:
`tor --relay`
- View Tor configuration:
`tor --config`
- Check Tor status:
`tor --status`
- Run as client only:
`tor --client`
- Run as relay:
`tor --relay`
- Run as bridge:
`tor --bridge`
- Run as a hidden service:
`tor --hidden-service`

32
pages/linux/torify.md Normal file
View File

@ -0,0 +1,32 @@
# torify
> Route network traffic through the Tor network.
> More information: <https://manned.org/man/torify>.
- Route traffic via Tor:
`torify {{command}}`
- Toggle Tor in shell:
`torify {{on|off}}`
- Spawn a Tor-enabled shell:
`torify --shell`
- Check for a Tor-enabled shell:
`torify show`
- Specify Tor configuration file:
`torify -c {{config-file}} {{command}}`
- Use a specific Tor SOCKS proxy:
`torify -P {{proxy}} {{command}}`
- Redirect output to a file:
`torify {{command}} > {{path/to/output}}`