Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Eval EXEC <execvy@gmail.com>
  • Loading branch information
eval-exec committed Sep 23, 2024
1 parent 7ac793b commit 2b88239
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/tor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,21 @@

1. make sure tor server is running and listening. (By default tor will listening on port 9050 )

You can get a default torrc file by searching `--torrc-file` in `man tor`, it will tell you where the default torrc file location in your OS.

```
-f, --torrc-file FILE
Specify a new configuration file to contain further Tor configuration options, or pass - to make
Tor read its configuration from standard input. (Default:
/nix/store/gacp048mx3m4q48gl5rlspw2j33328v4-tor-0.4.8.11/etc/tor/torrc, or $HOME/.torrc if that
file is not found.)
```
You may need start tor service by your owned `torrc`

```bash
# Start tor service
tor
tor -f /path/to/your/torrc

```
Check tor is listening on 9050:

Expand Down Expand Up @@ -48,5 +60,8 @@ curl -x socks5h://127.0.0.1:9050 https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfi
curl -x socks5h://127.0.0.1:9050 -s https://check.torproject.org/api/ip

```
TODO: get bridge from https://bridges.torproject.org/options

Config `UseBridges` `ClientTransportPlugin` related config in `torrc` file.

4. view tor's log (may need to enable more verbose log in tor's torrc config file)

0 comments on commit 2b88239

Please sign in to comment.