Skip to content

palnabarun/tor-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tor Proxy

This is a simple and lightweight Docker image for running a Tor proxy.

The base image used is alpine.

Usage

It is pretty simple to run and has some sane defaults.

$ docker run \
    --rm \
    --detach \
    --name tor \
    --publish 9050:9050 \ # change the port to whatever you put in the torrc
    palnabarun/tor
...

The Tor proxy would be coming up shortly after establishing a Tor circuit.

If you want to customize the Tor configuration, create a torrc locally and the mount the same as a volume.

$ docker run \
    --rm \
    --detach \
    --name tor \
    --volume $PWD/torrc:/etc/tor/torrc
    --publish 9050:9050 \ # change the port to whatever you put in the torrc
    palnabarun/tor
...

The options in torrc are documented here

Contributing

Please feel free to create issues and file PRs with any change that you wish to see.

License

The repository is licensed under GPLv3.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published