mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 18:01:22 +02:00
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.
This commit is contained in:
37
wiki/docker-images/dperson_-_torproxy.md
Normal file
37
wiki/docker-images/dperson_-_torproxy.md
Normal file
@@ -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
|
||||
```
|
Reference in New Issue
Block a user