Skip to content

Anonymously accessible linux server running in docker

License

Notifications You must be signed in to change notification settings

insidious-security/torpod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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