Skip to content

Instantly share code, notes, and snippets.

@UlisesGascon
Last active August 13, 2019 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UlisesGascon/9374b41b39063ff0272acc67012a608b to your computer and use it in GitHub Desktop.
Save UlisesGascon/9374b41b39063ff0272acc67012a608b to your computer and use it in GitHub Desktop.
Montar un servidor remoto con TOR en Digital Ocean

Montar un servidor remoto con TOR en Digital Ocean

  1. Iniciamos un droplet Normal con Ubuntu
  2. Conectamos con nuestro Droplet por SSH
  3. Instalamos tor
# Verificamos la versión de Ubuntu
# lsb_release -c or cat /etc/debian_version
# Pasos para Ubuntu 18.04 (Bionic)

# You need to add the following entries to /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:
# Usaremos nano y añadiremos:
deb https://deb.torproject.org/torproject.org bionic main
deb-src https://deb.torproject.org/torproject.org bionic main

# Then add the gpg key used to sign the packages by running the following commands at your command prompt:

curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -

# We provide a Debian package to help you keep our signing key current.
apt update
apt install tor deb.torproject.org-keyring
  1. Verificamos la conexión
curl  https://check.torproject.org #Inseguro
curl https://ipinfo.io/ip # Ip pública de salida
 
curl --socks5-hostname localhost:9050 https://check.torproject.org #Torificado
curl --socks5-hostname localhost:9050 https://ipinfo.io/ip # Ip de tu node de salida
# Verificar en: https://metrics.torproject.org/rs.html#search/{{IP}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment