Skip to content

Instantly share code, notes, and snippets.

@JoseCarTorBel
Created March 3, 2021 14:40
Show Gist options
  • Save JoseCarTorBel/34a7135f39bbb019789522423781d482 to your computer and use it in GitHub Desktop.
Save JoseCarTorBel/34a7135f39bbb019789522423781d482 to your computer and use it in GitHub Desktop.
Create TOR server
## Antes de nada:
## Instalar tor y un servidor apache
sudo apt-get install tor apache2
—------------------
## Te haces administrador
sudo su
## Manejo configuración TOR
nano /etc/tor/torrc
## Descomentas las siguientes linieas:
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
## Inicias servicios como root
service apache2 start
service tor start
## Para ver el hostname:
cd /var/lib/tor/hidden_service
cat hostname
## Y YA TIENES TU HOST TOR EN MARCHA!!!!! Y DISPONIBLE EN CUALQUIER LUGAR
#### DATOS DE INTERÉS::
## -Para cambiar de host tan solo tiene que que borrar el fichero hostname y reiniciar tor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment