searx: added traffic route through tor

tor can be used with searx to route
all search traffic through it.
Added a paragraph in the searx site and
added the docker-image used.
master
TiynGER 4 years ago
parent b8bd177138
commit d26f015a1d

@ -0,0 +1,37 @@
# dperson - torproxy
The container and documentation was made by [dperson](https://hub.docker.com/r/dperson/torproxy).
## Volumes
Set the following volumes with the -v tag.
| Volume-Name | Container mount | Description |
| ----------- | --------------- | -------------------------- |
| `tor_var` | `/var/lib/tor` | Location for various files |
| `tor_etc` | `/etc/tor` | Various other config |
## Ports
Set the following ports with the -p tag.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | -------- | ------------------- |
| `8118` | `8118` | TCP | privoxy web proxy |
| `9050` | `9050` | TCP | socks protocol port |
## Rebuild
```shell
#!/bin/sh
docker stop tor-proxy
docker rm tor-proxy
docker pull dperson/torproxy:latest
docker run --name tor-proxy \
--restart unless-stopped \
-p 8118:8118 \
-p 9050:9050 \
-v tor_var:/var/lib/tor \
-v tor_etc:/etc/tor \
-d dperson/torproxy
```

@ -12,3 +12,15 @@ Add Searx as a new search engine for firefox and set it as main search for the
address bar as described in [the Firefox article](./firefox.md). address bar as described in [the Firefox article](./firefox.md).
Follow the addon part of the guide and put searx with Follow the addon part of the guide and put searx with
`<url to searx instance>/search?q=%s` as search string. `<url to searx instance>/search?q=%s` as search string.
## Route search traffic through tor
You can setup a torproxy with [the dperson image](./docker-images/dperson_-_torproxy.md).
In the `settings.yml` file locate the section for `proxies :` and
change it to the following:
```txt
proxies :
http : socks5://<path to torproxy server>:9050
https: socks5://<path to torproxy server>:9050
```

@ -0,0 +1,9 @@
# Tor
[Tor](https://www.torproject.org/) is a free and open source software for anonymous
communication via internet traffic.
## Tor proxy
A tor proxy can be used to access `.onion` sites or to anonymize traffic.
It can be set up using [docker](./docker-images/dperson_-_torproxy.md).
Loading…
Cancel
Save