Skip to content

3xploitGuy/torwebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tor-logo

What is TorWebsite?

A container to host website on Tor hidden service with .onion address. Tor is free software and an open network that helps you defend against traffic analysis, enabling anonymous communication. ".onion" is a special-use top level domain name designating a "hidden service" on the Dark Web, reachable via the Tor network/accessed via the Tor browser.

Container Image: View on DockerHub

How to use this image

Run container:

docker container run -it --name <container_name> sandeshy/torwebsite:latest

container-start-image

Note: To exit from running container without stopping press ctrl+p+q.

Check your .onion addresss

torhost

torhost-cmd-image

Open the address in tor browser:

tor-browser-image

Attach volume, overrides default HTML template:

docker container run -it --name <container_name> \
       -v </some/path/on/hostOS>:/var/www/hidden_service \
       sandeshy/torwebsite:latest

Configs:

* Tor config - /etc/tor/torrc
* Nginx config - /etc/nginx/http.d/nginx.conf

Logs:

/var/log/nginx

Gotcha/Q&A

Will I get new .onion address each time?
Onion address is generated for each new container, if you are using the same container it won't change ever.

Are any ports exposed?
No, tor is running inside container which connects to Network using Virtual Ethernet.

How much time it takes for website to get live?
5-8 seconds with normal Internet Speed. If your connectivity is weak, try waiting for few mins till Tor picks some relay as introduction point and adds new entry in Distributed Hash Table (DHT). More info here.

Underlying services ?

rc-service tor status
rc-service nginx status

Disclaimer

TorWebsite is created to make hosting website on Tor easy and it's not responsible for any misuse or illegal purposes.

Feel free to discuss any issue or new feature at GitHub Discussions.

License

TorWebsite is under the terms of the GNU General Public License.