Skip to content

bariskisir/HiddenServiceReverseProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HiddenServiceReverseProxy

HiddenServiceReverseProxy is a reverse proxy that help you host applications on tor network with docker.

Single usage

docker run -e HIDDEN_SERVICE_DIR="/var/lib/tor/hidden_service/" -e HIDDEN_SERVICE_PORT="80 192.168.1.10:80" --name hiddenservicereverseproxy bariskisir/hiddenservicereverseproxy

Docker compose

version: '3.4'

services:

  web:
    image: nginx
    networks: 
      - network01
    restart: always

  hiddenservice:
    image: bariskisir/hiddenservicereverseproxy
    environment: 
      HIDDEN_SERVICE_DIR: /var/lib/tor/hidden_service/
      HIDDEN_SERVICE_PORT: 80 web:80
    networks: 
      - network01
    restart: always

networks:
    network01:
      driver: bridge

Getting the domain from container

docker exec hiddenservicereverseproxy cat /var/lib/tor/hidden_service/hostname

(Option 1) Testing with Brave Browser

Brave Browser

(Option 2) Testing with tor browser

Create tor browser on docker

docker run -d --name torbrowser -p 5800:5800 domistyle/tor-browser

Navigate http://localhost:5800

Dockerhub

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published