Skip to content

Starts Tor project on ClientOnly mode and exposes a SOCKS port for client use.

License

Notifications You must be signed in to change notification settings

consatan/docker_tor_clientonly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Supported tags and respective Dockerfile links

Docker Tor project

Dockerfile to install Tor project, running as a SOCKS5 server on port 9050. It's running on ClientOnly mode.

Install

Pull from Docker repository

$ docker pull consatan/tor

Building from Dockerfile

$ git clone https://github.com/consatan/docker_tor_clientonly
$ cd docker_tor_clientonly
$ docker build . -t consatan/tor

How to use

Run

$ docker run -d --name tor_instance -p 127.0.0.1:9050:9050 consatan/tor

Proxy

# return your external ip
$ curl http://httpbin.org/ip
# return exit node ip
$ curl -x socks5h://127.0.0.1:9050 http://httpbin.org/ip

View log

$ docker log tor_instance

Stop

$ docker stop tor_instance

Reference

About

Starts Tor project on ClientOnly mode and exposes a SOCKS port for client use.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published