Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freedomofpress/container-onion-service
https://github.com/freedomofpress/container-onion-service
containers k8s tor
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/freedomofpress/container-onion-service
- Owner: freedomofpress
- Created: 2020-07-28T22:09:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-12T21:27:35.000Z (about 1 year ago)
- Last Synced: 2023-11-12T22:25:50.393Z (about 1 year ago)
- Topics: containers, k8s, tor
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Onion Service
To run, set the following (here are some example values, fill in the
`<...>`):TOR_ONION_NAME=myservice
TOR_ONION_HOSTNAME=.onion
TOR_ONION_V3_PUBLIC_KEY=
TOR_ONION_V3_SECRET_KEY=
TOR_ONION_REMOTE_PORT=80
WEB_FRONTEND_HOST=nginx.internal
WEB_FRONTEND_PORT=8000## Client authentication
To enable client authentication (which will prevent all clients without
a key from accessing the service), mount some `*.auth` files into
`/authorized_clients` when running the container.## Generating a key and hidden service name
To create new service names and their associated keys, run:
docker build -t onion-service.local .
docker run --rm --entrypoint gen-service-keypair onion-service.local## Generating a client auth key
To generate a new client keypair (you can pass any number of service
names):./gen-client-keypair .onion