Skip to content

Instantly share code, notes, and snippets.

@StrangeTcy
Created September 21, 2023 17:12
Show Gist options
  • Save StrangeTcy/591fd9635b79b27e3d9c4a1b5dc783af to your computer and use it in GitHub Desktop.
Save StrangeTcy/591fd9635b79b27e3d9c4a1b5dc783af to your computer and use it in GitHub Desktop.
tor_relay
#!/ur/bin/bash
sudo apt install apt-transport-https
echo "deb https://deb.torproject.org/torproject.org jammy main" | sudo tee -a /etc/apt/sources.list
echo "deb-src https://deb.torproject.org/torproject.org jammy main" | sudo tee -a /etc/apt/sources.list
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
sudo apt -f install
sudo apt update
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo apt install tor deb.torproject.org-keyring
tor -f /content/drive/My\ Drive/torrc_relay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment