GithubHelp home page GithubHelp logo

neuralnoise / tor-hidden-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from purplebooth/tor-hidden-service

0.0 2.0 0.0 9 KB

Simple Tor container to make a service available over tor.

License: MIT License

Dockerfile 70.73% Shell 29.27%

tor-hidden-service's Introduction

Tor Hidden Service Docker Container

Simple container to make a service available over tor. This is not a minimal container, rather being built onto of Ubuntu xenial so we can use the official packages and repository for tor.

Running

export PRIVATE_KEY=$(cat private_key)
export HOSTNAME=$(cat hostname)
docker-compose up

Then connect to your service through tor. You'll see a hello world message if it has worked.

Using docker-compose in production probably isn't advisable. You probably want to use Deis, Kubernetes, Docker Swarm or similar to deploy it for real.

Environment Variables

  • TOR_PORT=80 Port to expose the service on inside tor
  • SERVICE_URI=your-service:80 URI for tor to connect to the service on
  • HOSTNAME=eesh4eeChiepitee5rai.onion Your services hostname
  • PRIVATE_KEY=-----BEGIN RSA PRIVATE KEY-----... The private key. Can be multiline.

Parameters

None required.

If you provide any it'll run them, so:

$ docker run tor-container echo 1234
1234

Ports

All the magic happens in the tor service, so no ports are exposed.

License

See LICENSE.md

tor-hidden-service's People

Contributors

purplebooth avatar

Watchers

James Cloos avatar Starbuck avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.