Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.45 KB

README.md

File metadata and controls

50 lines (39 loc) · 1.45 KB

Torpod

This Dockerfile sets up a secure docker container, creates a single username and is anonymously accessible from the tor network. To use this container you'll need to have Docker installed on your system. The connecting client needs to have the following packages:

  • tor
  • torify (included in tor package)
  • torsocks

Install the required packages:

# Debian based systems:
$ sudo apt install tor torsocks --yes

# Arch based systems:
$ sudo pacman -S tor torsocks --noconfirm

# Redhad / Centos
$ dnf install epel-release
$ dnf install tor 

Usage:

# Clone this repository:
$ git clone https://github.com/insidious-security/torpod.git

# Change to torpod directory:
$ cd torpod/

# Change the username and password in the Dockerfile.
line 8: RUN echo "username:changeme" | chpasswd

# Build and run the container:
$ docker build -t torpod:latest .
$ docker run --name torpod -dit torpod:latest

# Check the container status:
$ docker ps -a

# Get the onion hostname:
$ docker exec torpod cat /var/lib/tor/onion-ssh/hostname

# Connecting:    
# Make sure tor.service is running on your connecting client..    
$ torify ssh sidious@owhfjwncoiwncoewncowencojwncoic.this.is.an.example.address.onion